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
Open
Add ZCU102 DeviceTarget in Chisel generator's Util.scala template.#262timran1 wants to merge 1 commit intostanford-ppl:masterfrom
timran1 wants to merge 1 commit intostanford-ppl:masterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.