"compName": "WireCrossPoint#43",
"pinName": ""
},
- "name": "wire_mpm_address",
+ "name": "unnamedWire#163",
"path": [
{
"x": 205.0,
}
}
},
- "atomicHighLevelStates": {}
+ "atomicHighLevelStates": {
+ "mpm_address": {
+ "id": "wireForcing",
+ "params": {
+ "wiresToForce": [
+ "unnamedWire#163"
+ ],
+ "wiresToForceInverted": []
+ }
+ }
+ }
},
"version": "0.1.5"
}
\ No newline at end of file
private long getCurrentMicroInstructionAddress()
{
- // TODO: replace with highlevelstate
- BitVector vector = logicModel.getWireBySubmodelPath("Am2900.wire_mpm_address").getWireValues();
+ BitVector vector = (BitVector) am2900.getHighLevelState("mpm_address");
return vector.isBinary() ? vector.getUnsignedValueLong() : -1;
}