This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
FIRRTL accepts invalid code #1505
Comments
This was referenced Apr 10, 2020
Closed
albert-magyar
added a commit
that referenced
this issue
Apr 14, 2020
14 tasks
albert-magyar
added a commit
that referenced
this issue
Apr 14, 2020
* See #1505 * Inferred mports are implicitly added to scope of their parent mem * This allows current chisel3 emission to work with new scope checks * This may change in a future refactor of CHIRRTL memory ports
albert-magyar
added a commit
that referenced
this issue
Apr 14, 2020
albert-magyar
added a commit
that referenced
this issue
Apr 14, 2020
* See #1505 * Inferred mports are implicitly added to scope of their parent mem * This allows current chisel3 emission to work with new scope checks * This may change in a future refactor of CHIRRTL memory ports
albert-magyar
added a commit
that referenced
this issue
Jul 22, 2020
albert-magyar
added a commit
that referenced
this issue
Jul 22, 2020
* See #1505 * Inferred mports are implicitly added to scope of their parent mem * This allows current chisel3 emission to work with new scope checks * This may change in a future refactor of CHIRRTL memory ports
albert-magyar
added a commit
that referenced
this issue
Jul 27, 2020
albert-magyar
added a commit
that referenced
this issue
Jul 27, 2020
* See #1505 * Inferred mports are implicitly added to scope of their parent mem * This allows current chisel3 emission to work with new scope checks * This may change in a future refactor of CHIRRTL memory ports
albert-magyar
added a commit
that referenced
this issue
Jul 27, 2020
albert-magyar
added a commit
that referenced
this issue
Jul 27, 2020
* See #1505 * Inferred mports are implicitly added to scope of their parent mem * This allows current chisel3 emission to work with new scope checks * This may change in a future refactor of CHIRRTL memory ports
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Checklist
What is the current behavior?
Given the above, FIRRTL will generate Verilog just fine.
What is the expected behavior?
It should error, because
node wrap = and(io.en, _T)
refers to_T
which is defined inside thewhen
scopeSteps to Reproduce
Yes, this comes from
chisel3.util.Counter
(lol whoops):https://scastie.scala-lang.org/dtewI9H4R8mfdKRgxekx3A
The text was updated successfully, but these errors were encountered: