Unverified Commit eb5520b5 authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

Make `toTarget` fail if called on a Literal (or would otherwise not serialize...

Make `toTarget` fail if called on a Literal (or would otherwise not serialize properly) (#1714) (#1721)

* Add (failing) Test for Data toTarget calls

Add scaladoc and clean up test

* Builder: don't let .toTarget pass if it won't be able to deserialize properly later

* Update src/test/scala/chiselTests/ReferenceTargetSpec.scala

* Rename and simplify tests for literal toTarget

(cherry picked from commit b578aa5e

)

Co-authored-by: default avatarMegan Wachs <megan@sifive.com>
parent 58d38f96
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment