[gg] Print out channels that are missing a clock in FAME1 xform

This commit is contained in:
David Biancolin 2019-11-20 00:25:43 -08:00
parent f3d79ceffb
commit 26e326698b
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ object FAMEModuleTransformer {
val clockFlag = tokenizeClockRef(clockRef)
val firedReg = hostFlagReg(suggestName = ns.newName(s"${cName}_fired"))
(cName, clockFlag, ports, firedReg)
case (cName, (None, ports)) => ??? // clock is mandatory for now
case (cName, (None, ports)) => throw new RuntimeException(s"Channel ${cName} has no associated clock port.")
}
// LinkedHashMap.from is 2.13-only :(