Add: test PC

This commit is contained in:
brice.boisson 2024-01-26 16:12:22 +01:00
parent 699b643466
commit 0aae6901e3
1 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,11 @@ module tb_module_program_counter ();
#10
reset = 1'b0;
`assert_no_wait("module_program_counter is_jmp: 0, is_branch: 0, alu_not: 0, alu_out: 0, imm: 0", addr, 0)
#2
`assert_no_wait("module_program_counter is_jmp: 0, is_branch: 0, alu_not: 0, alu_out: 0, imm: 0", addr, 4)
#2
`assert_no_wait("module_program_counter is_jmp: 0, is_branch: 0, alu_not: 0, alu_out: 0, imm: 0", addr, 8)
`end_message
end