verilog how to integrate other modules code example
Example: verilog import module
`include "folder/sub.sv"
module top;
sub sub_i(
.a(),
.b()
...
`include "folder/sub.sv"
module top;
sub sub_i(
.a(),
.b()
...