added hello arty part 2
Signed-off-by: Joshua Fife <jpfife17@gmail.com>
This commit is contained in:
parent
3bf32d5532
commit
5311e553ab
|
@ -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
|
||||
|
|
|
@ -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 = []
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue