diff options
| author | Friedrich Beckmann <friedrich.beckmann@tha.de> | 2026-03-28 15:51:26 +0100 |
|---|---|---|
| committer | Friedrich Beckmann <friedrich.beckmann@tha.de> | 2026-03-28 15:51:26 +0100 |
| commit | 61f71ec79f5f326b86d2dc73a1b880d454dca36e (patch) | |
| tree | 12d99c99c2c6cc4505769b4ee5cb1a7b737a7e0b /top_count/src/Config.scala | |
| parent | b60a75cf4e8d6660e38bf15d9257c342c2d1aa97 (diff) | |
Diffstat (limited to 'top_count/src/Config.scala')
| -rw-r--r-- | top_count/src/Config.scala | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/top_count/src/Config.scala b/top_count/src/Config.scala new file mode 100644 index 0000000..c498303 --- /dev/null +++ b/top_count/src/Config.scala @@ -0,0 +1,17 @@ +package top_count + +import spinal.core._ +import spinal.core.sim._ + +object Config { + def spinal = SpinalConfig( + targetDirectory = sys.props.getOrElse("spinalTargetDir", "top_count/gen"), + defaultConfigForClockDomains = ClockDomainConfig( + resetKind = ASYNC, + resetActiveLevel = LOW + ), + onlyStdLogicVectorAtTopLevelIo = false + ) + + def sim = SimConfig.withGhdl.withConfig(spinal).withFstWave +} |
