URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 504 |
Rev 869 |
Line 42... |
Line 42... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.1 2002/01/03 08:16:15 lampret
|
|
// New prefixes for RTL files, prefixed module names. Updated cache controllers and MMUs.
|
|
//
|
// Revision 1.13 2001/11/20 18:46:15 simons
|
// Revision 1.13 2001/11/20 18:46:15 simons
|
// Break point bug fixed
|
// Break point bug fixed
|
//
|
//
|
// Revision 1.12 2001/11/13 10:02:21 lampret
|
// Revision 1.12 2001/11/13 10:02:21 lampret
|
// Added 'setpc'. Renamed some signals (except_flushpipe into flushpipe etc)
|
// Added 'setpc'. Renamed some signals (except_flushpipe into flushpipe etc)
|
Line 295... |
Line 298... |
.do_b()
|
.do_b()
|
);
|
);
|
|
|
`else
|
`else
|
|
|
|
`ifdef OR1200_RFRAM_DUALPORT
|
|
|
//
|
//
|
// Instantiation of register file two-port RAM A
|
// Instantiation of register file two-port RAM A
|
//
|
//
|
or1200_dpram_32x32 rf_a(
|
or1200_dpram_32x32 rf_a(
|
// Port A
|
// Port A
|
Line 337... |
Line 342... |
.we_b(rf_we),
|
.we_b(rf_we),
|
.addr_b(rf_addrw),
|
.addr_b(rf_addrw),
|
.di_b(rf_dataw)
|
.di_b(rf_dataw)
|
);
|
);
|
|
|
|
`else
|
|
|
|
//
|
|
// Instantiation of generic (flip-flop based) register file
|
|
//
|
|
or1200_rfram_generic rf_a(
|
|
// Clock and reset
|
|
.clk(clk),
|
|
.rst(rst),
|
|
|
|
// Port A
|
|
.ce_a(rf_ena),
|
|
.addr_a(rf_addra),
|
|
.do_a(from_rfa),
|
|
|
|
// Port B
|
|
.ce_b(rf_enb),
|
|
.addr_b(addrb),
|
|
.do_b(from_rfb),
|
|
|
|
// Port W
|
|
.ce_w(rf_we),
|
|
.we_w(rf_we),
|
|
.addr_w(rf_addrw),
|
|
.di_w(rf_dataw)
|
|
);
|
|
|
|
`endif
|
`endif
|
`endif
|
|
|
endmodule
|
endmodule
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.