1 2 3 4 5 6 7 8 9 10 11 12
#include "stage.h" Stage::Stage(Stage *next) { this->next = next; } std::array<int, GPR_NUM> Stage::gprs; std::array<int, V_NUM> Stage::vrs; unsigned int Stage::pc; Storage *Stage::storage; bool Stage::is_pipelined; int Stage::clock_cycle;