Merge pull request #351 from antmicro/umarcor/eos-s3/dump

eos-s3/btn_counter/Makefile: dump jlink,openocd,header,binary
This commit is contained in:
Karol Gugala 2022-08-03 14:21:48 +02:00 committed by GitHub
commit 11986eaca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 14 deletions

View File

@ -15,4 +15,4 @@
# SPDX-License-Identifier: Apache-2.0 # SPDX-License-Identifier: Apache-2.0
python-constraint python-constraint
https://github.com/chipsalliance/f4pga/archive/c342fc6ff1684f3dc6072713730ac9fc574ab2f3.zip#subdirectory=f4pga https://github.com/chipsalliance/f4pga/archive/cad8afe0842cd73f5b73949fa12eab1fda326055.zip#subdirectory=f4pga

View File

@ -20,14 +20,14 @@ Select your FPGA family:
.. code-block:: bash .. code-block:: bash
:name: fpga-fam-xc7 :name: fpga-fam-xc7
FPGA_FAM="xc7" export FPGA_FAM="xc7"
.. group-tab:: EOS S3 .. group-tab:: EOS S3
.. code-block:: bash .. code-block:: bash
:name: fpga-fam-eos-s3 :name: fpga-fam-eos-s3
FPGA_FAM="eos-s3" export FPGA_FAM="eos-s3"
Next, prepare the environment: Next, prepare the environment:

View File

@ -1,14 +1,19 @@
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
current_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
TOP:=top
VERILOG:=btn_counter.v
DEVICE := ql-eos-s3
PARTNAME := PD64
PCF:=chandalar.pcf
ifdef F4PGA_USE_DEPRECATED ifdef F4PGA_USE_DEPRECATED
all: all:
ql_symbiflow -compile -d ${DEVICE} -P ${PARTNAME} -v ${VERILOG} -t ${TOP} -p ${PCF} # -d: Device
# -P: Part name
# -v: Verilog source
# -t: Top
# -p: PCF Constrains
ql_symbiflow -compile \
-d ql-eos-s3 \
-P PD64 \
-v btn_counter.v \
-t top \
-p chandalar.pcf \
-dump openocd \
-dump header \
-dump binary
else else
all: all:
f4pga -vvv build --flow ./flow.json f4pga -vvv build --flow ./flow.json

View File

@ -7,6 +7,4 @@ counter example, run the following command:
.. code-block:: bash .. code-block:: bash
:name: eos-s3-counter :name: eos-s3-counter
#FIXME: make sure FPGA_FAM is available and remove env var export
export FPGA_FAM=eos-s3
make -C btn_counter make -C btn_counter