修改测试方案
This commit is contained in:
@@ -2484,6 +2484,11 @@ def tc29():
|
||||
genPkt.addBeforeExc(genTcStartFrameCode(gen_file_def, tc_des)
|
||||
+genMessageCode("--清除中断")
|
||||
+genIFRwDataCode(0, 0x78, True, 4, [0xff, 0xff, 0xff, 0xff])
|
||||
|
||||
+genIFRwDataCode(1, 0x180, True, 128, list(range(128)))
|
||||
+genIFRwDataCode(2, 0x180, True, 128, list(range(4, 128 + 4)))
|
||||
+genIFRwDataCode(3, 0x180, True, 128, list(range(8, 128 + 8)))
|
||||
+genIFRwDataCode(4, 0x180, True, 128, list(range(16, 128 + 16)))
|
||||
)
|
||||
|
||||
genPkt.addAfterExc(genWriteTransLenCode(gen_file_def, sm_idx)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user