Line 61... |
Line 61... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.10 2001/12/11 08:55:40 mohor
|
|
// Scratch register define added.
|
|
//
|
// Revision 1.9 2001/12/03 21:44:29 gorban
|
// Revision 1.9 2001/12/03 21:44:29 gorban
|
// Updated specification documentation.
|
// Updated specification documentation.
|
// Added full 32-bit data bus interface, now as default.
|
// Added full 32-bit data bus interface, now as default.
|
// Address is 5-bit wide in 32-bit data bus mode.
|
// Address is 5-bit wide in 32-bit data bus mode.
|
// Added wb_sel_i input to the core. It's used in the 32-bit mode.
|
// Added wb_sel_i input to the core. It's used in the 32-bit mode.
|
Line 109... |
Line 112... |
// remove comments to restore use to the old version with 8 data bit interface
|
// remove comments to restore use to the old version with 8 data bit interface
|
// in new mode (32bit bus), the wb_sel_i signal is used to pus data in correct place
|
// in new mode (32bit bus), the wb_sel_i signal is used to pus data in correct place
|
// also, in 8-bit version there'll be no debugging features included
|
// also, in 8-bit version there'll be no debugging features included
|
// `define DATA_BUS_WIDTH_8
|
// `define DATA_BUS_WIDTH_8
|
|
|
|
`define BIG_BYTE_ENDIAN // Defines endian
|
|
|
`ifdef DATA_BUS_WIDTH_8
|
`ifdef DATA_BUS_WIDTH_8
|
`define UART_ADDR_WIDTH 3
|
`define UART_ADDR_WIDTH 3
|
`define UART_DATA_WIDTH 8
|
`define UART_DATA_WIDTH 8
|
`else
|
`else
|
`define UART_ADDR_WIDTH 5
|
`define UART_ADDR_WIDTH 5
|