Skip to content

Commit

Permalink
Merge pull request #158 from abejgonzalez/ibuf-low-power-constraint
Browse files Browse the repository at this point in the history
Add Xilinx IBUF_LOW_POWER property
  • Loading branch information
erikdanie authored Dec 28, 2020
2 parents 337aa50 + fcfadb4 commit f9fb9fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/scala/shell/xilinx/XilinxShell.scala
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ class XDC(val name: String)
def addDriveStrength(io: IOPin, drive: String) {
addConstraint(s"set_property DRIVE {${drive}} ${io.sdcPin}")
}
def addIbufLowPower(io: IOPin, value: String) {
addConstraint(s"set_property IBUF_LOW_PWR ${value} ${io.sdcPin}")
}
}

abstract class XilinxShell()(implicit p: Parameters) extends IOShell
Expand Down

0 comments on commit f9fb9fd

Please sign in to comment.