mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-06-28 09:37:38 -04:00
minor update
This commit is contained in:
parent
7e9e99e885
commit
f53f5267c4
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue