diff --git a/hw/efinix_fpga/simulation/tbs/interrupt_controller_code_tb.sv b/hw/efinix_fpga/simulation/tbs/interrupt_controller_code_tb.sv index 337a17b..791b6bc 100644 --- a/hw/efinix_fpga/simulation/tbs/interrupt_controller_code_tb.sv +++ b/hw/efinix_fpga/simulation/tbs/interrupt_controller_code_tb.sv @@ -21,11 +21,11 @@ always begin end initial begin - u_sim_top.u_dut.int_in = 0; + // u_sim_top.u_dut.w_int_in = 0; repeat (2400) @(posedge u_sim_top.r_clk_cpu); for (int i = 0; i < 256; i++) begin repeat (100) @(posedge u_sim_top.r_clk_cpu); - u_sim_top.u_dut.int_in = 1 << i; + force u_sim_top.u_dut.u_interrupt_controller.int_in = 1 << i; $display("Activiating interrupt %d", i); end end