-
Notifications
You must be signed in to change notification settings - Fork 8
Bump Snitch cluster to latest revision #81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -127,6 +127,8 @@ ExtClusters | |
| localparam doub_bt MemIslRegionStart = 64'h4800_0000; | ||
| localparam doub_bt MemIslRegionEnd = 64'h4804_0000; | ||
|
|
||
| // Size of memory island: MemIslNumWideBanks * MemIslNarrowToWideFactor * MemIslWordsPerBank * <BytesPerWord> | ||
| // with BytesPerWord = cfg.AxiDataWidth / 8 | ||
| localparam aw_bt MemIslAxiMstIdWidth = 1; | ||
| localparam byte_bt MemIslNarrowToWideFactor = 4; | ||
| localparam byte_bt MemIslNarrowPorts = 1; | ||
|
|
@@ -146,6 +148,12 @@ ExtClusters | |
| localparam int unsigned LogDepth = 3; | ||
| localparam int unsigned SyncStages = 3; | ||
|
|
||
| // ------------ | ||
| // | TCDM | | ||
| // ------------ | ||
| localparam doub_bt TcdmSize = 128; | ||
| localparam aw_bt TcdmAddrWidth = $clog2(TcdmSize * 1024); | ||
|
|
||
|
Comment on lines
+151
to
+156
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These parameters are not related to the SoC. but are mainly related to the cluster. Maybe it might make sense to move them somewhere else? Also we are not using the external TCDM ports, so I think that actually those parameters can be removed in general and when instantiating the Snitch cluster we don't specify them and use the default types. |
||
| // ------------------- | ||
| // | Generate Cfg | | ||
| // -------------------- | ||
|
|
@@ -173,7 +181,7 @@ ExtClusters | |
| // AXI CFG | ||
| cfg.AxiMstIdWidth = 2; | ||
| cfg.AxiDataWidth = 32; | ||
| cfg.AddrWidth = 32; | ||
| cfg.AddrWidth = 48; | ||
| cfg.LlcOutRegionEnd = 'hFFFF_FFFF; | ||
|
|
||
| cfg.AxiExtNumWideMst = $countones(ChimeraClusterCfg.hasWideMasterPort); | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In general, since we are not using the new ports, we can avoid generating intermediate types. If we do not specify the type at the interface, the default types will be used. Then we can simply leave the port unconnected, as you already did.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, I agree it would be cleaner the way you suggest. However, I've tried not defining the I don't think we can avoid defining
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. okay, then it makes sense to open an issue on Snitch. |
Uh oh!
There was an error while loading. Please reload this page.