diff --git a/.github/scripts/build-examples.sh b/.github/scripts/build-examples.sh index c11b173..6d7a93c 100755 --- a/.github/scripts/build-examples.sh +++ b/.github/scripts/build-examples.sh @@ -99,6 +99,24 @@ if [ "$fpga_family" = "xc7" ]; then "hello-d") snippets="${activate_env} projf-makefiles/hello/hello-arty/D/README.rst:hello-arty-D" ;; + "hello-e") + snippets="${activate_env} projf-makefiles/hello/hello-arty/E/README.rst:hello-arty-E" + ;; + "hello-f") + snippets="${activate_env} projf-makefiles/hello/hello-arty/F/README.rst:hello-arty-F" + ;; + "hello-g") + snippets="${activate_env} projf-makefiles/hello/hello-arty/G/README.rst:hello-arty-G" + ;; + "hello-h") + snippets="${activate_env} projf-makefiles/hello/hello-arty/H/README.rst:hello-arty-H" + ;; + "hello-i") + snippets="${activate_env} projf-makefiles/hello/hello-arty/I/README.rst:hello-arty-I" + ;; + "hello-j") + snippets="${activate_env} projf-makefiles/hello/hello-arty/J/README.rst:hello-arty-J" + ;; *) 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 6f1f4f3..067462c 100755 --- a/.github/scripts/generate_job_matrix.py +++ b/.github/scripts/generate_job_matrix.py @@ -11,7 +11,13 @@ examples = [ "hello-a", "hello-b", "hello-c", - "hello-d" + "hello-d", + "hello-e", + "hello-f", + "hello-g", + "hello-h", + "hello-i", + "hello-j" ] jobs = [] diff --git a/projf-makefiles/hello/hello-arty/E/Makefile b/projf-makefiles/hello/hello-arty/E/Makefile new file mode 100644 index 0000000..8e092a8 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/E/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/E + +TOP := top +SOURCES := ${proj_f_dir}/top.sv +XDC := ${proj_f_dir}/arty.xdc + +include ${current_dir}/../../../../common/Makefile diff --git a/projf-makefiles/hello/hello-arty/E/README.rst b/projf-makefiles/hello/hello-arty/E/README.rst new file mode 100644 index 0000000..ef35f5e --- /dev/null +++ b/projf-makefiles/hello/hello-arty/E/README.rst @@ -0,0 +1,16 @@ +Part 2 Design E +=============== + +This is the first design in Hello Arty part 2. This design blinks LED 0. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-E + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/E + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/E diff --git a/projf-makefiles/hello/hello-arty/F/Makefile b/projf-makefiles/hello/hello-arty/F/Makefile new file mode 100644 index 0000000..c3b2abf --- /dev/null +++ b/projf-makefiles/hello/hello-arty/F/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/F + +TOP := top +SOURCES := ${proj_f_dir}/top.sv +XDC := ${proj_f_dir}/arty.xdc + +include ${current_dir}/../../../../common/Makefile diff --git a/projf-makefiles/hello/hello-arty/F/README.rst b/projf-makefiles/hello/hello-arty/F/README.rst new file mode 100644 index 0000000..db0bc77 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/F/README.rst @@ -0,0 +1,16 @@ +Part 2 Design F +=============== + +This design blinks LEDs 0-3 at different frequencies. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-F + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/F + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/F diff --git a/projf-makefiles/hello/hello-arty/G/Makefile b/projf-makefiles/hello/hello-arty/G/Makefile new file mode 100644 index 0000000..b608da0 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/G/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/G + +TOP := top +SOURCES := ${proj_f_dir}/top.sv +XDC := ${proj_f_dir}/arty.xdc + +include ${current_dir}/../../../../common/Makefile diff --git a/projf-makefiles/hello/hello-arty/G/README.rst b/projf-makefiles/hello/hello-arty/G/README.rst new file mode 100644 index 0000000..aca0849 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/G/README.rst @@ -0,0 +1,16 @@ +Part 2 Design G +=============== + +This design strobes leds 0-3. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-G + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/G + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/G diff --git a/projf-makefiles/hello/hello-arty/H/Makefile b/projf-makefiles/hello/hello-arty/H/Makefile new file mode 100644 index 0000000..1346ac8 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/H/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/H + +TOP := top +SOURCES := ${proj_f_dir}/top.sv +XDC := ${proj_f_dir}/arty.xdc + +include ${current_dir}/../../../../common/Makefile diff --git a/projf-makefiles/hello/hello-arty/H/README.rst b/projf-makefiles/hello/hello-arty/H/README.rst new file mode 100644 index 0000000..9918bf9 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/H/README.rst @@ -0,0 +1,16 @@ +Part 2 Design H +=============== + +This design controls the brightness of LEDs 0-3 by using a PWM. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-H + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/H + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/H diff --git a/projf-makefiles/hello/hello-arty/I/Makefile b/projf-makefiles/hello/hello-arty/I/Makefile new file mode 100644 index 0000000..aed7b37 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/I/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/I + +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/I/README.rst b/projf-makefiles/hello/hello-arty/I/README.rst new file mode 100644 index 0000000..60f07aa --- /dev/null +++ b/projf-makefiles/hello/hello-arty/I/README.rst @@ -0,0 +1,16 @@ +Part 2 Design I +=============== + +This design allows you to control the brightness of each LED on the arty board using a PWM with different duty cycles. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-I + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/I + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/I diff --git a/projf-makefiles/hello/hello-arty/J/Makefile b/projf-makefiles/hello/hello-arty/J/Makefile new file mode 100644 index 0000000..594ab82 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/J/Makefile @@ -0,0 +1,8 @@ +current_dir := ${CURDIR} +proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/J + +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/J/README.rst b/projf-makefiles/hello/hello-arty/J/README.rst new file mode 100644 index 0000000..2803884 --- /dev/null +++ b/projf-makefiles/hello/hello-arty/J/README.rst @@ -0,0 +1,16 @@ +Part 2 Design J +=============== + +This design controls the color of each of the 4 RGB LEDs on the arty using a PWM. +To build this design run the following command in the main symbiflow directory: + +.. code:: bash + :name: hello-arty-J + + TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/J + +You can then download the bitstream by running: + +.. code:: bash + + TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/J