修改测试方案

This commit is contained in:
2025-09-07 07:37:34 +08:00
parent 3678b24318
commit 1958f196f5
12 changed files with 75 additions and 50 deletions

View File

@@ -191,7 +191,7 @@ def __GenDevice(id, TerminateNode = False, diffclk = False):
multiclk = "multiCLK2"
code_device = ("\tShinTop s_ShinTop_slv%d(\n"%(id, )
+"\t.clock(clock),\n"
+"\t.clock(%s),\n"%(clk, )
+"\t.reset(reset | isSoftReset_reg[%d]),\n\n"%(id + 1,)
+"\t.io_multiCLK_0(%s[0]),\n"%(multiclk, )
@@ -238,7 +238,7 @@ def __GenDevice(id, TerminateNode = False, diffclk = False):
+"\t.io_latchPin_0(latch0),\n"
+"\t.io_latchPin_1(latch1),\n"
+"\t.io_hwSerial(`HW_SERIAL),\n"
+"\t.io_uniCode(0)\n"
+"\t.io_uniCode(64'h0)\n"
+"\t);\n\n\n"
)
return code_device