jopdorp / nand2tetris-verilog

MIT License
19 stars 7 forks source link

testbenches have syntax errors? #1

Closed bobmounger closed 4 years ago

bobmounger commented 4 years ago

Running Python 2.7.17 on ubuntu 18.04. Followed the instructions & when I tried to test not_n2t.sv I see

Starting compilation of project 01... iverilog -grelative-include -g2012 -o ./build/not_n2t_tb.sv.vvp /home/bobmounger/nand2tetris-verilog/01/not_n2t_tb.sv /home/bobmounger/nand2tetris-verilog/01/not_n2t_tb.sv:11: syntax error /home/bobmounger/nand2tetris-verilog/01/not_n2t_tb.sv:12: error: malformed statement /home/bobmounger/nand2tetris-verilog/01/not_n2t_tb.sv:13: syntax error I give up. Error while compiling not_n2t_tb.sv Error code: 4

python3 gives same result

bobmounger commented 4 years ago

rebooted & problem went away