Commit c701e7ca authored by Tristan Gingold's avatar Tristan Gingold

Minor clean-up.

parent 44d69a62
......@@ -95,7 +95,6 @@ module urv_cpu
// F->D stage interface
wire [31:0] f2d_pc, f2d_ir;
wire f2d_ir_valid;
wire f2d_valid;
// D->RF interface
......
......@@ -115,17 +115,16 @@ module urv_fetch
end
else if(dbg_mode)
begin
// Default: insn not valid
f_valid_o <= 0;
if (x_dbg_toggle)
begin
// Leave debug mode immediately.
dbg_mode <= 0;
f_valid_o <= 0;
// pipeline_cnt must be 0.
end
else
begin
// Use instruction from the debug port.
f_ir_o <= dbg_insn_i;
f_valid_o <= 1;
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment