Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

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

Open
timran1 wants to merge 1 commit intostanford-ppl:masterfrom
timran1:master
Open

Add ZCU102 DeviceTarget in Chisel generator's Util.scala template.#262
timran1 wants to merge 1 commit intostanford-ppl:masterfrom
timran1:master

Conversation

@timran1
Copy link
Copy Markdown

@timran1 timran1 commented Apr 12, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant