summaryrefslogtreecommitdiff
path: root/tb/top/test_smp.py
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-11-15 19:10:34 -0600
committerAlejandro Soto <alejandro@34project.org>2023-11-16 16:43:59 -0600
commit87a42e555bf952047e287f4c7810cd538595d5af (patch)
treed08db58fc3484bae6d63e5b2d69e66bf8c11cf95 /tb/top/test_smp.py
parentba803067cb54edece9ffa8b92f9bb97317d082e5 (diff)
rtl/smp: implement SMP dead/alive handling
Diffstat (limited to 'tb/top/test_smp.py')
-rw-r--r--tb/top/test_smp.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tb/top/test_smp.py b/tb/top/test_smp.py
index a3cb61f..b7903ce 100644
--- a/tb/top/test_smp.py
+++ b/tb/top/test_smp.py
@@ -9,6 +9,11 @@ from tb.models import CorePaceModel, SmpModel
async def bring_up(dut):
await cocotb.start(Clock(dut.clk, 2).start())
+ dut.cpu_alive_0.value = 1
+ dut.cpu_alive_1.value = 1
+ dut.cpu_alive_2.value = 1
+ dut.cpu_alive_3.value = 1
+
dut.rst_n.value = 1
await Timer(1)
dut.rst_n.value = 0