4. CtrlMux Package¶
-
module
CtrlMux::
mkInterruptMux
(Vector#(numPortals, MemPortal#(aw, dataWidth)) portals) → (ReadOnly#(Bool)¶ Used by BsimTop, PcieTop, and ZynqTop. Takes a vector of MemPortals and returns a boolean indicating whether any of the portals has indication method data available.
-
module
CtrlMux::
mkSlaveMux
(Vector#(numPortals, MemPortal#(aw, dataWidth)) portals) → (PhysMemSlave#(addrWidth,dataWidth)¶ Takes a vector of MemPortals and returns a PhysMemSlave combining them.