Can I ask, how I compile multiple files with icarus verilog?

I have a file "test.v" , which have 2 includes :


`include "in1.v"

`include "in2.v"

If I do "iverilog test.v", it throws the following message :

"test.v:51: Include file in1.v not found No top level modules, and no -s option."

I also tried "iverilog test.v ~/...absolute_path/in1.v ~/...absolute_path/in2.v" ,

but it stills shows the same message,

does anyone know what to do?

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.