OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [rtl/] [verilog/] [include/] [or1200_defines.v] - Diff between revs 462 and 476

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 462 Rev 476
Line 160... Line 160...
// Size/type of insn/data cache if implemented
// Size/type of insn/data cache if implemented
// (consider available FPGA memory resources)
// (consider available FPGA memory resources)
//
//
//`define OR1200_IC_1W_512B
//`define OR1200_IC_1W_512B
//`define OR1200_IC_1W_4KB
//`define OR1200_IC_1W_4KB
`define OR1200_IC_1W_8KB
//`define OR1200_IC_1W_8KB
 
`define OR1200_IC_1W_16KB
//`define OR1200_DC_1W_4KB
//`define OR1200_DC_1W_4KB
`define OR1200_DC_1W_8KB
//`define OR1200_DC_1W_8KB
 
`define OR1200_DC_1W_16KB
 
 
`endif
`endif
 
 
 
 
//////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////
Line 1247... Line 1249...
`define OR1200_ICINDXH                  `OR1200_ICSIZE-1        // 12
`define OR1200_ICINDXH                  `OR1200_ICSIZE-1        // 12
`define OR1200_ICTAGL                   `OR1200_ICINDXH+1       // 13
`define OR1200_ICTAGL                   `OR1200_ICINDXH+1       // 13
`define OR1200_ICTAG                    `OR1200_ICSIZE-`OR1200_ICLS     // 9
`define OR1200_ICTAG                    `OR1200_ICSIZE-`OR1200_ICLS     // 9
`define OR1200_ICTAG_W                  20
`define OR1200_ICTAG_W                  20
`endif
`endif
 
`ifdef OR1200_IC_1W_16KB
 
`define OR1200_ICSIZE                   14                      // 16384
 
`define OR1200_ICINDX                   `OR1200_ICSIZE-2        // 12
 
`define OR1200_ICINDXH                  `OR1200_ICSIZE-1        // 13
 
`define OR1200_ICTAGL                   `OR1200_ICINDXH+1       // 14
 
`define OR1200_ICTAG                    `OR1200_ICSIZE-`OR1200_ICLS     // 10
 
`define OR1200_ICTAG_W                  19
 
`endif
 
 
 
 
/////////////////////////////////////////////////
/////////////////////////////////////////////////
//
//
// Data cache (DC)
// Data cache (DC)
Line 1295... Line 1305...
`define OR1200_DCINDXH                  `OR1200_DCSIZE-1        // 12
`define OR1200_DCINDXH                  `OR1200_DCSIZE-1        // 12
`define OR1200_DCTAGL                   `OR1200_DCINDXH+1       // 13
`define OR1200_DCTAGL                   `OR1200_DCINDXH+1       // 13
`define OR1200_DCTAG                    `OR1200_DCSIZE-`OR1200_DCLS     // 9
`define OR1200_DCTAG                    `OR1200_DCSIZE-`OR1200_DCLS     // 9
`define OR1200_DCTAG_W                  20
`define OR1200_DCTAG_W                  20
`endif
`endif
 
`ifdef OR1200_DC_1W_16KB
 
`define OR1200_DCSIZE                   14                      // 16384
 
`define OR1200_DCINDX                   `OR1200_DCSIZE-2        // 12
 
`define OR1200_DCINDXH                  `OR1200_DCSIZE-1        // 13
 
`define OR1200_DCTAGL                   `OR1200_DCINDXH+1       // 14
 
`define OR1200_DCTAG                    `OR1200_DCSIZE-`OR1200_DCLS     // 10
 
`define OR1200_DCTAG_W                  19
 
`endif
 
 
 
 
/////////////////////////////////////////////////
/////////////////////////////////////////////////
//
//
// Store buffer (SB)
// Store buffer (SB)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.