From b03844d9ac45afd1af88b773ab724a101dbdf9f8 Mon Sep 17 00:00:00 2001 From: "colin.liang" Date: Tue, 17 Jan 2023 13:01:41 +0800 Subject: [PATCH] remove irq in testbench. --- testbench_wb.v | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/testbench_wb.v b/testbench_wb.v index 5812a04..d1aa41d 100644 --- a/testbench_wb.v +++ b/testbench_wb.v @@ -9,18 +9,11 @@ module picorv32_wrapper #( input [1024:0] hex_file ); wire exit; - reg [31:0] irq = 0; wire mem_instr; reg [15:0] count_cycle = 0; always @(posedge wb_clk) count_cycle <= !wb_rst ? count_cycle + 1 : 0; - always @* begin - irq = 0; - irq[4] = &count_cycle[12:0]; - irq[5] = &count_cycle[15:0]; - end - wire [31:0] wb_m2s_adr; wire [31:0] wb_m2s_dat; wire [3:0] wb_m2s_sel; @@ -33,7 +26,6 @@ module picorv32_wrapper #( picorv32_wb #() uut ( .trap(trap), .exit(exit), - .irq(irq), .mem_instr(mem_instr), .wb_clk_i(wb_clk), @@ -71,10 +63,6 @@ module picorv32_wb #( input wb_rst_i, input wb_clk_i, - // IRQ interface - input [31:0] irq, - output [31:0] eoi, - output mem_instr ); wire mem_valid;