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.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/techlibs/common/blackbox.sed b/techlibs/common/blackbox.sed
new file mode 100644
index 00000000..4e9a3a7c
--- /dev/null
+++ b/techlibs/common/blackbox.sed
@@ -0,0 +1,4 @@
+#!/bin/sed -r
+/^(wire|assign|reg)/ d;
+/^(genvar|always|initial)/,/^end/ d;
+s/ reg / /;