Skip to content

Commit

Permalink
Stanardizing isPrimitive() check.
Browse files Browse the repository at this point in the history
  • Loading branch information
clavin-xlnx committed Sep 28, 2019
1 parent 5e5b2c2 commit 1047254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/xilinx/rapidwright/edif/EDIFNetlist.java
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ public List<String> getNetAliases(String netName){
for(EDIFPortInst p : an.getNet().getPortInsts()){
EDIFHierPortInst absPortInst = new EDIFHierPortInst(an.getHierarchicalInstName(), p);
// Checks if cell is primitive or black box
boolean isCellPin = p.getCellInst() != null && p.getCellInst().getCellType().getCellInsts().size() == 0;
boolean isCellPin = p.getCellInst() != null && p.getCellInst().getCellType().isPrimitive();
if(isCellPin){
leafCellPins.add(absPortInst);
}
Expand Down

0 comments on commit 1047254

Please sign in to comment.