@@ -29,28 +29,29 @@ jobs:
29
29
env :
30
30
GHDL_OPTS : " --std=93c --ieee=synopsys --time-resolution=ps --workdir=./sim/work"
31
31
steps :
32
- - uses : actions/checkout@v1
33
- - uses : ghdl/setup-ghdl-ci@nightly
32
+ - uses : actions/checkout@v4
33
+ - uses : ghdl/setup-ghdl@v1
34
34
with :
35
+ version : nightly
35
36
backend : mcode
36
37
- name : Prepare
37
38
run : |
38
39
ghdl --version
39
40
mkdir -p ./sim/work
40
41
- name : tiny_uart_inp_filter
41
42
run : |
42
- ghdl -a ${GHDL_OPTS} . /hdl/tiny_uart_inp_filter.vhd
43
- ghdl -a ${GHDL_OPTS} . /tb/tiny_uart_inp_filter_tb.vhd
43
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /hdl/tiny_uart_inp_filter.vhd
44
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /tb/tiny_uart_inp_filter_tb.vhd
44
45
((ghdl -r ${GHDL_OPTS} tiny_uart_inp_filter_tb -gDO_ALL_TEST=True) || if [ $? -ne 0 ]; then echo "[ FAIL ] tiny_uart_inp_filter_tb"; exit 1; fi)
45
46
- name : tiny_uart_baud_bit_gen
46
47
run : |
47
- ghdl -a ${GHDL_OPTS} . /hdl/tiny_uart_baud_bit_gen.vhd
48
- ghdl -a ${GHDL_OPTS} . /tb/tiny_uart_baud_bit_gen_tb.vhd
48
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /hdl/tiny_uart_baud_bit_gen.vhd
49
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /tb/tiny_uart_baud_bit_gen_tb.vhd
49
50
((ghdl -r ${GHDL_OPTS} tiny_uart_baud_bit_gen_tb -gDO_ALL_TEST=True) || if [ $? -ne 0 ]; then echo "[ FAIL ] tiny_uart_baud_bit_gen_tb"; exit 1; fi)
50
51
- name : tiny_uart
51
52
run : |
52
- ghdl -a ${GHDL_OPTS} . /hdl/tiny_uart_inp_filter.vhd
53
- ghdl -a ${GHDL_OPTS} . /hdl/tiny_uart_baud_bit_gen.vhd
54
- ghdl -a ${GHDL_OPTS} . /hdl/tiny_uart.vhd
55
- ghdl -a ${GHDL_OPTS} . /tb/tiny_uart_tb.vhd
53
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /hdl/tiny_uart_inp_filter.vhd
54
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /hdl/tiny_uart_baud_bit_gen.vhd
55
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /hdl/tiny_uart.vhd
56
+ ghdl -a ${GHDL_OPTS} ${GITHUB_WORKSPACE} /tb/tiny_uart_tb.vhd
56
57
((ghdl -r ${GHDL_OPTS} tiny_uart_tb -gDO_ALL_TEST=True) || if [ $? -ne 0 ]; then echo "[ FAIL ] tiny_uart_tb"; exit 1; fi)
0 commit comments