Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Synopsys DC Library Question

Status
Not open for further replies.

sampham04

Junior Member level 2
Joined
Jul 7, 2011
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,492
Hi,

In Synopsys DC I tried analyzing and elaborating two files I have like this:

analyze -f verilog lib/GSCLib_3.0.v
analyze -f verilog src-Trojan-free/uart_scan.v
elaborate uart

but I get the following warnings:
Information: Building the design 'udp_mux2'. (HDL-193)
Warning: Cannot find the design 'udp_mux2' in the library 'WORK'. (LBR-1)
Information: Building the design 'udp_dff'. (HDL-193)
Warning: Cannot find the design 'udp_dff' in the library 'WORK'. (LBR-1)
Warning: Design 'uart' has '3' unresolved references. For more detailed information, use the "link" command. (UID-341)

I know that udp_mux2 and udp_dff are primitives in lib/GSCLib_3.0.v so I don't understand why they cannot be found. Should I be analyzing the file differently? Or is this a warning that I can just ignore?

Thanks!
 
Last edited:

Library primitives (AND, OR, NOT, DFF...) should be in Liberty (.lib) format.
I think you need:
- set GSCLib_3.0.lib as link_library
- don't analyze GSCLib_3.0.v
 

The reason I have to analyze the GSCLib_3.0.v file is because the uart_scan.v file that I have was synthesized in Cadence. All the library primitives that Cadence uses are in the GSCLib_3.0.v file. Using this file the normal (and, or, not, dff...) primitives that are used in the uart_scan.v file can be found except for the udp's that I mentioned earlier.
 

RTL Compiler (from Cadence) also needs .lib file to synthesize.
 

Right, I think whoever synthesized the circuit in Cadence used the .lib file, but I'm now trying to use this Cadence synthesized code with the Synopsys tools I have because I am unfamiliar with Cadence. The person provided the library in Verilog code so that the definitions of the modules that Cadence uses are available. I'm just having trouble getting the user defined primitives into the library that the Design Compiler is looking at. There are definitions of modules that define all the ands and ors used, and by analyzing the lib/GSCLib_3.0.v file those definitions can be used in the uart_scan.v file in the Design Compiler. For some reason, unlike the modules in GSCLib_3.0.v, the user defined primitives are not being added as designs to the library so that they can be found while elaborating uart_scan.v.
 

I understand your problem, but DC needs timing and functional information from .lib. Even if you somehow find udp_mux2/udp_dff verilog source code you can't synthesize your module or make timing analysis or power analysis using DC. Verilog files doesn't contain all necessary information.
Try to find GSCLib.lib inside Cadence install directory.
 

make sure your search paths have *
Here * means all design libraries you have analysed.
 

So, if I find that .lib file with the time and power analysis information then I just include that into the library and it will work? Would I just analyze it to include it to the library or do I need to use another command?

I have a .sdf file that has timing information, but I think that the link_library will only take .db files.
 
Last edited:

To create .db file you need:
1. Open DC
2. read_lib gsclib.lib
3. write_lib gsclib -o gsclib.db

To use it
set target_library gsclib.db
set link_library { * gsclib.db }
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top