You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Printing Chisel types gives fun and useless strings like UInt@4fd5e7a. But the FIRRTL emitter can make coherent types, though that functionality isn't directly accessible from Data subtypes. What would be nice is for Data subtypes to override toString with:
as a chisel type: print the FIRRTL type, or something close to it, eg UInt<8>
as a bound object: also indicate the binding and parent module, ideally also add basic source locator information, eg UInt<8>(Reg in MyModule @ MyModule.scala:104)
as a literal: indicate the type and value, eg UInt<8>(233)
Bikeshedding on the precise representation is welcome.
Type of issue: feature request, other enhancement
Impact: no functional change
Development Phase: request, proposal
The text was updated successfully, but these errors were encountered:
Printing Chisel types gives fun and useless strings like
UInt@4fd5e7a
. But the FIRRTL emitter can make coherent types, though that functionality isn't directly accessible from Data subtypes. What would be nice is for Data subtypes to override toString with:UInt<8>
UInt<8>(Reg in MyModule @ MyModule.scala:104)
UInt<8>(233)
Bikeshedding on the precise representation is welcome.
Type of issue: feature request, other enhancement
Impact: no functional change
Development Phase: request, proposal
The text was updated successfully, but these errors were encountered: