blob: 7c6982231e6e79c373b8fbafaa09a948401058a4 [file] [log] [blame]
#!/usr/bin/perl -w
open IN,"<libresilicon.lib";
undef $/;
my $content=<IN>;
$content=~s/area/pg_pin (vdd) { voltage_name : "vdd"; pg_type : "primary_power"; } pg_pin (gnd) { voltage_name : "gnd"; pg_type : "primary_ground"; } area/g;
#$content=~s/"\s*\n/"/gs;
#$content=~s/;\s*\n/;/gs;
$content=~s/\n//gs;
$content=~s/\\//gs;
print $content;