ucb-bar / chisel2-deprecated

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

adding cloneType override for QueueIO Bundle #594

Closed Martoni closed 8 years ago

Martoni commented 8 years ago

I had this error in my design :

...
[error] avlmaster.scala:279: Cannot auto-create constructor for Chisel.QueueIO that requires arguments: List(class Chisel.Data, int) in class AvlMaster.AvlMasterWriteBurst
[error] avlmaster.scala:279: Parameterized Bundle class Chisel.QueueIO needs cloneType method in class AvlMaster.AvlMasterWriteBurst
...

If I add an overriding cloneType function in QueueIO, this error disappear.

ghost commented 8 years ago

Can one of the admins verify this patch?

Martoni commented 8 years ago

I think that ArbiterIO have the same problem.

ucbjrl commented 8 years ago

ok

ucbjrl commented 8 years ago

ok to test