yosys/techlibs/common/blackbox.sed

5 lines
87 B
Sed

#!/bin/sed -r
/^(wire|assign|reg)/ d;
/^(genvar|always|initial)/,/^end/ d;
s/ reg / /;