1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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 }