Commit 98a075c3 authored by Sebastien Bourdeauducq's avatar Sebastien Bourdeauducq
Browse files

sayma_rtm: update for v2.0rc4

parent cd71a2a7
...@@ -3,74 +3,85 @@ from migen.build.xilinx import XilinxPlatform ...@@ -3,74 +3,85 @@ from migen.build.xilinx import XilinxPlatform
_io = [ _io = [
("clk50", 0, Pins("R2"), IOStandard("LVCMOS25")), ("clk50", 0, Pins("T14"), IOStandard("LVCMOS25")),
("serial", 0, ("serial", 0,
Subsignal("tx", Pins("C16")), Subsignal("tx", Pins("T17")),
Subsignal("rx", Pins("B17")), Subsignal("rx", Pins("U17")),
IOStandard("LVCMOS33") IOStandard("LVCMOS33")
), ),
("amc_rtm_serwb", 0, ("amc_rtm_serwb", 0,
Subsignal("clk_p", Pins("P14"), Misc("DIFF_TERM=TRUE")), # LVDS26_CC_P Subsignal("clk_p", Pins("P4"), Misc("DIFF_TERM=TRUE")), # LVDS26_CC_P
Subsignal("clk_n", Pins("R15"), Misc("DIFF_TERM=TRUE")), # LVDS26_CC_N Subsignal("clk_n", Pins("P3"), Misc("DIFF_TERM=TRUE")), # LVDS26_CC_N
Subsignal("tx_p", Pins("T17")), # LVDS27_P Subsignal("tx_p", Pins("V3")), # LVDS27_P
Subsignal("tx_n", Pins("U17")), # LVDS27_N Subsignal("tx_n", Pins("V2")), # LVDS27_N
Subsignal("rx_p", Pins("R18"), Misc("DIFF_TERM=TRUE")), # LVDS25_P Subsignal("rx_p", Pins("U2"), Misc("DIFF_TERM=TRUE")), # LVDS25_P
Subsignal("rx_n", Pins("T18"), Misc("DIFF_TERM=TRUE")), # LVDS25_N Subsignal("rx_n", Pins("U1"), Misc("DIFF_TERM=TRUE")), # LVDS25_N
IOStandard("LVDS_25") IOStandard("LVDS_25")
), ),
# HMC clocking chips (830 and 7043) # HMC clocking chips (830 and 7043)
("hmc_spi", 0, ("hmc_spi", 0,
Subsignal("clk", Pins("A17"), Misc("PULLDOWN=TRUE")), Subsignal("clk", Pins("T18"), Misc("PULLDOWN=TRUE")),
# cs[0]=830 cs[1]=7043 # cs[0]=830 cs[1]=7043
# Watch out for the HMC830 SPI mode peculiarity. PULLDOWN CS here # Watch out for the HMC830 SPI mode peculiarity. PULLDOWN CS here
# so that toggling the SPI core offline will make edges. # so that toggling the SPI core offline will make edges.
#TODO Subsignal("cs_n", Pins("C8 D16"), Misc("PULLDOWN=TRUE")), Subsignal("cs_n", Pins("K16 R17"), Misc("PULLDOWN=TRUE")),
Subsignal("mosi", Pins("B16"), Misc("PULLDOWN=TRUE")), Subsignal("mosi", Pins("R18"), Misc("PULLDOWN=TRUE")),
Subsignal("miso", Pins("D9"), Misc("PULLDOWN=TRUE")), Subsignal("miso", Pins("J15"), Misc("PULLDOWN=TRUE")),
IOStandard("LVCMOS33") IOStandard("LVCMOS33")
), ),
("hmc7043_reset", 0, Pins("E17"), IOStandard("LVCMOS33")), ("hmc7043_reset", 0, Pins("J18"), IOStandard("LVCMOS33")),
("hmc7043_gpo", 0, Pins("D8"), IOStandard("LVCMOS33")), ("hmc7043_gpo", 0, Pins("L14"), IOStandard("LVCMOS33")),
("rtm_fpga_sysref", 0,
Subsignal("p", Pins("R3")),
Subsignal("n", Pins("T2")),
IOStandard("LVDS_25"), Misc("DIFF_TERM=TRUE")
),
("rtm_fpga_sysref", 1,
Subsignal("p", Pins("R5")),
Subsignal("n", Pins("T5")),
IOStandard("LVDS_25"), Misc("DIFF_TERM=TRUE")
),
# clock mux # clock mux
("clk_src_ext_sel", 0, Pins("D16"), IOStandard("LVCMOS33")), ("clk_src_ext_sel", 0, Pins("R6"), IOStandard("LVCMOS25")),
# DACs # DACs
("ad9154_spi", 0, ("ad9154_spi", 0,
Subsignal("clk", Pins("V17"), Misc("PULLDOWN=TRUE")), Subsignal("clk", Pins("V4"), Misc("PULLDOWN=TRUE")),
Subsignal("cs_n", Pins("V16"), Misc("PULLUP=TRUE")), Subsignal("cs_n", Pins("U4"), Misc("PULLUP=TRUE")),
Subsignal("mosi", Pins("R13"), Misc("PULLDOWN=TRUE")), Subsignal("mosi", Pins("P6"), Misc("PULLDOWN=TRUE")),
Subsignal("miso", Pins("T13"), Misc("PULLDOWN=TRUE")), Subsignal("miso", Pins("P5"), Misc("PULLDOWN=TRUE")),
IOStandard("LVCMOS25") IOStandard("LVCMOS25")
), ),
("ad9154_txen", 0, Pins("U14 V14"), IOStandard("LVCMOS25")), ("ad9154_txen", 0, Pins("U6 U5"), IOStandard("LVCMOS25")),
("ad9154_rst_n", 0, Pins("U16"), IOStandard("LVCMOS25")), ("ad9154_rst_n", 0, Pins("T3"), IOStandard("LVCMOS25")),
("ad9154_spi", 1, ("ad9154_spi", 1,
Subsignal("clk", Pins("J16"), Misc("PULLDOWN=TRUE")), Subsignal("clk", Pins("K2"), Misc("PULLDOWN=TRUE")),
Subsignal("cs_n", Pins("J15"), Misc("PULLUP=TRUE")), Subsignal("cs_n", Pins("J4"), Misc("PULLUP=TRUE")),
Subsignal("mosi", Pins("K18"), Misc("PULLDOWN=TRUE")), Subsignal("mosi", Pins("K1"), Misc("PULLDOWN=TRUE")),
Subsignal("miso", Pins("K17"), Misc("PULLDOWN=TRUE")), Subsignal("miso", Pins("K3"), Misc("PULLDOWN=TRUE")),
IOStandard("LVCMOS25") IOStandard("LVCMOS25")
), ),
("ad9154_txen", 1, Pins("L18 J14"), IOStandard("LVCMOS25")), ("ad9154_txen", 1, Pins("L2 L4"), IOStandard("LVCMOS25")),
("ad9154_rst_n", 1, Pins("K16"), IOStandard("LVCMOS25")), ("ad9154_rst_n", 1, Pins("J5"), IOStandard("LVCMOS25")),
("i2c", 0, ("i2c", 0,
Subsignal("scl", Pins("D13")), Subsignal("scl", Pins("P16")),
Subsignal("sda", Pins("C13")), Subsignal("sda", Pins("P15")),
IOStandard("LVCMOS33") IOStandard("LVCMOS33")
), ),
("si5324", 0, ("si5324", 0,
Subsignal("rst_n", Pins("C9"), IOStandard("LVCMOS33")), Subsignal("rst_n", Pins("C14"), IOStandard("LVCMOS25")),
Subsignal("int", Pins("D15"), IOStandard("LVCMOS33")) Subsignal("int", Pins("V6"), IOStandard("LVCMOS25"))
), ),
("si5324_clkin", 0, ("si5324_clkin", 0,
Subsignal("p", Pins("M16")), Subsignal("p", Pins("M2")),
Subsignal("n", Pins("M17")), Subsignal("n", Pins("M1")),
IOStandard("LVDS_25"), IOStandard("LVDS_25"),
), ),
# TODO: rename, this will be muxed with the WR PLL # TODO: rename, this will be muxed with the WR PLL
...@@ -79,16 +90,16 @@ _io = [ ...@@ -79,16 +90,16 @@ _io = [
Subsignal("n", Pins("B5")) Subsignal("n", Pins("B5"))
), ),
("si5324_clkout_fabric", 0, ("si5324_clkout_fabric", 0,
Subsignal("p", Pins("T14")), Subsignal("p", Pins("R2")),
Subsignal("n", Pins("T15")), Subsignal("n", Pins("R1")),
IOStandard("LVDS_25") IOStandard("LVDS_25"), Misc("DIFF_TERM=TRUE")
), ),
# Slave SATA connector J14 # SATA connector J13
("sata", 0, ("sata", 0,
Subsignal("txp", Pins("D2")), Subsignal("txp", Pins("B2")),
Subsignal("txn", Pins("D1")), Subsignal("txn", Pins("B1")),
Subsignal("rxp", Pins("C4")), Subsignal("rxp", Pins("G4")),
Subsignal("rxn", Pins("C3")) Subsignal("rxn", Pins("G3"))
), ),
] ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment