You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread "main" java.util.NoSuchElementException: head of empty list
at scala.collection.immutable.Nil$.head(List.scala:662)
at scala.collection.immutable.Nil$.head(List.scala:661)
at dfhdl.compiler.ir.DB.OMLGen(DB.scala:137)
at dfhdl.compiler.ir.DB.blockMemberList$lzyINIT1(DB.scala:221)
at dfhdl.compiler.ir.DB.blockMemberList(DB.scala:221)
at dfhdl.compiler.stages.UniqueNames.transform(UniqueNames.scala:72)
at dfhdl.compiler.stages.StageRunner.runSingleStage(StageRunner.scala:22)
at dfhdl.compiler.stages.StageRunner.dfhdl$compiler$stages$StageRunner$$run(StageRunner.scala:43)
at dfhdl.compiler.stages.StageRunner$.run(StageRunner.scala:55)
at dfhdl.backends$vhdl.printer(backends.scala:27)
at dfhdl.compiler.stages.BackendCompiler.compile(BackendCompiler.scala:19)
at dfhdl.compiler.stages.BackendCompiler.compile$(BackendCompiler.scala:8)
at dfhdl.backends$vhdl.compile(backends.scala:23)
at dfhdl.compiler.stages.StagedDesign$.compile(StagedDesign.scala:13)
at dfhdl.ops$package$.compile(ops.scala:10)
at project$package$.main(project.scala:39)
at main.main(project.scala:27)
The text was updated successfully, but these errors were encountered:
Description
Same error message as #116 and seems related to if statements again. The error occurs for both VHDL and Verilog.
Example
Output
The text was updated successfully, but these errors were encountered: