New strict cmd mux working.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user