summaryrefslogtreecommitdiff
path: root/techlibs/common/blackbox.sed
diff options
context:
space:
mode:
Diffstat (limited to 'techlibs/common/blackbox.sed')
-rw-r--r--techlibs/common/blackbox.sed5
1 files changed, 3 insertions, 2 deletions
diff --git a/techlibs/common/blackbox.sed b/techlibs/common/blackbox.sed
index 21693ecd..db890034 100644
--- a/techlibs/common/blackbox.sed
+++ b/techlibs/common/blackbox.sed
@@ -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 / /;