add BUFIO to clockgen buffer options

This commit is contained in:
bunnie 2020-01-24 15:01:13 +08:00
parent b3f9aa11be
commit 1f7549b4c0
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ class XilinxClocking(Module, AutoCSR):
self.specials += Instance("BUFR", i_I=clkout, o_O=clkout_buf)
elif buf == "bufgce" and clk_ce != None:
self.specials += Instance("BUFGCE", i_I=clkout, o_O=clkout_buf, i_CE=clk_ce)
elif buf == "bufio":
self.specials += Instance("BUFIO", i_I=clkout, o_O=clkout_buf)
else:
raise ValueError