mirror of
https://github.com/YosysHQ/picorv32.git
synced 2025-01-03 03:43:38 -05:00
Fix initialization of "irq" in verilog testbench
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
881f928e05
commit
3f9b5048bc
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ module picorv32_wrapper #(
|
|||
output [35:0] trace_data
|
||||
);
|
||||
wire tests_passed;
|
||||
reg [31:0] irq;
|
||||
reg [31:0] irq = 0;
|
||||
|
||||
reg [15:0] count_cycle = 0;
|
||||
always @(posedge clk) count_cycle <= resetn ? count_cycle + 1 : 0;
|
||||
|
|
|
@ -65,7 +65,7 @@ module picorv32_wrapper #(
|
|||
output [35:0] trace_data
|
||||
);
|
||||
wire tests_passed;
|
||||
reg [31:0] irq;
|
||||
reg [31:0] irq = 0;
|
||||
wire mem_instr;
|
||||
|
||||
reg [15:0] count_cycle = 0;
|
||||
|
|
Loading…
Reference in a new issue