1
0
mirror of https://github.com/olofk/serv.git synced 2026-05-02 06:35:15 +00:00

Remove redundant bufreg_loop control signal

This commit is contained in:
Olof Kindgren
2020-12-22 22:04:53 +01:00
parent c9f41b54e8
commit a960fd768b
4 changed files with 1 additions and 10 deletions

View File

@@ -5,7 +5,6 @@ module serv_bufreg
input wire i_cnt1,
input wire i_en,
input wire i_init,
input wire i_loop,
input wire i_rs1,
input wire i_rs1_en,
input wire i_imm,
@@ -28,7 +27,7 @@ module serv_bufreg
c_r <= c & i_en;
if (i_en)
data <= {(i_loop & !i_init) ? o_q : q, data[31:1]};
data <= {i_init ? q : o_q, data[31:1]};
if (i_cnt0 & i_init)
o_lsb[0] <= q;