mirror of
https://github.com/im-tomu/fomu-workshop.git
synced 2024-09-20 03:10:12 +00:00
51 lines
825 B
Bash
Executable File
51 lines
825 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd $(dirname "$0")/../hdl
|
|
|
|
echo '::group::Verilog Blink example'
|
|
(
|
|
set -x
|
|
cd verilog/blink
|
|
make FOMU_REV=pvt clean blink.bit
|
|
[ -f blink.bit ]
|
|
)
|
|
echo '::endgroup::'
|
|
|
|
echo '::group::Verilog Blink (expanded) example for Hacker board'
|
|
(
|
|
set -x
|
|
cd verilog/blink-expanded
|
|
make FOMU_REV=hacker clean blink.bit
|
|
[ -f blink.bit ]
|
|
)
|
|
echo '::endgroup::'
|
|
|
|
echo '::group::Verilog Blink (expanded) example for PVT board'
|
|
(
|
|
set -x
|
|
cd verilog/blink-expanded
|
|
make FOMU_REV=pvt clean blink.bit
|
|
[ -f blink.bit ]
|
|
)
|
|
echo '::endgroup::'
|
|
|
|
echo '::group::VHDL Blink example'
|
|
(
|
|
set -x
|
|
cd vhdl/blink
|
|
make FOMU_REV=pvt clean blink.bit
|
|
[ -f blink.bit ]
|
|
)
|
|
echo '::endgroup::'
|
|
|
|
echo '::group::Mixed HDL Blink example'
|
|
(
|
|
set -x
|
|
cd mixed/blink
|
|
make FOMU_REV=pvt clean blink.bit
|
|
[ -f blink.bit ]
|
|
)
|
|
echo '::endgroup::'
|