From 0aae6901e36dd925735da01582dba18d7af79a21 Mon Sep 17 00:00:00 2001 From: "brice.boisson" Date: Fri, 26 Jan 2024 16:12:22 +0100 Subject: [PATCH] Add: test PC --- tb/tb_module_program_counter.v | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tb/tb_module_program_counter.v b/tb/tb_module_program_counter.v index db9ce99..7fafbbb 100644 --- a/tb/tb_module_program_counter.v +++ b/tb/tb_module_program_counter.v @@ -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