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:
parent
af0c8873bb
commit
6dc07eb1f2
2 changed files with 79 additions and 76 deletions
|
@ -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 / /;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue