vendor.quicklogic: part→package
This commit is contained in:
parent
14a5c42a8b
commit
0ef01b1282
|
@ -12,6 +12,7 @@ class QuicklogicPlatform(TemplatedPlatform):
|
||||||
"""
|
"""
|
||||||
Symbiflow toolchain
|
Symbiflow toolchain
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
Required tools:
|
Required tools:
|
||||||
* ``symbiflow_synth``
|
* ``symbiflow_synth``
|
||||||
* ``symbiflow_pack``
|
* ``symbiflow_pack``
|
||||||
|
@ -19,14 +20,16 @@ class QuicklogicPlatform(TemplatedPlatform):
|
||||||
* ``symbiflow_route``
|
* ``symbiflow_route``
|
||||||
* ``symbiflow_write_fasm``
|
* ``symbiflow_write_fasm``
|
||||||
* ``symbiflow_write_bitstream``
|
* ``symbiflow_write_bitstream``
|
||||||
|
|
||||||
The environment is populated by running the script specified in the environment variable
|
The environment is populated by running the script specified in the environment variable
|
||||||
``NMIGEN_ENV_QLSymbiflow``, if present.
|
``NMIGEN_ENV_QLSymbiflow``, if present.
|
||||||
|
|
||||||
Available overrides:
|
Available overrides:
|
||||||
* ``add_constraints``: inserts commands in XDC file.
|
* ``add_constraints``: inserts commands in XDC file.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
device = abstractproperty()
|
device = abstractproperty()
|
||||||
part = abstractproperty()
|
package = abstractproperty()
|
||||||
|
|
||||||
# Since the QuickLogic version of SymbiFlow toolchain is not upstreamed yet
|
# Since the QuickLogic version of SymbiFlow toolchain is not upstreamed yet
|
||||||
# we should distinguish the QuickLogic version from mainline one.
|
# we should distinguish the QuickLogic version from mainline one.
|
||||||
|
@ -82,7 +85,7 @@ class QuicklogicPlatform(TemplatedPlatform):
|
||||||
-v {% for file in platform.iter_extra_files(".v", ".sv", ".vhd", ".vhdl") -%} {{file}} {% endfor %} {{name}}.v
|
-v {% for file in platform.iter_extra_files(".v", ".sv", ".vhd", ".vhdl") -%} {{file}} {% endfor %} {{name}}.v
|
||||||
-d {{platform.device}}
|
-d {{platform.device}}
|
||||||
-p {{name}}.pcf
|
-p {{name}}.pcf
|
||||||
-P {{platform.part}}
|
-P {{platform.package}}
|
||||||
-x {{name}}.xdc
|
-x {{name}}.xdc
|
||||||
""",
|
""",
|
||||||
r"""
|
r"""
|
||||||
|
@ -97,7 +100,7 @@ class QuicklogicPlatform(TemplatedPlatform):
|
||||||
-d {{platform.device}}
|
-d {{platform.device}}
|
||||||
-p {{name}}.pcf
|
-p {{name}}.pcf
|
||||||
-n {{name}}.net
|
-n {{name}}.net
|
||||||
-P {{platform.part}}
|
-P {{platform.package}}
|
||||||
-s {{name}}.sdc
|
-s {{name}}.sdc
|
||||||
""",
|
""",
|
||||||
r"""
|
r"""
|
||||||
|
@ -116,7 +119,7 @@ class QuicklogicPlatform(TemplatedPlatform):
|
||||||
{{invoke_tool("symbiflow_write_bitstream")}}
|
{{invoke_tool("symbiflow_write_bitstream")}}
|
||||||
-f {{name}}.fasm
|
-f {{name}}.fasm
|
||||||
-d {{platform.device}}
|
-d {{platform.device}}
|
||||||
-P {{platform.part}}
|
-P {{platform.package}}
|
||||||
-b {{name}}.bit
|
-b {{name}}.bit
|
||||||
"""
|
"""
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue