Line 42... |
Line 42... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.34 2003/04/20 22:23:57 lampret
|
|
// No functional change. Only added customization for exception vectors.
|
|
//
|
// Revision 1.33 2003/04/07 20:56:07 lampret
|
// Revision 1.33 2003/04/07 20:56:07 lampret
|
// Fixed OR1200_CLKDIV_x_SUPPORTED defines. Better description.
|
// Fixed OR1200_CLKDIV_x_SUPPORTED defines. Better description.
|
//
|
//
|
// Revision 1.32 2003/04/07 01:26:57 lampret
|
// Revision 1.32 2003/04/07 01:26:57 lampret
|
// RFRAM defines comments updated. Altera LPM option added.
|
// RFRAM defines comments updated. Altera LPM option added.
|
Line 450... |
Line 453... |
//
|
//
|
// By default divide instructions are not implemented
|
// By default divide instructions are not implemented
|
// to save area and increase clock frequency. or32 C/C++
|
// to save area and increase clock frequency. or32 C/C++
|
// compiler can use soft library for division.
|
// compiler can use soft library for division.
|
//
|
//
|
|
// To implement divide, multiplier needs to be implemented.
|
|
//
|
//`define OR1200_IMPL_DIV
|
//`define OR1200_IMPL_DIV
|
|
|
//
|
//
|
// Implement rotate in the ALU
|
// Implement rotate in the ALU
|
//
|
//
|
Line 478... |
Line 483... |
//
|
//
|
//`define OR1200_IMPL_ALU_COMP1
|
//`define OR1200_IMPL_ALU_COMP1
|
`define OR1200_IMPL_ALU_COMP2
|
`define OR1200_IMPL_ALU_COMP2
|
|
|
//
|
//
|
// Select between low-power (larger) multiplier or faster multiplier
|
// Implement multiplier
|
|
//
|
|
// By default multiplier is implemented
|
|
//
|
|
`define OR1200_MULT_IMPLEMENTED
|
|
|
|
//
|
|
// Implement multiply-and-accumulate
|
|
//
|
|
// By default MAC is implemented. To
|
|
// implement MAC, multiplier needs to be
|
|
// implemented.
|
|
//
|
|
`define OR1200_MAC_IMPLEMENTED
|
|
|
|
//
|
|
// Low power, slower multiplier
|
|
//
|
|
// Select between low-power (larger) multiplier
|
|
// and faster multiplier. The actual difference
|
|
// is only AND logic that prevents distribution
|
|
// of operands into the multiplier when instruction
|
|
// in execution is not multiply instruction
|
//
|
//
|
//`define OR1200_LOWPWR_MULT
|
//`define OR1200_LOWPWR_MULT
|
|
|
//
|
//
|
// Clock ratio RISC clock versus WB clock
|
// Clock ratio RISC clock versus WB clock
|