3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-28 19:35:53 +00:00

Fixes and cleanups for blackbox.v

This commit is contained in:
Clifford Wolf 2014-09-08 13:29:13 +02:00
parent af0c8873bb
commit 6dc07eb1f2
2 changed files with 79 additions and 76 deletions

View file

@ -1,4 +1,5 @@
#!/bin/sed -r
/^(wire|assign|reg|event)/ d;
/^(genvar|generate|always|initial)/,/^end/ d;
/^(wire|assign|reg|event|integer|localparam|\/\/|[\/ ]\*| *$|`)/ d;
/^(genvar|generate|always|initial|task|function)/,/^end/ d;
/^endmodule/ s/$/\n/;
s/ reg / /;