Use new 'specials' API
This commit is contained in:
parent
56ae0f0714
commit
d60ab1d215
|
@ -31,7 +31,7 @@ class CRG_DS(CRG):
|
||||||
Instance.Input("IB", self._clk.n),
|
Instance.Input("IB", self._clk.n),
|
||||||
Instance.Output("O", self.cd.clk)
|
Instance.Output("O", self.cd.clk)
|
||||||
)
|
)
|
||||||
return Fragment(instances=[ibufg])
|
return Fragment(specials={ibufg})
|
||||||
|
|
||||||
def _format_constraint(c):
|
def _format_constraint(c):
|
||||||
if isinstance(c, Pins):
|
if isinstance(c, Pins):
|
||||||
|
|
Loading…
Reference in New Issue