1.增加测试用例;2.增加自动生成从站数量的代码,可更改成任意的从站数量

This commit is contained in:
2025-08-25 00:32:52 +08:00
parent 1ea82ab72c
commit b7f5fe5749
6 changed files with 450 additions and 12 deletions

View File

@@ -69,6 +69,8 @@ def watchdog_test_sm_wr_timeout(tc_id, wd_id):
+genIFRwDataCode(1, 0x400, True, 4, [0xff, 0xff, 0xff, 0xff])
+genIFRwDataCode(1, 0x400, False, 0x04)
+genIFRwDataCode(1, 0x300 + slave_sm_id * 4, True, 1, [0, ])
+"#800000\n"
+genIFRwDataCode(1, 0x400, False, 0x04)
+genTcEndFrameCode(gen_file_def))
genPkt.gen("./generated/shin/%s.vh"%(gen_file_def, ), 1)