Skip to content

Commit

Permalink
Add overloads to include deferSort option to some EDIFPortInst creati…
Browse files Browse the repository at this point in the history
…on APIs (#585)

* Code changes to remove deprecated methods for 2022.2.0

Signed-off-by: Chris Lavin <[email protected]>

* Resolve compile issues

Signed-off-by: Chris Lavin <[email protected]>

* 2022.2.0-rc4 jar

Signed-off-by: Chris Lavin <[email protected]>

* Fix issues, revert removal of Design.createCell()

Signed-off-by: Chris Lavin <[email protected]>

* 2022.2.0-rc5 jar

Signed-off-by: Chris Lavin <[email protected]>

* Cannot close the stream

Signed-off-by: Chris Lavin <[email protected]>

* Simplify based on review comments

Signed-off-by: Chris Lavin <[email protected]>

* Add additional overloads for deferSorting on EDIFPortInst creation

Signed-off-by: Chris Lavin <[email protected]>

Signed-off-by: Chris Lavin <[email protected]>
  • Loading branch information
clavin-xlnx authored Nov 16, 2022
1 parent d90d3fa commit bcb6354
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/com/xilinx/rapidwright/edif/EDIFNet.java
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@ public EDIFPortInst createPortInst(String portInstName, EDIFCellInst cellInst) {
return createPortInstFromPortInstName(portInstName, cellInst.getCellType(), cellInst);
}

public EDIFPortInst createPortInst(String portInstName, EDIFCellInst cellInst, boolean deferSort) {
return createPortInstFromPortInstName(portInstName, cellInst.getCellType(), cellInst, deferSort);
}

/**
* Creates a new port instance from a name on the internal port of the provided
* cell. It looks up the appropriate port name from the portInstName and
Expand Down Expand Up @@ -222,6 +226,10 @@ public EDIFPortInst createPortInst(EDIFPort port, EDIFCellInst cellInst) {
public EDIFPortInst createPortInst(EDIFPort port, int index, EDIFCellInst cellInst) {
return new EDIFPortInst(port, this, index, cellInst);
}

public EDIFPortInst createPortInst(EDIFPort port, int index, EDIFCellInst cellInst, boolean deferSort) {
return new EDIFPortInst(port, this, index, cellInst, deferSort);
}

/**
* Gets the sorted ArrayList of EDIFPortInsts on this net as a collection.
Expand Down

0 comments on commit bcb6354

Please sign in to comment.