Hi Ed, Wires are used for inter-stage communications in O3 pipeline. getWire() provides a way to write or read information through wires. Wire and timebuffers are defined in src/cpu/timebuf.hh if you want to know how they work.
So the first getWire() setups the wire to write information, and the second one setups the wire to read information for communication between fetch and decode. Hope this helps. Amin On Wed, Jan 23, 2013 at 10:02 AM, Edward Kim <[email protected]>wrote: > Hi all, > > In fetch_impl.hh, the following is defined. > toDecode = fetchQueue->getWire(0); > > In decode_impl.hh, > fromFetch = fetchQueue->getWire(-fetchToDecodeDelay); > fetchToDecodeDelay is 1 as usual. > > Could you explain the meaning of getWire(0) and getWire(1) in this case? > > Thanks, > > --Ed > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
