From e528fbd7a238ed8fe6a04ef95e593e2c0fd88426 Mon Sep 17 00:00:00 2001 From: Joshua Fife Date: Sat, 23 Oct 2021 19:50:28 -0600 Subject: [PATCH] hello arty part 3 Signed-off-by: Joshua Fife --- .github/scripts/build-examples.sh | 6 ++++++ .github/scripts/generate_job_matrix.py | 4 +++- projf-makefiles/hello/hello-arty/K/Makefile | 8 ++++++++ projf-makefiles/hello/hello-arty/K/README.rst | 16 ++++++++++++++++ projf-makefiles/hello/hello-arty/L/Makefile | 8 ++++++++ projf-makefiles/hello/hello-arty/L/README.rst | 16 ++++++++++++++++ 6 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 projf-makefiles/hello/hello-arty/K/Makefile create mode 100644 projf-makefiles/hello/hello-arty/K/README.rst create mode 100644 projf-makefiles/hello/hello-arty/L/Makefile create mode 100644 projf-makefiles/hello/hello-arty/L/README.rst diff --git a/.github/scripts/build-examples.sh b/.github/scripts/build-examples.sh index 6d7a93c..d1616cc 100755 --- a/.github/scripts/build-examples.sh +++ b/.github/scripts/build-examples.sh @@ -117,6 +117,12 @@ if [ "$fpga_family" = "xc7" ]; then "hello-j") snippets="${activate_env} projf-makefiles/hello/hello-arty/J/README.rst:hello-arty-J" ;; + "hello-k") + snippets="${activate_env} projf-makefiles/hello/hello-arty/K/README.rst:hello-arty-K" + ;; + "hello-l") + snippets="${activate_env} projf-makefiles/hello/hello-arty/L/README.rst:hello-arty-L" + ;; *) echo "ERROR: Unknown example name: $example" >&2 exit 1 diff --git a/.github/scripts/generate_job_matrix.py b/.github/scripts/generate_job_matrix.py index 067462c..85a042a 100755 --- a/.github/scripts/generate_job_matrix.py +++ b/.github/scripts/generate_job_matrix.py @@ -17,7 +17,9 @@ examples = [ "hello-g", "hello-h", "hello-i", - "hello-j" + "hello-j", + "hello-k", + "hello-l" ] jobs = [] diff --git a/projf-makefiles/hello/hello-arty/K/Makefile b/projf-makefiles/hello/hello-arty/K/Makefile new file mode 100644 index 0000000..577921d --- /dev/null +++ b/projf-makefiles/hello/hello-arty/K/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/K + +TOP := top +SOURCES := ${proj_f_dir}/*.sv +XDC := ${proj_f_dir}/arty.xdc + +include ${current_dir}/../../../../common/Makefile diff --git a/projf-makefiles/hello/hello-arty/K/README.rst b/projf-makefiles/hello/hello-arty/K/README.rst new file mode 100644 index 0000000..56ee862 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/K/README.rst @@ -0,0 +1,16 @@ +Part 3 Design K +=============== + +This is the first part of the traffic light example from project F. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-K + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/K" + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/K" diff --git a/projf-makefiles/hello/hello-arty/L/Makefile b/projf-makefiles/hello/hello-arty/L/Makefile new file mode 100644 index 0000000..66206a7 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/L/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/L + +TOP := top +SOURCES := ${proj_f_dir}/*.sv +XDC := ${proj_f_dir}/arty.xdc + +include ${current_dir}/../../../../common/Makefile diff --git a/projf-makefiles/hello/hello-arty/L/README.rst b/projf-makefiles/hello/hello-arty/L/README.rst new file mode 100644 index 0000000..bbc4a58 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/L/README.rst @@ -0,0 +1,16 @@ +Part 3 Design L +=============== + +This is the second part of the traffic light example from project F. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-L + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/L" + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/L"