Use new 'specials' API

This commit is contained in:
Sebastien Bourdeauducq 2013-02-24 12:21:01 +01:00
parent 56ae0f0714
commit d60ab1d215
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ class CRG_DS(CRG):
Instance.Input("IB", self._clk.n),
Instance.Output("O", self.cd.clk)
)
return Fragment(instances=[ibufg])
return Fragment(specials={ibufg})
def _format_constraint(c):
if isinstance(c, Pins):