28.11.2012 Views

i A PHYSICAL IMPLEMENTATION WITH CUSTOM LOW POWER ...

i A PHYSICAL IMPLEMENTATION WITH CUSTOM LOW POWER ...

i A PHYSICAL IMPLEMENTATION WITH CUSTOM LOW POWER ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

$temp1[6] = "TO="."$FALL_STOP_12"."\n";<br />

$temp2 = join(" ",@temp1);<br />

$modified_spice_array[$i] = $temp2;<br />

print $modified_spice_array[$i];<br />

print<br />

"\n";<br />

}<br />

} ##end of foreach of mystring<br />

############Replacing the measure command with the proper values so that they measure correctly<br />

open(OUTFILE,">spice_lr_temp.ckt");<br />

foreach $printstring (@modified_spice_array)<br />

{<br />

print OUTFILE $printstring;<br />

}<br />

close OUTFILE;<br />

print $loadarray[$k];<br />

print " ";<br />

print $trarray[$j];<br />

print " ";<br />

print "SIMULATION IN PROGRESS..\n";<br />

`hspice spice_lr_temp.ckt`;<br />

open(MTHANDLE,"spice_lr_temp.mt0");<br />

$line_count=0;<br />

print MEASHANDLE $load."F";<br />

print MEASHANDLE " ";<br />

print ENERGYHANDLE<br />

$load."F";<br />

print ENERGYHANDLE<br />

" ";<br />

print MEASHANDLE ($tr/1e-9)."ns";<br />

print MEASHANDLE " ";<br />

print ENERGYHANDLE ($tr/1e-9)."ns";<br />

print ENERGYHANDLE " ";<br />

while()<br />

{<br />

$line_count++;<br />

chop();<br />

if($line_count >=40 && $line_count<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!