I am trying to run Chisel CPP based simulation and end up with the following exception.
CPP elaborate
[info] [18.880] // COMPILING < (class Fabric.REDEFINE_CR_NoC_RRM)>(8)
[info] [22.736] giving names
[info] [26.008] executing custom transforms
[info] [26.009] convert masked writes of inline mems
[info] [28.131] adding clocks and resets
[info] [30.434] inferring widths
[info] [34.972] checking widths
[info] [36.159] lowering complex nodes to primitives
[info] [36.159] removing type nodes
[info] [37.765] compiling 1039734 nodes
[info] [37.765] computing memory ports
[info] [40.477] resolving nodes to the components
[info] [50.921] creating clock domains
[info] [51.666] pruning unconnected IOs
[info] [51.817] checking for combinational loops
[info] [54.271] NO COMBINATIONAL LOOP FOUND
[info] [56.872] populating clock domains
CppBackend::elaborate: need 11760, redundant 13543 shadow registers
[info] [61.231] generating cpp files
CppBackend: createCppFile REDEFINE_CR_NoC_RRM.cpp
<no startup message>
[error] (run-main-0) Chisel.TestApplicationException: test application exit - exit code 139
Chisel.TestApplicationException: test application exit - exit code 139
at Chisel.Tester.throwExceptionIfDead(Tester.scala:226)
at Chisel.Tester.<init>(Tester.scala:827)
at REDEFINE.REDEFINE1Tester.<init>(redefine_CR_NoC_RRM.scala:18)
at REDEFINE.fabric$$anonfun$main$2.apply(main.scala:36)
at REDEFINE.fabric$$anonfun$main$2.apply(main.scala:36)
at Chisel.Driver$.apply(Driver.scala:67)
at Chisel.chiselMain$.apply(hcl.scala:63)
at Chisel.chiselMainTest$.apply(hcl.scala:76)
at REDEFINE.fabric$.main(main.scala:36)
at REDEFINE.fabric.main(main.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
[trace] Stack trace suppressed: run last main/compile:run for the full output.
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last main/compile:run for the full output.
[error] (main/compile:run) Nonzero exit code: 1
Chisel command line args: "--backend", "c", "--genHarness", "--targetDir", "cppBackend", "--compile", "--test", "--debug"
scalaVersion := "2.11.7",
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature", "-language:reflectiveCalls", "-language:implicitConversions", "-language:existentials", "-language:postfixOps"),
libraryDependencies += "edu.berkeley.cs" %% "chisel" % "latest.release"
Let me know if any further details are required to get me through this exception.
Anup.