I’m a beginner to Verilog, and when I try to run this basic program like this, it does not seem to work. Can anyone help? For context, I run Ubuntu 22.04.4 and used “sudo apt install iverilog” and “sudo apt install gtkwave” prior to this, and also installed the Verilog-HDL/SystemVerilog/Bluespec SystemVerilog on VSC. code and error
I tried to print 6/2, which would output 3, but was instead told that I did not have a top level module and no -s option.
1