Line 16... |
Line 16... |
// You should have received a copy of the GNU General Public
|
// You should have received a copy of the GNU General Public
|
// License along with this work; if not, write to the Free Software
|
// License along with this work; if not, write to the Free Software
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
//
|
//
|
// ========== Copyright Header End ============================================
|
// ========== Copyright Header End ============================================
|
|
`ifdef SIMPLY_RISC_TWEAKS
|
|
`define SIMPLY_RISC_SCANIN .si(0)
|
|
`else
|
|
`define SIMPLY_RISC_SCANIN .si()
|
|
`endif
|
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
/*
|
/*
|
// Module Name: lsu_dcache_lfsr
|
// Module Name: lsu_dcache_lfsr
|
*/
|
*/
|
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
Line 70... |
Line 75... |
q_next = q;
|
q_next = q;
|
end // always @ (...
|
end // always @ (...
|
|
|
assign out = {q[0], q[2]};
|
assign out = {q[0], q[2]};
|
|
|
dff #(5) lfsr_reg(.din (q_next),
|
dff_s #(5) lfsr_reg(.din (q_next),
|
.q (q),
|
.q (q),
|
.clk (clk), .se(se), .si(), .so());
|
.clk (clk), .se(se), `SIMPLY_RISC_SCANIN, .so());
|
|
|
endmodule // lsu_dcache_lfsr
|
endmodule // lsu_dcache_lfsr
|
|
|
|
|
|
|