From 61f71ec79f5f326b86d2dc73a1b880d454dca36e Mon Sep 17 00:00:00 2001 From: Friedrich Beckmann Date: Sat, 28 Mar 2026 15:51:26 +0100 Subject: add top_count --- top_count/src/Config.scala | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 top_count/src/Config.scala (limited to 'top_count/src/Config.scala') 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 +} -- cgit v1.2.3