; Total registers ; 0 ;
; Total pins ; 2 / 635 ( < 1 % ) ;
; Total virtual pins ; 0 ;
; Total block memory bits ; 0 / 6,617,088 ( 0 % ) ;
; DSP block 18-bit elements ; 0 / 384 ( 0 % ) ;
; Total Receiver Channels ; 0 / 8 ( 0 % ) ;
; Total ransmitter Channels ; 0 / 8 ( 0 % ) ;
; Total PLLs ; 0 / 3 ( 0 % ) ;
here's what i've tried:
Expand|Select|Wrap|Line Numbers
- open(INFILE, 'd:\test.fit.rpt') or die 'error';
- open(OUTFILE, ">output.txt") or die 'error';
- while($line = <INFILE>)
- {
- chomp($line);
- if ($line =~ m/[^\s]\s(\w+)[^\s]\s(\d)\s[^\s]\s(\d+)\s[^\s](\d)[^\s+]/)
- {
- print OUTFILE "$line\n";
- }
- }
- close (INFILE);
- Close (OUTFILE);