mirror of https://github.com/efabless/caravel.git
fix bug at mgmt_gpio_out by increasing the number of phases
This commit is contained in:
parent
79f26f6b38
commit
e945c3b882
|
@ -19,7 +19,7 @@ async def mgmt_gpio_out(dut):
|
|||
cpu.cpu_force_reset()
|
||||
cpu.cpu_release_reset()
|
||||
cocotb.log.info(f"[TEST] Start mgmt_gpio_out test")
|
||||
phases_fails = 2
|
||||
phases_fails = 3
|
||||
phases_passes = 0
|
||||
reg1 =0 # buffer
|
||||
reg2 = 0 #buffer
|
||||
|
@ -50,6 +50,7 @@ async def mgmt_gpio_out(dut):
|
|||
await ClockCycles(caravelEnv.clk,10)
|
||||
cocotb.log.info("[TEST] passing sending {reg1} blinks ")
|
||||
phases_fails -=1
|
||||
phases_passes +=1
|
||||
await ClockCycles(caravelEnv.clk,10)
|
||||
|
||||
if phases_fails != 0:
|
||||
|
|
Loading…
Reference in New Issue