Skip to content

Commit f9fb9fd

Browse files
authored
Merge pull request #158 from abejgonzalez/ibuf-low-power-constraint
Add Xilinx IBUF_LOW_POWER property
2 parents 337aa50 + fcfadb4 commit f9fb9fd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class XDC(val name: String)
4646
def addDriveStrength(io: IOPin, drive: String) {
4747
addConstraint(s"set_property DRIVE {${drive}} ${io.sdcPin}")
4848
}
49+
def addIbufLowPower(io: IOPin, value: String) {
50+
addConstraint(s"set_property IBUF_LOW_PWR ${value} ${io.sdcPin}")
51+
}
4952
}
5053

5154
abstract class XilinxShell()(implicit p: Parameters) extends IOShell

0 commit comments

Comments
 (0)