tenso
Advanced Member level 4
- Joined
- Feb 18, 2015
- Messages
- 110
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Activity points
- 2,400
Ok so I was following this tutorial to do verilog simulations in iverilog.
https://iverilog.wikia.com/wiki/GTKWAVE
Both counter.v and counter_tb.v compiled fine and I was able to get the wave forms like it says with GTKWave.
Now I tried to compile the same .v files with VCS and this was the error I ended up getting.
I did compile with +v2k option but it created a bunch of files and directories. Can anyone explain why I got this error? It doesn't seem to like that I used reg.
Also does what does the +v2k option do? I was looking for an executable that I could run with the -gui option so that I could look at the signals in DVE.
https://iverilog.wikia.com/wiki/GTKWAVE
Both counter.v and counter_tb.v compiled fine and I was able to get the wave forms like it says with GTKWave.
Now I tried to compile the same .v files with VCS and this was the error I ended up getting.
Code:
Error-[V2KS] Verilog 2000 IEEE 1364-2000 syntax used. Please compile with +v2k
to support this construct
I did compile with +v2k option but it created a bunch of files and directories. Can anyone explain why I got this error? It doesn't seem to like that I used reg.
Also does what does the +v2k option do? I was looking for an executable that I could run with the -gui option so that I could look at the signals in DVE.