Line 41... |
Line 41... |
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
//
|
//
|
// CVS Revision History
|
// CVS Revision History
|
//
|
//
|
// $Log: not supported by cvs2svn $
|
// $Log: not supported by cvs2svn $
|
|
// Revision 1.4 2005/10/27 17:20:50 jcastillo
|
|
// Supports two RAM banks by Jacob Bower
|
|
//
|
// Revision 1.3 2005/09/16 00:39:03 jcastillo
|
// Revision 1.3 2005/09/16 00:39:03 jcastillo
|
// no message
|
// no message
|
//
|
//
|
// Revision 1.2 2005/05/26 12:25:01 jcastillo
|
// Revision 1.2 2005/05/26 12:25:01 jcastillo
|
// Added support for ethernet chip
|
// Added support for ethernet chip
|
Line 61... |
Line 64... |
|
|
//
|
//
|
// Platform description
|
// Platform description
|
//
|
//
|
`define APP_INT_UART 2
|
`define APP_INT_UART 2
|
|
`define APP_INT_ETH 4
|
`define APP_ADDR_DEC_W 8
|
`define APP_ADDR_DEC_W 8
|
`define APP_ADDR_SRAM `APP_ADDR_DEC_W'h00
|
`define APP_ADDR_SRAM `APP_ADDR_DEC_W'h00
|
`define APP_ADDR_FLASH `APP_ADDR_DEC_W'hf0
|
`define APP_ADDR_FLASH `APP_ADDR_DEC_W'hf0
|
`define APP_ADDR_DECP_W 4
|
`define APP_ADDR_DECP_W 4
|
`define APP_ADDR_PERIP `APP_ADDR_DEC_W'h9
|
`define APP_ADDR_PERIP `APP_ADDR_DEC_W'h9
|
Line 96... |
Line 100... |
jtag_tdo,
|
jtag_tdo,
|
|
|
//Ethernet ports
|
//Ethernet ports
|
eth_nREAD,eth_nWRITE,
|
eth_nREAD,eth_nWRITE,
|
eth_address,eth_data,
|
eth_address,eth_data,
|
eth_nBE,eth_reset
|
eth_nBE,eth_reset,eth_int
|
|
|
);
|
);
|
|
|
parameter dw = `OR1200_OPERAND_WIDTH;
|
parameter dw = `OR1200_OPERAND_WIDTH;
|
parameter aw = `OR1200_OPERAND_WIDTH;
|
parameter aw = `OR1200_OPERAND_WIDTH;
|
Line 138... |
Line 142... |
output eth_nWRITE;
|
output eth_nWRITE;
|
output [2:0] eth_address;
|
output [2:0] eth_address;
|
inout [15:0] eth_data; //INOUT
|
inout [15:0] eth_data; //INOUT
|
output [1:0] eth_nBE;
|
output [1:0] eth_nBE;
|
output eth_reset;
|
output eth_reset;
|
|
input eth_int;
|
|
|
assign sram_clk0=clk;
|
assign sram_clk0=clk;
|
assign sram_clk1=clk;
|
assign sram_clk1=clk;
|
|
|
|
assign pic_ints[`APP_INT_ETH]=eth_int;
|
|
|
//Declaring signals
|
//Declaring signals
|
wire [1:0] clmode; // 00 WB=RISC, 01 WB=RISC/2, 10 N/A, 11 WB=RISC/4
|
wire [1:0] clmode; // 00 WB=RISC, 01 WB=RISC/2, 10 N/A, 11 WB=RISC/4
|
wire [ppic_ints-1:0] pic_ints;
|
wire [ppic_ints-1:0] pic_ints;
|
|
|
//
|
//
|