in reply to Re^2: how to split file with some pattern (Verilog)
in thread how to split file with some pattern

Some nodes which may help:
  • Comment on Re^3: how to split file with some pattern (Verilog)

Replies are listed 'Best First'.
Re^4: how to split file with some pattern (Verilog)
by herman4016 (Acolyte) on Jan 26, 2015 at 10:10 UTC
    i try the following codes but i got the error, please help!
    %Error: ./soc.post.PG.simple.v:9313: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:8877: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:9305: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:9277: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:10744: Module/Program/Interface referen +ce not found: MUX2ND2BWP7THVT %Error: ./soc.post.PG.simple.v:10281: Module/Program/Interface referen +ce not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:9473: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:10634: Module/Program/Interface referen +ce not found: BUFFD4BWP7THVT %Error: ./soc.post.PG.simple.v:11134: Module/Program/Interface referen +ce not found: BUFFD4BWP7THVT %Error: ./soc.post.PG.simple.v:8193: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:10073: Module/Program/Interface referen +ce not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:8137: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:11016: Module/Program/Interface referen +ce not found: INVD4BWP7THVT %Error: ./soc.post.PG.simple.v:10516: Module/Program/Interface referen +ce not found: INVD4BWP7THVT %Error: ./soc.post.PG.simple.v:8761: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:11358: Module/Program/Interface referen +ce not found: TIELBWP7THVT %Error: ./soc.post.PG.simple.v:9053: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT %Error: ./soc.post.PG.simple.v:8629: Module/Program/Interface referenc +e not found: HDRDID2BWP7THVT
    #!/usr/bin/perl use strict; use warnings; use Verilog::Netlist; # prepare netlist my $nl = new Verilog::Netlist(); $nl->read_file(filename => './soc.post.PG.simple.v'); # read in any sub modules $nl->link(); $nl->lint(); $nl->exit_if_error(); my $module = $nl->find_module("soc"); $module->link(); $module->lint(); $module->exit_if_error(); print '*'.$module->name."*\n";
      I can't reproduce your problem because I don't have your input file. Debugging 101: remove most of the code from your input file until it passes, then start adding code back in until you identify your problem.