Skip to content

Commit 0f2eedb

Browse files
committed
fix critical warning for Vivado 2020.2.
1 parent f9fb9fd commit 0f2eedb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/scala/shell/xilinx/XilinxShell.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ class XDC(val name: String)
2929
}
3030
def addIOB(io: IOPin) {
3131
if (io.isOutput) {
32-
addConstraint(s"set_property IOB {TRUE} [ get_cells -of_objects [ all_fanin -flat -startpoints_only ${io.sdcPin}]]")
32+
addConstraint(s"set_property IOB {TRUE} [ all_fanin -flat -startpoints_only ${io.sdcPin}]")
3333
} else {
34-
addConstraint(s"set_property IOB {TRUE} [ get_cells -of_objects [ all_fanout -flat -endpoints_only ${io.sdcPin}]]")
34+
addConstraint(s"set_property IOB {TRUE} [ all_fanout -flat -endpoints_only ${io.sdcPin}]")
3535
}
3636
}
3737
def addSlew(io: IOPin, speed: String) {

0 commit comments

Comments
 (0)