mavericknik has asked for the wisdom of the Perl Monks concerning the following question:
So some cells are contained in one line, whereas some cells span 2 lines(2nd one above). I'd like to move cells spanning 2 lines into one. I know the lines not containing cells will not have a capital X. So if i search for lines that dont match "X", I get all lines that should be appended to the line above it. How would I do this for a very large(~600000) line file? I plan to modify the netlist after this to make the changes I require.DFFX1 k0_reg_184 ( .D(key_184 ), .CLK(clk), .QN(n18736) ); DFFX1 k0_reg_183 ( .D(key_183 ), .CLK(clk), .Q(k0_183 ), .QN(n65993) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File modification on the fly (Verilog)
by toolic (Bishop) on Aug 02, 2016 at 21:13 UTC | |
by mavericknik (Sexton) on Aug 02, 2016 at 21:43 UTC | |
by toolic (Bishop) on Aug 03, 2016 at 13:12 UTC | |
by $h4X4_|=73}{ (Monk) on Aug 03, 2016 at 07:46 UTC |