mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
ttl_serdes_7series: use simpler I/O buffers
In theory equivalent with these parameters.
This commit is contained in:
parent
6bd9691ba8
commit
db25f4e8f7
@ -28,12 +28,7 @@ class _OSERDESE2_8X(Module):
|
|||||||
if pad_n is None:
|
if pad_n is None:
|
||||||
self.comb += pad.eq(pad_o)
|
self.comb += pad.eq(pad_o)
|
||||||
else:
|
else:
|
||||||
self.specials += Instance("IOBUFDS_INTERMDISABLE",
|
self.specials += Instance("IOBUFDS",
|
||||||
p_DIFF_TERM="FALSE",
|
|
||||||
p_IBUF_LOW_PWR="TRUE",
|
|
||||||
p_USE_IBUFDISABLE="TRUE",
|
|
||||||
i_IBUFDISABLE=1,
|
|
||||||
i_INTERMDISABLE=1,
|
|
||||||
i_I=pad_o,
|
i_I=pad_o,
|
||||||
i_T=self.t_out,
|
i_T=self.t_out,
|
||||||
io_IO=pad, io_IOB=pad_n)
|
io_IO=pad, io_IOB=pad_n)
|
||||||
@ -63,12 +58,7 @@ class _ISERDESE2_8X(Module):
|
|||||||
if pad_n is None:
|
if pad_n is None:
|
||||||
self.comb += pad_i.eq(pad)
|
self.comb += pad_i.eq(pad)
|
||||||
else:
|
else:
|
||||||
self.specials += Instance("IBUFDS_INTERMDISABLE",
|
self.specials += Instance("IBUFDS",
|
||||||
p_DIFF_TERM="TRUE",
|
|
||||||
p_IBUF_LOW_PWR="TRUE",
|
|
||||||
p_USE_IBUFDISABLE="TRUE",
|
|
||||||
i_IBUFDISABLE=0,
|
|
||||||
i_INTERMDISABLE=0,
|
|
||||||
o_O=pad_i,
|
o_O=pad_i,
|
||||||
io_I=pad, io_IB=pad_n)
|
io_I=pad, io_IB=pad_n)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user