Skip to content

Commit

Permalink
fix critical warning for Vivado 2020.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
sequencer committed Apr 30, 2021
1 parent f9fb9fd commit 7b2788f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/shell/xilinx/XilinxShell.scala
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class XDC(val name: String)
}
def addIOB(io: IOPin) {
if (io.isOutput) {
addConstraint(s"set_property IOB {TRUE} [ get_cells -of_objects [ all_fanin -flat -startpoints_only ${io.sdcPin}]]")
addConstraint(s"set_property IOB {TRUE} ${io.sdcPin}")
} else {
addConstraint(s"set_property IOB {TRUE} [ get_cells -of_objects [ all_fanout -flat -endpoints_only ${io.sdcPin}]]")
addConstraint(s"set_property IOB {TRUE} ${io.sdcPin}")
}
}
def addSlew(io: IOPin, speed: String) {
Expand Down

0 comments on commit 7b2788f

Please sign in to comment.