mirror of https://github.com/m-labs/artiq.git
kasli: eem DifferentialInputs need DIFF_TERM
cleanup some formatting on the way
This commit is contained in:
parent
2a47b934ea
commit
27f975e7bb
|
@ -6,15 +6,13 @@ from migen import *
|
||||||
from migen.genlib.resetsync import AsyncResetSynchronizer
|
from migen.genlib.resetsync import AsyncResetSynchronizer
|
||||||
from migen.genlib.cdc import MultiReg
|
from migen.genlib.cdc import MultiReg
|
||||||
from migen.build.generic_platform import *
|
from migen.build.generic_platform import *
|
||||||
from migen.build.xilinx.vivado import XilinxVivadoToolchain
|
from migen.genlib.io import DifferentialOutput
|
||||||
from migen.build.xilinx.ise import XilinxISEToolchain
|
|
||||||
from migen.genlib.io import DifferentialOutput, DifferentialInput
|
|
||||||
|
|
||||||
from misoc.interconnect.csr import *
|
from misoc.interconnect.csr import *
|
||||||
from misoc.cores import gpio
|
from misoc.cores import gpio
|
||||||
from misoc.cores.a7_gtp import *
|
from misoc.cores.a7_gtp import *
|
||||||
from misoc.targets.kasli import (BaseSoC, MiniSoC,
|
from misoc.targets.kasli import (
|
||||||
soc_kasli_args, soc_kasli_argdict)
|
BaseSoC, MiniSoC, soc_kasli_args, soc_kasli_argdict)
|
||||||
from misoc.integration.builder import builder_args, builder_argdict
|
from misoc.integration.builder import builder_args, builder_argdict
|
||||||
|
|
||||||
from artiq.gateware.amp import AMPSoC
|
from artiq.gateware.amp import AMPSoC
|
||||||
|
@ -214,6 +212,7 @@ def _sampler(eem, eem_aux=None):
|
||||||
Subsignal("sdob", Pins(_eem_pin(eem_aux, 2, "p"))),
|
Subsignal("sdob", Pins(_eem_pin(eem_aux, 2, "p"))),
|
||||||
Subsignal("sdoc", Pins(_eem_pin(eem_aux, 3, "p"))),
|
Subsignal("sdoc", Pins(_eem_pin(eem_aux, 3, "p"))),
|
||||||
Subsignal("sdod", Pins(_eem_pin(eem_aux, 4, "p"))),
|
Subsignal("sdod", Pins(_eem_pin(eem_aux, 4, "p"))),
|
||||||
|
Misc("DIFF_TERM=TRUE"),
|
||||||
IOStandard("LVDS_25"),
|
IOStandard("LVDS_25"),
|
||||||
),
|
),
|
||||||
("{}_adc_data_n".format(eem), 0,
|
("{}_adc_data_n".format(eem), 0,
|
||||||
|
@ -222,6 +221,7 @@ def _sampler(eem, eem_aux=None):
|
||||||
Subsignal("sdob", Pins(_eem_pin(eem_aux, 2, "n"))),
|
Subsignal("sdob", Pins(_eem_pin(eem_aux, 2, "n"))),
|
||||||
Subsignal("sdoc", Pins(_eem_pin(eem_aux, 3, "n"))),
|
Subsignal("sdoc", Pins(_eem_pin(eem_aux, 3, "n"))),
|
||||||
Subsignal("sdod", Pins(_eem_pin(eem_aux, 4, "n"))),
|
Subsignal("sdod", Pins(_eem_pin(eem_aux, 4, "n"))),
|
||||||
|
Misc("DIFF_TERM=TRUE"),
|
||||||
IOStandard("LVDS_25"),
|
IOStandard("LVDS_25"),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue