mirror of https://github.com/efabless/caravel.git
IO[0] affects the uart selecting btw system and debug
This commit is contained in:
parent
fca511f306
commit
b31efbdeea
|
@ -66,6 +66,7 @@ async def uart_rx(dut):
|
|||
cpu.cpu_force_reset()
|
||||
cpu.cpu_release_reset()
|
||||
cocotb.log.info(f"[TEST] Start uart test")
|
||||
caravelEnv.drive_gpio_in((0,0),0) # IO[0] affects the uart selecting btw system and debug
|
||||
caravelEnv.drive_gpio_in((5,5),1)
|
||||
# calculate bit time
|
||||
clk = clock.period/1000
|
||||
|
|
Loading…
Reference in New Issue