A brief go through for writing and simulating verilog codes using open source softwares- iverilog and GTKwave
These can be downloaded and installed from the source below: http://bleyer.org/icarus/
- select your suitable version and install using "Complete Installation(Installs GTKwave also)" option.
- Also check 'add to path' option while installing.
In here I have used vscode powershell/terminal only to run the commands below directly.
After the UI open select the module, and then select and put the available signals to view window.