Merge pull request #462 from ironsteel/trellis-12k
Add support for ecp5 12k device in trellis.py
This commit is contained in:
commit
44746870a7
|
@ -86,7 +86,7 @@ def main():
|
||||||
parser.add_argument("--gateware-toolchain", dest="toolchain", default="trellis",
|
parser.add_argument("--gateware-toolchain", dest="toolchain", default="trellis",
|
||||||
help="gateware toolchain to use, trellis (default) or diamond")
|
help="gateware toolchain to use, trellis (default) or diamond")
|
||||||
parser.add_argument("--device", dest="device", default="LFE5U-45F",
|
parser.add_argument("--device", dest="device", default="LFE5U-45F",
|
||||||
help="FPGA device, ULX3S can be populated with LFE5U-45F (default) or LFE5U-85F")
|
help="FPGA device, ULX3S can be populated with LFE5U-12F, LFE5U-25F, LFE5U-45F (default) or LFE5U-85F")
|
||||||
parser.add_argument("--sys-clk-freq", default=50e6,
|
parser.add_argument("--sys-clk-freq", default=50e6,
|
||||||
help="system clock frequency (default=50MHz)")
|
help="system clock frequency (default=50MHz)")
|
||||||
parser.add_argument("--sdram-module", default="MT48LC16M16",
|
parser.add_argument("--sdram-module", default="MT48LC16M16",
|
||||||
|
|
|
@ -97,6 +97,7 @@ def nextpnr_ecp5_parse_device(device):
|
||||||
return (family, size, speed_grade, package)
|
return (family, size, speed_grade, package)
|
||||||
|
|
||||||
nextpnr_ecp5_architectures = {
|
nextpnr_ecp5_architectures = {
|
||||||
|
"lfe5u-12f" : "12k",
|
||||||
"lfe5u-25f" : "25k",
|
"lfe5u-25f" : "25k",
|
||||||
"lfe5u-45f" : "45k",
|
"lfe5u-45f" : "45k",
|
||||||
"lfe5u-85f" : "85k",
|
"lfe5u-85f" : "85k",
|
||||||
|
|
Loading…
Reference in New Issue