rc command to report D pins of DFF

Status
Not open for further replies.

rashmidesai

Newbie level 5
Joined
Nov 23, 2012
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,329
hi
what is the RC command to report the D pins DFF... coz i have to put an AND gate for all these D pins
 

Netlist ECO tool Gates On the Fly can do the job easily. You can use perl compatible script like following to add an AND gate to each D pin of each flop.
my @ffs = get_cells("-type", "ff", "-hier"); # Get all flops
foreach my $ff (@ffs){
my @dpins = get_pins("-input", "-data", $ff);
foreach my $pin (@dpins){
change_pin($pin, "AND2X2", "", "some_enable,-");
}
}
 

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