spatial-lang icon indicating copy to clipboard operation
spatial-lang copied to clipboard

Add ZCU102 DeviceTarget in Chisel generator's Util.scala template.

Open timran1 opened this issue 6 years ago • 0 comments

Building a Quicktest app for Xilinx ZCU102 Ultrascale+ board failed in the "make zcu-hw" step with the following error:

[info] Compiling 117 Scala sources to /data/experiment/arch/spatial/spatial-lang/gen/Quicktest_zynq/target/scala-2.11/classes ... [error] /data/experiment/arch/spatial/spatial-lang/gen/Quicktest_zynq/chisel/IOModule.scala:48:18: not found: value ZCU102 [error] Utils.target = ZCU102 [error] ^ [error] one error found [error] (Compile / compileIncremental) Compilation failed

Tracing back to the Chisel generator template used to generate this file, the declaration of DeviceTarget for ZCU102 was not added in Utils.scala. Simply adding the DeviceTarget declaration resulted in successful compilation.

Tested by executing the generated application on Xilinx ZCU102 Ultrascale+ ES2 board.

timran1 avatar Apr 12 '18 10:04 timran1