ucb-bar / chisel2-deprecated

chisel.eecs.berkeley.edu
387 stars 90 forks source link

Module debug for aggregates #556

Closed shunshou closed 8 years ago

shunshou commented 8 years ago

I noticed that you have to add elements in a Vec individually with the debug function. Something like : def debug(data: Aggregate) { data.flatten.map(x => x.2) map (debug()) } would make forced inclusion of Vecs, Complex, etc. for debugging at intermediate design stages less tedious... I have that in my extension of Module.scala, but it's be nice to just add this directly...

ucbjrl commented 8 years ago

Closed by #608