minor update

This commit is contained in:
Blaise Tine 2024-05-06 00:54:07 -07:00
parent badfb24e01
commit 189990e351
2 changed files with 3 additions and 7 deletions

View file

@ -204,7 +204,7 @@ config()
# disabling M & F extensions
make -C sim/rtlsim clean && CONFIGS="-DEXT_M_DISABLE -DEXT_F_DISABLE" make -C sim/rtlsim > /dev/null
make -C tests/riscv/isa run-rtlsim-32i
rm -f blackbox.*.cache
make -C sim/rtlsim clean && make -C sim/rtlsim > /dev/null
# disable local memory
CONFIGS="-DLMEM_DISABLE" ./ci/blackbox.sh --driver=rtlsim --cores=1 --app=demo --perf=1

View file

@ -133,10 +133,6 @@ void Core::reset() {
emulator_.clear();
for (auto& exe_unit : func_units_) {
exe_unit->reset();
}
for (auto& commit_arb : commit_arbs_) {
commit_arb->reset();
}
@ -336,12 +332,12 @@ void Core::issue() {
void Core::execute() {
for (uint32_t i = 0; i < (uint32_t)FUType::Count; ++i) {
auto& dispatch = dispatchers_.at(i);
auto& exe_unit = func_units_.at(i);
auto& func_unit = func_units_.at(i);
for (uint32_t j = 0; j < ISSUE_WIDTH; ++j) {
if (dispatch->Outputs.at(j).empty())
continue;
auto trace = dispatch->Outputs.at(j).front();
exe_unit->Inputs.at(j).push(trace, 1);
func_unit->Inputs.at(j).push(trace, 1);
dispatch->Outputs.at(j).pop();
}
}