.lib files with Primetime

Status
Not open for further replies.

maverick_mind

Newbie level 4
Joined
Apr 24, 2006
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,334
primetime .lib files

Primetime:

For libraries is it possible to link in .lib format instead of .db format?

e.g.
link_path mylib.lib
link_design

pt gives an error: "Not in DB format (DB-1) "
My question is whether a .db format is always required? OR .lib format is also acceptable?

thanks and regards,
 

.lib for primetime

I think primetime will use .db only. if u have library compiler in dc u can convert .lib into .db

Thanks

Regards
Shankar
 

*. lib files are text file, you can open it with text editor. Then you can see the detailed timing and physical information about cells.
Usually, pt and dc read *.db format.
 

You can use .lib in PT.
PT will accept.
 

PT doesnt have a lib to db compiler so it needs it in db format only.
Its same,,like you can not give RTL files( non-netlist in PT).
 

You can use the .lib file directly in PrimeTime without going through a .lib to .db conversion. The flow in PrimeTime would be:

read_lib library.lib

The library name (not the filename) should now be added to the link_library variable:

set link_library {* library_name}

Now if you read the in the design and link it, the tool will use the library properly. In the above example, the script should change to:

read_lib class.lib
set link_path "* class"
read_verilog test.v
link

Note, in the link_path, it's just "class" not "class.db". If you have more than one library that you need to read in with "read_lib" command, you can do:

read_lib lib1.lib
read_lib lib2.lib
read_lib lib3.lib
set link_path "*"
foreach_in_collection mylib [get_libs *] {
lappend link_path [get_object_name $mylib]
}
read_verilog test.v
link
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…