File tree Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Expand file tree Collapse file tree 2 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 11# !/usr/bin/make
22
3- DOCKER_CMD =docker run --rm -it -v $$HOME:$$HOME -w $$PWD ghdl/synth:beta
3+ COMMAND =docker run --rm -it -v $$HOME:$$HOME -w $$PWD ghdl/synth:beta bash
44
5- COMMAND =bash
5+ all : vhdl vlog
66
77vlog vhdl :
8- $(DOCKER_CMD ) $( COMMAND ) $@ .sh
8+ $(COMMAND ) $@ .sh
99
1010clean :
1111 rm -fr * .cf
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ FLAGS=" --std=08 -fsynopsys -fexplicit -frelaxed"
6+
7+ ghdl -a $FLAGS --work=blink_lib ../resources/vhdl/blink.vhdl
8+ ghdl -a $FLAGS --work=blink_lib ../resources/vhdl/blink_pkg.vhdl
9+ ghdl -a $FLAGS ../resources/vhdl/top.vhdl
10+
11+ GENERICS=" -gBOO=true -gINT=255 -gLOG='1' -gVEC=" 11111111" -gCHR='Z' -gSTR=" WXYZ" -gSKIP_REA=1"
12+
13+ yosys -Q -m ghdl -p "
14+ ghdl $FLAGS $GENERICS Top ARCH_SEL;
15+ synth -top Top
16+ "
17+
You can’t perform that action at this time.
0 commit comments