-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
104 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ | |
// | ||
// Tim Fischer <[email protected]> | ||
|
||
`include "floo_noc/typedef.svh" | ||
|
||
package floo_test_pkg; | ||
|
||
typedef enum { | ||
|
@@ -12,4 +14,30 @@ package floo_test_pkg; | |
MixedSlave | ||
} slave_type_e; | ||
|
||
// System parameters | ||
localparam int unsigned NumX = 4; | ||
localparam int unsigned NumY = 4; | ||
|
||
// Router parameters | ||
localparam int unsigned NumRoutes = 5; | ||
localparam int unsigned ChannelFifoDepth = 2; | ||
localparam int unsigned OutputFifoDepth = 2; | ||
|
||
// Chimney parameters | ||
localparam bit CutAx = 1'b1; | ||
localparam bit CutRsp = 1'b0; | ||
localparam int unsigned MaxTxnsPerId = 16; | ||
localparam bit RoBSimple = 1'b0; | ||
localparam int unsigned ReorderBufferSize = 32'd64; | ||
|
||
// Narrow Wide Chimney parameters | ||
localparam bit NarrowRoBSimple = 1'b1; | ||
localparam int unsigned NarrowMaxTxnsPerId = 4; | ||
localparam int unsigned NarrowReorderBufferSize = 32'd256; | ||
localparam bit WideRoBSimple = 1'b0; | ||
localparam int unsigned WideMaxTxnsPerId = 32; | ||
localparam int unsigned WideReorderBufferSize = 32'd128; | ||
|
||
`FLOO_NOC_TYPEDEF_XY_ID_T(xy_id_t, NumX, NumY) | ||
|
||
endpackage |