2015-01-19 12:40:32 -05:00
|
|
|
from mibuild.generic_platform import *
|
2015-04-08 18:00:25 -04:00
|
|
|
from mibuild.xilinx.platform import XilinxPlatform
|
2015-01-19 12:40:32 -05:00
|
|
|
|
|
|
|
_io = [
|
2015-04-13 08:55:26 -04:00
|
|
|
("sys_clk", 0, Pins("X")),
|
|
|
|
("sys_rst", 1, Pins("X")),
|
2015-06-25 18:20:58 -04:00
|
|
|
("sata_clocks", 0,
|
|
|
|
Subsignal("refclk_p", Pins("X")),
|
|
|
|
Subsignal("refclk_n", Pins("X")),
|
|
|
|
),
|
2015-04-13 08:55:26 -04:00
|
|
|
("sata", 0,
|
2015-06-25 18:20:58 -04:00
|
|
|
Subsignal("txp", Pins("X")),
|
|
|
|
Subsignal("txn", Pins("X")),
|
|
|
|
Subsignal("rxp", Pins("X")),
|
|
|
|
Subsignal("rxn", Pins("X")),
|
2015-04-13 08:55:26 -04:00
|
|
|
),
|
2015-01-19 12:40:32 -05:00
|
|
|
]
|
|
|
|
|
2015-04-13 09:12:39 -04:00
|
|
|
|
2015-04-08 18:00:25 -04:00
|
|
|
class Platform(XilinxPlatform):
|
2015-04-13 08:55:26 -04:00
|
|
|
def __init__(self, device="xc7k325t", programmer=""):
|
|
|
|
XilinxPlatform.__init__(self, device, _io)
|
2015-01-19 12:40:32 -05:00
|
|
|
|
2015-04-13 08:55:26 -04:00
|
|
|
def do_finalize(self, *args, **kwargs):
|
|
|
|
pass
|