Add: test PC
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user