minor update

This commit is contained in:
tinebp 2025-05-09 18:12:29 -07:00
parent 7e9e99e885
commit f53f5267c4

View file

@ -16,14 +16,13 @@
using namespace vortex; using namespace vortex;
Operands::Operands(const SimContext &ctx, Core* core) Operands::Operands(const SimContext &ctx, Core* /*core*/)
: SimObject<Operands>(ctx, "operands") : SimObject<Operands>(ctx, "operands")
, Input(this) , Input(this)
, Output(this) , Output(this)
, opc_units_(NUM_OPCS) , opc_units_(NUM_OPCS)
, gpr_unit_(GPR::Create()) , gpr_unit_(GPR::Create())
, out_arb_(ArbiterType::RoundRobin, NUM_OPCS) , out_arb_(ArbiterType::RoundRobin, NUM_OPCS) {
, core_(core) {
// create OPC units // create OPC units
for (uint32_t i = 0; i < NUM_OPCS; i++) { for (uint32_t i = 0; i < NUM_OPCS; i++) {
opc_units_.at(i) = OpcUnit::Create(core); opc_units_.at(i) = OpcUnit::Create(core);