pub fn load<const NCMDS: usize, const MAX_BYTES: usize>(
    cmd: Vr<GemminiCmd>,
    dma_accessor: impl FnOnce(Vr<ScratchpadMemReadReq<MVIN_SCALE_BITS>>) -> Valid<ScratchpadMemReadResp>
) -> Vr<U<{ _ }>>
Expand description

Load controller.

It manages commands that move data from main memory to gemmini’s private scratchpad or accumulator. It takes ingress command from the reservation station, and returns rob id to the reservation station.

Reference: https://github.com/ucb-bar/gemmini/blob/master/src/main/scala/gemmini/LoadController.scala