Posted on 2006-12-27 10:03:22-08 by guc
How to use read_libraries to resolve the reference?

Hi,

I have two verilog netlist files, top.wrap.v and std.v.

The std.v is a standard cell library.

The top.wrap.v uses the standard cells of the std.v.

My Perl code:

================================================

#!/usr/bin/perl -w

use Verilog::Netlist;

$netlist_file = "top.wrap.v";

my $nl = new Verilog::Netlist();

$nl->read_file(filename=>$netlist_file);

$nl->link();

$nl->lint();

$nl->exit_if_error();

================================================

After excuting, appears the below messages.

%Error: top.wrap.v:21154: Cannot find AND2X2

%Error: top.wrap.v:21735: Cannot find MX2X4

%Error: top.wrap.v:21487: Cannot find NOR3BXL

%Error: top.wrap.v:22771: Cannot find AO22XL

%Error: top.wrap.v:21729: Cannot find INVX4

%Error: top.wrap.v:21086: Cannot find AOI22X1

...

If I want to use read_libraries method to resolve the reference problem,

can you tell me how to do ?

Thank you very much.

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.