> spatial PageRank --dot --cgra+
[info] Running PageRank --dot --cgra+
Loaded RoutingLUTs model from file
Loaded FanoutRegisters model from file
Loaded UnavailableALMs model from file
Loaded TileLoadModel model from file
Compiling PageRank to /Users/Yaqi/spatial-lang/gen/PageRank
[bug] Classics.scala:1266: Found illegal write to memory x3949 defined outside an inner controller
[bug] x3966 = StreamWrite(x3949,x3965,Const(true))
[bug] Current control (x3967,-1)
[bug] An exception was encountered while compiling PageRank:
[bug] Internal exception #1003: Found illegal write to memory x3949 defined outside an inner controller
[bug] This is likely a compiler bug. A log file has been created at:
[bug] /Users/Yaqi/spatial-lang/logs/PageRank/PageRank_exception.log
[bug] If you'd like, you can submit this log and your code in a bug report at:
[bug] https://github.com/stanford-ppl/spatial-lang/issues
[bug] and we'll try to fix it as soon as we can.
spatial.ExternalWriteException: Internal exception #1003: Found illegal write to memory x3949 defined outside an inner controller
at spatial.analysis.ControlSignalAnalyzer.$anonfun$addWriter$1(ControlSignalAnalyzer.scala:174)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at argon.util.NoInstrument.apply(Instrument.scala:7)
at spatial.analysis.ControlSignalAnalyzer.addWriter(ControlSignalAnalyzer.scala:170)
at spatial.analysis.ControlSignalAnalyzer.addWriter$(ControlSignalAnalyzer.scala:169)
This error only shows up when pir is enabled