diff options
| author | Friedrich Beckmann <friedrich.beckmann@tha.de> | 2026-03-28 07:59:30 +0100 |
|---|---|---|
| committer | Friedrich Beckmann <friedrich.beckmann@tha.de> | 2026-03-28 07:59:30 +0100 |
| commit | 9d8b7ca4eaf712a3251f985fd1e93a0f0e568c16 (patch) | |
| tree | b414a6478771a2aa362d33341671a5bfb24ff20f /top_simple/src/Config.scala | |
init
Diffstat (limited to 'top_simple/src/Config.scala')
| -rw-r--r-- | top_simple/src/Config.scala | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/top_simple/src/Config.scala b/top_simple/src/Config.scala new file mode 100644 index 0000000..dbfe54b --- /dev/null +++ b/top_simple/src/Config.scala @@ -0,0 +1,16 @@ +package top_simple + +import spinal.core._ +import spinal.core.sim._ + +object Config { + def spinal = SpinalConfig( + targetDirectory = "top_simple/gen", + defaultConfigForClockDomains = ClockDomainConfig( + resetActiveLevel = HIGH + ), + onlyStdLogicVectorAtTopLevelIo = false + ) + + def sim = SimConfig.withGhdl.withConfig(spinal).withFstWave +} |
