wrappers: sh: ql: add fasm2bels script

Signed-off-by: Paweł Czarnecki <pczarnecki@antmicro.com>
This commit is contained in:
Paweł Czarnecki 2022-06-06 10:44:30 +02:00
parent e87f6b122d
commit ecbd6951e6
3 changed files with 7 additions and 1 deletions

View File

@ -71,6 +71,7 @@ wrapper_entrypoints = [
f"{sf}_generate_bitstream = {shwrappers}:generate_bitstream",
f"{sf}_generate_constraints = {shwrappers}:generate_constraints",
f"{sf}_analysis = {shwrappers}:analysis",
f"{sf}_fasm2bels = {shwrappers}:fasm2bels",
f"ql_{sf} = {shwrappers}:ql",
f"vpr_common = {shwrappers}:vpr_common",
]

View File

@ -117,3 +117,8 @@ def generate_libfile():
def ql():
print("[F4PGA] Running (deprecated) ql")
run_sh(ROOT / "quicklogic/ql.f4pga.sh")
def fasm2bels():
print("[F4PGA] Running (deprecated) fasm2bels")
run_sh(ROOT / "quicklogic/fasm2bels.f4pga.sh")

2
f4pga/wrappers/sh/quicklogic/fasm2bels.f4pga.sh Normal file → Executable file
View File

@ -19,7 +19,7 @@
set -e
SHARE_DIR_PATH=${SHARE_DIR_PATH:="$F4PGA_ENV_SHARE"}
BIN_DIR_PATH=${BIN_DIR_PATH:="$F4PGA_BIN_SHARE"}
BIN_DIR_PATH=${BIN_DIR_PATH:="$F4PGA_ENV_BIN"}
OPTS=d:P:p:b:
LONGOPTS=device:,part:,pcf:,bit:,