All part 1 designs
Signed-off-by: Joshua Fife <jpfife17@gmail.com>
This commit is contained in:
parent
02d2a3021e
commit
3bf32d5532
|
@ -90,6 +90,15 @@ if [ "$fpga_family" = "xc7" ]; then
|
|||
"hello-a")
|
||||
snippets="${activate_env} projf-makefiles/hello/hello-arty/A/README.rst:hello-arty-a"
|
||||
;;
|
||||
"hello-b")
|
||||
snippets="${activate_env} projf-makefiles/hello/hello-arty/B/README.rst:hello-arty-B"
|
||||
;;
|
||||
"hello-c")
|
||||
snippets="${activate_env} projf-makefiles/hello/hello-arty/C/README.rst:hello-arty-C"
|
||||
;;
|
||||
"hello-d")
|
||||
snippets="${activate_env} projf-makefiles/hello/hello-arty/D/README.rst:hello-arty-D"
|
||||
;;
|
||||
*)
|
||||
echo "ERROR: Unknown example name: $example" >&2
|
||||
exit 1
|
||||
|
|
|
@ -8,7 +8,10 @@ examples = [
|
|||
"button_controller",
|
||||
"pulse_width_led",
|
||||
"timer",
|
||||
"hello-a"
|
||||
"hello-a",
|
||||
"hello-b",
|
||||
"hello-c",
|
||||
"hello-d"
|
||||
]
|
||||
|
||||
jobs = []
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
current_dir := ${CURDIR}
|
||||
proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/B
|
||||
|
||||
TOP := top
|
||||
SOURCES := ${proj_f_dir}/top.sv
|
||||
XDC := ${proj_f_dir}/arty.xdc
|
||||
|
||||
include ${current_dir}/../../../../common/Makefile
|
|
@ -0,0 +1,16 @@
|
|||
Part 1 Design B
|
||||
===============
|
||||
|
||||
This design allows you to turn four LEDs on and off with switches 0 and 1. Control LEDs 0 and 1 with switch 0 and LEDs
|
||||
2 and 3 with switch 1. To build this design run the following in the root symbiflow-example directory:
|
||||
|
||||
.. code:: bash
|
||||
:name: hello-arty-B
|
||||
|
||||
TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/B"
|
||||
|
||||
You can then download the bitstream by running:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/B"
|
|
@ -0,0 +1,8 @@
|
|||
current_dir := ${CURDIR}
|
||||
proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/C
|
||||
|
||||
TOP := top
|
||||
SOURCES := ${proj_f_dir}/top.sv
|
||||
XDC := ${proj_f_dir}/arty.xdc
|
||||
|
||||
include ${current_dir}/../../../../common/Makefile
|
|
@ -0,0 +1,17 @@
|
|||
Part 1 Design C
|
||||
===============
|
||||
|
||||
This design has the same functionality in hardware as part C but demonstrates
|
||||
the use of conditional operators in System Verilog. To build this design run the
|
||||
following command in the main symbiflow directory:
|
||||
|
||||
.. code:: bash
|
||||
:name: hello-arty-C
|
||||
|
||||
TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/C"
|
||||
|
||||
You can then download the bitstream by running:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/C"
|
|
@ -0,0 +1,8 @@
|
|||
current_dir := ${CURDIR}
|
||||
proj_f_dir := ${current_dir}/../../../../third_party/projf-explore/hello/hello-arty/D
|
||||
|
||||
TOP := top
|
||||
SOURCES := ${proj_f_dir}/top.sv
|
||||
XDC := ${proj_f_dir}/arty.xdc
|
||||
|
||||
include ${current_dir}/../../../../common/Makefile
|
|
@ -0,0 +1,16 @@
|
|||
Part 1 Design D
|
||||
===============
|
||||
|
||||
This design is the fourth design from Part 1 of Hello Arty. To build this design run the following
|
||||
command in the main symbiflow directory:
|
||||
|
||||
.. code:: bash
|
||||
:name: hello-arty-D
|
||||
|
||||
TARGET="arty_35" make -C projf-makefiles/hello/hello-arty/D"
|
||||
|
||||
You can then download the bitstream by running:
|
||||
|
||||
.. code:: bash
|
||||
|
||||
TARGET="arty_35" make download -C projf-makefiles/hello/hello-arty/D"
|
Loading…
Reference in New Issue