Skip to content

Commit

Permalink
Merge pull request #581 from davideschiavone/fix_rand_interrupt_gen
Browse files Browse the repository at this point in the history
🐛 fix trigger function of random interrupt generator
  • Loading branch information
davideschiavone authored Nov 16, 2020
2 parents d922d0f + 75f83bb commit 83aaecc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions example_tb/core/cv32e40p_random_interrupt_generator.sv
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,6 @@ begin

// build irq monitor word
irq_pc_trig_lines.irq_software = 1'b1;

// irq monitor word: update logic
while(~irq_lines_changed) begin
@(posedge clk_i);
irq_lines <= irq_lines_i;
end

irq_pc_trig_lines.irq_software = irq_lines_i [3];
irq_pc_trig_lines.irq_timer = irq_lines_i [7];
irq_pc_trig_lines.irq_external = irq_lines_i [11];
irq_pc_trig_lines.irq_fast = irq_lines_i [31:16];
Expand Down

0 comments on commit 83aaecc

Please sign in to comment.