1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 95 unchanged lines hidden (view full) --- 104 void setDecodeQueue(TimeBuffer<DecodeStruct> *dq_ptr); 105 106 /** Sets pointer to time buffer coming from fetch. */ 107 void setFetchQueue(TimeBuffer<FetchStruct> *fq_ptr); 108 109 /** Sets pointer to list of active threads. */ 110 void setActiveThreads(std::list<unsigned> *at_ptr); 111 |
112 /** Switches out the decode stage. */ |
113 void switchOut(); 114 |
115 /** Takes over from another CPU's thread. */ |
116 void takeOverFrom(); |
117 |
118 /** Ticks decode, processing all input signals and decoding as many 119 * instructions as possible. 120 */ 121 void tick(); 122 123 /** Determines what to do based on decode's current status. 124 * @param status_change decode() sets this variable if there was a status 125 * change (ie switching from from blocking to unblocking). --- 172 unchanged lines hidden --- |