How we get fanin through TCL

Status
Not open for further replies.

sarfaraz.ahmed

Junior Member level 1
Joined
Jan 24, 2017
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
145
Hi,
I have written TCL file and extract instances for cones.

the source file has multiple modules having same instances. for example :

module or3_55(A, B, C, z);
CLKBUF1 drc(.A (n_4), .Y (z));
endmodule

module nand2_248(A, B, z);
CLKBUF1 drc(.A (n_1), .Y (z));
endmodule

module(2681, L2684, L2687, L375)
or3_55 U1555(L2681, L2684, L2687, L375);
endmodule

now I want fanin of last module which has or3_55 above definition. I do this like that : "dc::all_fanin -to U1555/L375 -only_cells". It does not work.

I require basically fanin for U1555. how I get all instances ? It should go to above definition or3_55 and give answer its instances "drc" only.


Thanks
 

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