chisel-bootcamp
chisel-bootcamp copied to clipboard
Chapter 3.3 - excercise on decoupled arbiter is confusing
The hints contained 3 points that confused me:
- "consider having an internal wire of the selected channel" but the solution has no such wire. Is there really a point in using a wire or can this hint be removed?
- "PriorityMux(List[Bool, Bits]), which takes in a list of valid signals and bits, returning the first element that is valid" where I figured
bitswould refer to thebitsfrom the decoupled interface. But I guess any data works, right? Maybe a more general term likedatacan be used? [reading it again it's clear that the Chiselbitstype is meant so I don't know why I got on the wrong the track here] - the solution uses
foreachwhich was not introduced in the chapter. Would amapwork too?