Line 42... |
Line 42... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.15 2002/06/08 16:20:21 lampret
|
|
// Added defines for enabling generic FF based memory macro for register file.
|
|
//
|
// Revision 1.14 2002/03/29 16:24:06 lampret
|
// Revision 1.14 2002/03/29 16:24:06 lampret
|
// Changed comment about synopsys to _synopsys_ because synthesis was complaining about unknown directives
|
// Changed comment about synopsys to _synopsys_ because synthesis was complaining about unknown directives
|
//
|
//
|
// Revision 1.13 2002/03/29 15:16:55 lampret
|
// Revision 1.13 2002/03/29 15:16:55 lampret
|
// Some of the warnings fixed.
|
// Some of the warnings fixed.
|
Line 229... |
Line 232... |
//
|
//
|
// Target FPGA memories
|
// Target FPGA memories
|
//
|
//
|
`define OR1200_XILINX_RAMB4
|
`define OR1200_XILINX_RAMB4
|
//`define OR1200_XILINX_RAM32X1D
|
//`define OR1200_XILINX_RAM32X1D
|
|
//`define OR1200_USE_RAM16X1D_FOR_RAM32X1D
|
|
|
//
|
//
|
// Do not implement Data cache
|
// Do not implement Data cache
|
//
|
//
|
//`define OR1200_NO_DC
|
//`define OR1200_NO_DC
|
Line 286... |
Line 290... |
//
|
//
|
// Do not change below unless you know what you are doing
|
// Do not change below unless you know what you are doing
|
//
|
//
|
|
|
//
|
//
|
|
// Disable bursts if they are not supported by the
|
|
// memory subsystem (only affect cache line fill)
|
|
//
|
|
//`define OR1200_NO_BURSTS
|
|
//
|
|
|
|
//
|
// Enable additional synthesis directives if using
|
// Enable additional synthesis directives if using
|
// _Synopsys_ synthesis tool
|
// _Synopsys_ synthesis tool
|
//
|
//
|
//`define OR1200_ADDITIONAL_SYNOPSYS_DIRECTIVES
|
//`define OR1200_ADDITIONAL_SYNOPSYS_DIRECTIVES
|
|
|
Line 856... |
Line 867... |
//
|
//
|
|
|
// Define it if you want DU implemented
|
// Define it if you want DU implemented
|
`define OR1200_DU_IMPLEMENTED
|
`define OR1200_DU_IMPLEMENTED
|
|
|
|
// Define if you want trace buffer
|
|
// (for now only available for Xilinx Virtex FPGAs)
|
|
`define OR1200_DU_TB_IMPLEMENTED
|
|
|
// Address offsets of DU registers inside DU group
|
// Address offsets of DU registers inside DU group
|
`define OR1200_DU_OFS_DMR1 5'd16
|
`define OR1200_DU_OFS_DMR1 11'd16
|
`define OR1200_DU_OFS_DMR2 5'd17
|
`define OR1200_DU_OFS_DMR2 11'd17
|
`define OR1200_DU_OFS_DSR 5'd20
|
`define OR1200_DU_OFS_DSR 11'd20
|
`define OR1200_DU_OFS_DRR 5'd21
|
`define OR1200_DU_OFS_DRR 11'd21
|
|
`define OR1200_DU_OFS_TBADR 11'h00ff
|
|
`define OR1200_DU_OFS_TBIA 11'h01xx
|
|
`define OR1200_DU_OFS_TBIM 11'h02xx
|
|
`define OR1200_DU_OFS_TBAR 11'h03xx
|
|
`define OR1200_DU_OFS_TBTS 11'h10xx
|
|
|
// Position of offset bits inside SPR address
|
// Position of offset bits inside SPR address
|
`define OR1200_DUOFS_BITS 4:0
|
`define OR1200_DUOFS_BITS 10:0
|
|
|
// Define if you want these DU registers to be implemented
|
// Define if you want these DU registers to be implemented
|
`define OR1200_DU_DMR1
|
`define OR1200_DU_DMR1
|
`define OR1200_DU_DMR2
|
`define OR1200_DU_DMR2
|
`define OR1200_DU_DSR
|
`define OR1200_DU_DSR
|