chisel
chisel copied to clipboard
node requested directionality on 'FlitTypes' must be hardware, not a bare Chisel type. Perhaps you forgot to wrap it in Wire(_) or IO(_)?
Bug Report:
I want to test Queue API,and I define the element of queue called "Flit".
When I poke value to flit_type(which is a ChiselEnum type),chisel report error.
So how can I poke value to ChiselEnum type?or choose another plan to achieve that?
My Environment:
detailed error report: