Line 42... |
Line 42... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.6 2002/01/19 14:10:22 lampret
|
|
// Fixed OR1200_XILINX_RAM32X1D.
|
|
//
|
// Revision 1.5 2002/01/18 07:56:00 lampret
|
// Revision 1.5 2002/01/18 07:56:00 lampret
|
// No more low/high priority interrupts (PICPR removed). Added tick timer exception. Added exception prefix (SR[EPH]). Fixed single-step bug whenreading NPC.
|
// No more low/high priority interrupts (PICPR removed). Added tick timer exception. Added exception prefix (SR[EPH]). Fixed single-step bug whenreading NPC.
|
//
|
//
|
// Revision 1.4 2002/01/14 09:44:12 lampret
|
// Revision 1.4 2002/01/14 09:44:12 lampret
|
// Default ASIC configuration does not sample WB inputs.
|
// Default ASIC configuration does not sample WB inputs.
|
Line 177... |
Line 180... |
//`define OR1200_REGISTERED_INPUTS
|
//`define OR1200_REGISTERED_INPUTS
|
|
|
//
|
//
|
// Select between ASIC optimized and generic multiplier
|
// Select between ASIC optimized and generic multiplier
|
//
|
//
|
`define OR1200_ASIC_MULTP2_32X32
|
//`define OR1200_ASIC_MULTP2_32X32
|
//`define OR1200_GENERIC_MULTP2_32X32
|
`define OR1200_GENERIC_MULTP2_32X32
|
|
|
//
|
//
|
// Size/type of insn/data cache if implemented
|
// Size/type of insn/data cache if implemented
|
//
|
//
|
// `define OR1200_IC_1W_4KB
|
// `define OR1200_IC_1W_4KB
|
Line 309... |
Line 312... |
|
|
//
|
//
|
// ALUOPs
|
// ALUOPs
|
//
|
//
|
`define OR1200_ALUOP_WIDTH 4
|
`define OR1200_ALUOP_WIDTH 4
|
`define OR1200_ALUOP_NOP 4'd0
|
`define OR1200_ALUOP_NOP 4'd4
|
/* Order defined by arith insns that have two source operands both in regs
|
/* Order defined by arith insns that have two source operands both in regs
|
(see binutils/include/opcode/or32.h) */
|
(see binutils/include/opcode/or32.h) */
|
`define OR1200_ALUOP_ADD 4'd0
|
`define OR1200_ALUOP_ADD 4'd0
|
`define OR1200_ALUOP_ADDC 4'd1
|
`define OR1200_ALUOP_ADDC 4'd1
|
`define OR1200_ALUOP_SUB 4'd2
|
`define OR1200_ALUOP_SUB 4'd2
|
Line 1068... |
Line 1071... |
//
|
//
|
|
|
// 3 for 8 bytes, 4 for 16 bytes etc
|
// 3 for 8 bytes, 4 for 16 bytes etc
|
`define OR1200_DCLS 4
|
`define OR1200_DCLS 4
|
|
|
|
// Define to perform store refill (potential performance penalty)
|
|
// `define OR1200_DC_STORE_REFILL
|
|
|
//
|
//
|
// DC configurations
|
// DC configurations
|
//
|
//
|
`ifdef OR1200_DC_1W_4KB
|
`ifdef OR1200_DC_1W_4KB
|
`define OR1200_DCSIZE 12 // 4096
|
`define OR1200_DCSIZE 12 // 4096
|