Line 9... |
Line 9... |
|
|
License: LGPL 3.0 or later
|
License: LGPL 3.0 or later
|
|
|
Router configuration header file for SDM routers.
|
Router configuration header file for SDM routers.
|
|
|
|
Possible configuration combinations:
|
|
* Wormhole (set VCN to 1)
|
|
ENABLE_EOF [ENABLE_CHANNEL_SLICING] [ENABLE_LOOKAHEAD]
|
|
* SDM (set VCN > 1 without define ENABLE_CLOS)
|
|
ENABLE_EOF [ENABLE_CHANNEL_SLICING] [ENABLE_LOOKAHEAD] [ENABLE_MRMA]
|
|
* SDM-Clos (set VCN > 1 and define ENABLE_CLOS)
|
|
ENABLE_EOF ENABLE_CLOS [ENABLE_CHANNEL_SLICING] [ENABLE_LOOKAHEAD] [ENABLE_CRRD [ENABLE_MRMA]]
|
|
|
|
The combinations not presented above are illegal, which may produce unexpected failures.
|
|
|
History:
|
History:
|
20/09/2009 Initial version. <wsong83@gmail.com>
|
20/09/2009 Initial version. <wsong83@gmail.com>
|
23/05/2011 Clean up for opensource. <wsong83@gmail.com>
|
23/05/2011 Clean up for opensource. <wsong83@gmail.com>
|
|
26/05/2011 Add ENABLE_MRMA and configuration explanations. <wsong83@gmail.com>
|
|
|
*/
|
*/
|
|
|
// if VCN > 1, set ENABLE_CLOS to use the 2-stage Clos switch for less switching area
|
// if VCN > 1, set ENABLE_CLOS to use the 2-stage Clos switch for less switching area
|
`define ENABLE_CLOS
|
// `define ENABLE_CLOS
|
|
|
// Using the asynchronous virsion of the Concurrent round-robine dispatching
|
// Using the asynchronous virsion of the Concurrent round-robine dispatching
|
// algorithm for the 2-stage Clos can save some area but introduce a 5%
|
// algorithm for the 2-stage Clos can save some area but introduce a 5%
|
// throughput loss
|
// throughput loss
|
// `define ENABLE_CRRD
|
// `define ENABLE_CRRD
|
Line 29... |
Line 40... |
// algorithm, using the multi-resource match arbiter may save the area in
|
// algorithm, using the multi-resource match arbiter may save the area in
|
// switch allocators
|
// switch allocators
|
// `define ENABLE_MRMA
|
// `define ENABLE_MRMA
|
|
|
// set to enable channel slicing for fast data paths
|
// set to enable channel slicing for fast data paths
|
`define ENABLE_CHANNEL_SLICING
|
// `define ENABLE_CHANNEL_SLICING
|
|
|
// set to use the early acknowledge of lokkahead pipelines in the critical cycle
|
// set to use the early acknowledge of lokkahead pipelines in the critical cycle
|
`define ENABLE_LOOKAHEAD
|
// `define ENABLE_LOOKAHEAD
|
|
|
// always set in wormhole and SDM routers to enable the eof bit in data pipeline stages
|
// always set in wormhole and SDM routers to enable the eof bit in data pipeline stages
|
`define ENABLE_EOF
|
`define ENABLE_EOF
|
|
|
No newline at end of file
|
No newline at end of file
|