-
Notifications
You must be signed in to change notification settings - Fork 678
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
40 changed files
with
370 additions
and
151 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
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ dependencies: | |
- bison | ||
- flex | ||
- expat | ||
- python>=3.9 | ||
- python>=3.9,<3.11 | ||
- bc | ||
- unzip | ||
- patch | ||
|
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "firtool-1.66.0" | ||
"version": "firtool-1.75.0" | ||
} |
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
Submodule boom
updated
15 files
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
34 changes: 34 additions & 0 deletions
34
generators/chipyard/src/main/scala/config/ClockingConfigs.scala
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package chipyard | ||
|
||
import org.chipsalliance.cde.config.{Config} | ||
import freechips.rocketchip.diplomacy._ | ||
import freechips.rocketchip.subsystem.{MBUS, SBUS} | ||
import testchipip.soc.{OBUS} | ||
|
||
//================================================== | ||
// This file contains examples of the different ways | ||
// clocks can be generated for chiypard designs | ||
//================================================== | ||
|
||
// The default constructs IOs for all requested clocks in the chiptopClockGroupsNode | ||
// Note: This is what designs inheriting from AbstractConfig do by default | ||
class DefaultClockingRocketConfig extends Config( | ||
new chipyard.clocking.WithPassthroughClockGenerator ++ | ||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ | ||
new chipyard.config.AbstractConfig) | ||
|
||
// This is a more physically realistic approach, normally we can't punch out a separate | ||
// pin for each clock domain. The standard "test chip" approach is to punch a few slow clock | ||
// inputs, integrate a PLL, and generate an array of selectors/dividers to configure the | ||
// clocks for each domain. See the source for WithPLLSelectorDividerClockGenerator for more info | ||
class ChipLikeClockingRocketConfig extends Config( | ||
new chipyard.clocking.WithPLLSelectorDividerClockGenerator ++ | ||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ | ||
new chipyard.config.AbstractConfig) | ||
|
||
// This merges all the clock domains in chiptopClockGroupsNode into one, then generates a single | ||
// clock input pin. | ||
class SingleClockBroadcastRocketConfig extends Config( | ||
new chipyard.clocking.WithSingleClockBroadcastClockGenerator ++ | ||
new freechips.rocketchip.subsystem.WithNBigCores(1) ++ | ||
new chipyard.config.AbstractConfig) |
Oops, something went wrong.