Skip to content

Commit 3de397f

Browse files
author
Timothy Jones
committed
Change constraints keys to match output generated by GUI.
1 parent d4930fd commit 3de397f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • cello/cello-technologymapping/src/main/java/org/cellocad/v2/technologyMapping/algorithm/SimulatedAnnealing

cello/cello-technologymapping/src/main/java/org/cellocad/v2/technologyMapping/algorithm/SimulatedAnnealing/SimulatedAnnealing.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ protected void getConstraintFromNetlistConstraintFile() {
7777
final NetlistConstraint constraint = getNetlistConstraint();
7878
String type = "";
7979
// input constraints
80-
type = "input_constraints";
80+
type = "input_sensors";
8181
final Map<String, String> inputMap = new HashMap<>();
8282
for (int i = 0; i < constraint.getNumJsonObject(type); i++) {
8383
final JSONObject jObj = constraint.getJsonObjectAtIdx(type, i);
@@ -90,7 +90,7 @@ protected void getConstraintFromNetlistConstraintFile() {
9090
}
9191
setInputMap(inputMap);
9292
// ouptut constraints
93-
type = "output_constraints";
93+
type = "reporters";
9494
final Map<String, String> outputMap = new HashMap<>();
9595
for (int i = 0; i < constraint.getNumJsonObject(type); i++) {
9696
final JSONObject jObj = constraint.getJsonObjectAtIdx(type, i);

0 commit comments

Comments
 (0)