Lookup
chisel3.util.Lookup
object Lookup
Muxes between cases based on whether an address matches any pattern for a case. Similar to MuxLookup, but uses BitPat for address comparison.
Value parameters
- addr
-
address to select between cases
- default
-
default value should the address not match any case
- mapping
-
list of cases, where each entry consists of a BitPat (compared against addr) and the output value if the BitPat matches
Attributes
- Note
-
This appears to be an odd, specialized operator that we haven't seen used much, and seems to be a holdover from chisel2. This may be deprecated and removed, usage is not recommended.
- Source
- Lookup.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Lookup.type
Members list
In this article