// // fetch.C // // Description: // Implements fetch stage of the AD-MIPS pipeline. // // Version: // $Id$ // // Revision: // $Log$ // // Author: // Brian J. Alliet // Jonathon W. Donaldson // #include "includes.h" void fetch() { StorageObject& pc = imem.MAR(); if_pc_bus.IN().pullFrom(pc); if_id_ir.latchFrom(imem.READ()); imem.read(); }