File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
himbaechel/uarch/gatemate Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -471,13 +471,14 @@ void GateMatePacker::pack_cpe()
471
471
if (net->name .in (ctx->id (" $PACKER_GND" ),ctx->id (" $PACKER_VCC" ))) {
472
472
if (net->name == ctx->id (" $PACKER_VCC" ))
473
473
invert |= 1 << i;
474
- ci.disconnectPort (ctx->idf (" IN %d" ,i+ 1 ));
474
+ ci.disconnectPort (ctx->idf (" D %d" ,i));
475
475
} else {
476
476
select |= 1 << i;
477
477
}
478
478
}
479
479
}
480
480
ci.params [id_C_FUNCTION] = Property (C_MX4, 3 );
481
+ ci.params [id_INIT_L02] = Property (0b1100 , 4 ); // IN6
481
482
if (ci.type == id_CC_MX4)
482
483
ci.params [id_INIT_L03] = Property (0b1100 , 4 ); // IN8
483
484
// ci.params[id_INIT_L11] = Property(invert, 4); // Inversion bits
@@ -489,7 +490,6 @@ void GateMatePacker::pack_cpe()
489
490
upper->cluster = ci.name ;
490
491
upper->constr_abs_z = false ;
491
492
upper->constr_z = -1 ;
492
- upper->params [id_INIT_L02] = Property (0b1100 , 4 ); // IN6
493
493
upper->params [id_INIT_L10] = Property (select , 4 ); // Selection bits
494
494
upper->params [id_INIT_L11] = Property (invert, 4 ); // Inversion bits
495
495
upper->params [id_C_FUNCTION] = Property (C_MX4, 3 );
You can’t perform that action at this time.
0 commit comments