Line 9... |
Line 9... |
//// ////
|
//// ////
|
//// Downloaded from: http://www.opencores.org/cores/mem_ctrl/ ////
|
//// Downloaded from: http://www.opencores.org/cores/mem_ctrl/ ////
|
//// ////
|
//// ////
|
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
//// ////
|
//// ////
|
//// Copyright (C) 2000 Rudolf Usselmann ////
|
//// Copyright (C) 2000-2002 Rudolf Usselmann ////
|
|
//// www.asics.ws ////
|
//// rudi@asics.ws ////
|
//// rudi@asics.ws ////
|
//// ////
|
//// ////
|
//// This source file may be used and distributed without ////
|
//// This source file may be used and distributed without ////
|
//// restriction provided that this copyright statement is not ////
|
//// restriction provided that this copyright statement is not ////
|
//// removed from the file and that any derivative work contains ////
|
//// removed from the file and that any derivative work contains ////
|
Line 35... |
Line 36... |
//// ////
|
//// ////
|
/////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////
|
|
|
// CVS Log
|
// CVS Log
|
//
|
//
|
// $Id: mc_defines.v,v 1.6 2001-12-12 06:35:15 rudi Exp $
|
// $Id: mc_defines.v,v 1.7 2002-01-21 13:08:52 rudi Exp $
|
//
|
//
|
// $Date: 2001-12-12 06:35:15 $
|
// $Date: 2002-01-21 13:08:52 $
|
// $Revision: 1.6 $
|
// $Revision: 1.7 $
|
// $Author: rudi $
|
// $Author: rudi $
|
// $Locker: $
|
// $Locker: $
|
// $State: Exp $
|
// $State: Exp $
|
//
|
//
|
// Change History:
|
// Change History:
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.6 2001/12/12 06:35:15 rudi
|
|
// *** empty log message ***
|
|
//
|
// Revision 1.5 2001/12/11 02:47:19 rudi
|
// Revision 1.5 2001/12/11 02:47:19 rudi
|
//
|
//
|
// - Made some changes not to expect clock during reset ...
|
// - Made some changes not to expect clock during reset ...
|
//
|
//
|
// Revision 1.4 2001/11/29 02:16:28 rudi
|
// Revision 1.4 2001/11/29 02:16:28 rudi
|
Line 109... |
Line 113... |
//
|
//
|
// This define selects how the WISHBONE interface determines if
|
// This define selects how the WISHBONE interface determines if
|
// the internal register file is selected.
|
// the internal register file is selected.
|
// This should be a simple address decoder. "wb_addr_i" is the
|
// This should be a simple address decoder. "wb_addr_i" is the
|
// WISHBONE address bus (32 bits wide).
|
// WISHBONE address bus (32 bits wide).
|
//`define MC_REG_SEL (wb_addr_i[31:29] == 3'h6)
|
|
`define MC_REG_SEL (wb_addr_i[31:29] == 3'b011)
|
`define MC_REG_SEL (wb_addr_i[31:29] == 3'b011)
|
|
|
// This define selects how the WISHBONE interface determines if
|
// This define selects how the WISHBONE interface determines if
|
// the memory is selected.
|
// the memory is selected.
|
// This should be a simple address decoder. "wb_addr_i" is the
|
// This should be a simple address decoder. "wb_addr_i" is the
|
Line 124... |
Line 127... |
//
|
//
|
// This are the default Power-On Reset values for Chip Select
|
// This are the default Power-On Reset values for Chip Select
|
//
|
//
|
|
|
// This will be defined by the run script for my test bench ...
|
// This will be defined by the run script for my test bench ...
|
|
// Alternatively force here for synthesis ...
|
//`define RUDIS_TB 1
|
//`define RUDIS_TB 1
|
|
|
// Defines which chip select is used for Power On booting
|
// Defines which chip select is used for Power On booting
|
|
|
// To run my default testbench default boot CS must be 3 !!!
|
// To run my default testbench default boot CS must be 3 !!!
|