A question about the .lib file,how to generate it?

Status
Not open for further replies.

altra

Junior Member level 1
Joined
Sep 7, 2003
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
201
I have some gds cell to use in my design .but I don't know how to convert my gds cell into my .lib file ,so I can convert it into .db file and use in synopsys design analyzer. who can tell me please? do i need some tools? :?:
 

hi,

since you're using Synopsis DC for synthesis you would need the .DB file, which is generated from ur .LIB using Library Compiler.

The .LIB file should be written by you and would contain the timing parameters and area of ur cells. Once completed, u must get it compiled using Library Compiler, that comes with the Synopsys DC suite, to obtain the .DB file.

To invoke Library Compiler, just type lc_shell in dos prompt.
 

thank you.my question is lu_table_template(tcb773ptc){
variable_1 : constrained_pin_transition
index_1("0.1,0.4,0.7,1,2");
variable_2 : related_pin_transition
index_2("0.1,0.4,0.7,1,2");
}
cell (AN2D1) {
area : 70 ;
cell_footprint : "an2d1"
pin(A1) {
direction : input;
capacitance : 0.00901 ;
fanout_load : 0.00901 ;
}
pin(A2) {
direction : input;
capacitance : 0.00913 ;
fanout_load : 0.00913 ;
}
pin(Z) {
direction : output;
max_transition : 2.0;
function : "(A1 A2)";
timing() {
timing_sense : "positive_unate"
related_pin : "A1"
cell_rise( tcb773ptc_Core5x6d1 ) {
values("0.2631, 0.3463, 0.6761, 1.0050, 1.4990, 1.8280", \
"0.2812, 0.3654, 0.6940, 1.0230, 1.5170, 1.8480", \
"0.3099, 0.3944, 0.7236, 1.0520, 1.5460, 1.8740", \
"0.3438, 0.4289, 0.7573, 1.0860, 1.5790, 1.9070", \
"0.3776, 0.4670, 0.8062, 1.1370, 1.6310, 1.9600");
}
rise_transition( tcb773ptc_Core5x6d1 ) {
values("0.2960, 0.4951, 1.2969, 2.1111, 3.3344, 4.1495", \
"0.3036, 0.4940, 1.2988, 2.1113, 3.3344, 4.1498", \
"0.3062, 0.5019, 1.3009, 2.1122, 3.3337, 4.1498", \
"0.3227, 0.5127, 1.3078, 2.1165, 3.3369, 4.1516", \
"0.3616, 0.5553, 1.3415, 2.1457, 3.3580, 4.1689");
}
cell_fall( tcb773ptc_Core5x6d1 ) {
values("0.2276, 0.2877, 0.5124, 0.7357, 1.0710, 1.2940", \
"0.2597, 0.3198, 0.5460, 0.7692, 1.1040, 1.3270", \
"0.3176, 0.3793, 0.6045, 0.8274, 1.1620, 1.3850", \
"0.4093, 0.4730, 0.6993, 0.9221, 1.2560, 1.4800", \
"0.6132, 0.6843, 0.9263, 1.1530, 1.4880, 1.7110");
}
fall_transition( tcb773ptc_Core5x6d1 ) {
values("0.1830, 0.2846, 0.7154, 1.1560, 1.8230, 2.2677", \
"0.1911, 0.2873, 0.7165, 1.1567, 1.8227, 2.2683", \
"0.2019, 0.2985, 0.7201, 1.1586, 1.8230, 2.2685", \
"0.2258, 0.3213, 0.7313, 1.1638, 1.8257, 2.2702", \
"0.2895, 0.3841, 0.7828, 1.2038, 1.8520, 2.2903");
}
}
timing() {
timing_sense : "positive_unate"
related_pin : "A2"
cell_rise( tcb773ptc_Core5x6d1 ) {
values("0.2602, 0.3442, 0.6746, 1.0030, 1.4970, 1.8260", \
"0.2670, 0.3516, 0.6816, 1.0110, 1.5040, 1.8330", \
"0.2785, 0.3630, 0.6923, 1.0210, 1.5140, 1.8430", \
"0.2837, 0.3704, 0.7000, 1.0280, 1.5210, 1.8500", \
"0.2354, 0.3275, 0.6745, 1.0090, 1.5030, 1.8320");
}
rise_transition( tcb773ptc_Core5x6d1 ) {
values("0.2944, 0.4949, 1.2975, 2.1116, 3.3339, 4.1500", \
"0.3022, 0.4947, 1.2980, 2.1117, 3.3338, 4.1500", \
"0.3089, 0.5001, 1.3011, 2.1125, 3.3340, 4.1500", \
"0.3267, 0.5150, 1.3095, 2.1167, 3.3363, 4.1509", \
"0.3707, 0.5667, 1.3559, 2.1570, 3.3678, 4.1758");
}
cell_fall( tcb773ptc_Core5x6d1 ) {
values("0.2397, 0.3009, 0.5258, 0.7494, 1.0840, 1.3080", \
"0.2775, 0.3383, 0.5641, 0.7874, 1.1220, 1.3460", \
"0.3441, 0.4045, 0.6306, 0.8537, 1.1880, 1.4120", \
"0.4559, 0.5189, 0.7443, 0.9670, 1.3010, 1.5240", \
"0.7297, 0.7986, 1.0360, 1.2590, 1.5930, 1.8160");
}
fall_transition( tcb773ptc_Core5x6d1 ) {
values("0.1883, 0.2905, 0.7170, 1.1569, 1.8227, 2.2683", \
"0.1925, 0.2900, 0.7175, 1.1574, 1.8229, 2.2684", \
"0.2046, 0.3022, 0.7201, 1.1585, 1.8232, 2.2685", \
"0.2290, 0.3225, 0.7314, 1.1636, 1.8256, 2.2703", \
"0.3020, 0.3876, 0.7779, 1.1976, 1.8453, 2.2843");
}
}

}
internal_power( tcb773ptc_Core5x6d1 ) {
values("0.2755, 0.2931, 0.2654, 0.3024, 0.3278, 0.3071", \
"0.3157, 0.3253, 0.3008, 0.3350, 0.3002, 0.3488", \
"0.3732, 0.3795, 0.3491, 0.3799, 0.3465, 0.3835", \
"0.5234, 0.5202, 0.4874, 0.5109, 0.4776, 0.5137", \
"0.9454, 0.9393, 0.9273, 0.8992, 0.9072, 0.8876");
related_inputs : " A1 A2 "
related_outputs : " Z ";
}

} /* end of cell */
what is the values means ?is there any document introduce them?what regulation they follow?
 

it is loop up table of R&C
You can see library compiler user guide.
 

Each table is a 2 dimensional matrix

a b c d
f g h i

From a to d: output from input loading change
From a to f: output from input slew change

Hope that help!
/Chinh
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…