New strict cmd mux working.

This commit is contained in:
Lukas Steiner
2021-04-22 11:27:22 +02:00
parent ae85f6cd83
commit fc44d319bb

View File

@@ -216,7 +216,11 @@ CommandTuple::Type CmdMuxStrictRasCas::selectCommand(const ReadyCommands &readyC
if (result != readyCommands.cend() &&
std::get<CommandTuple::Timestamp>(*result) == sc_time_stamp())
return *result;
{
if (isCasCommand(std::get<CommandTuple::Command>(*result)))
nextPayloadID++;
return *result;
}
else
return CommandTuple::Type(Command::NOP, nullptr, sc_max_time());
}