mirror of https://github.com/YosysHQ/yosys.git
Fixes and cleanups for blackbox.v
This commit is contained in:
parent
af0c8873bb
commit
6dc07eb1f2
|
@ -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 / /;
|
||||
|
|
|
@ -795,6 +795,7 @@ endmodule
|
|||
// --------------------------------------------------------
|
||||
|
||||
module \$macc (A, B, Y);
|
||||
|
||||
parameter A_WIDTH = 0;
|
||||
parameter B_WIDTH = 0;
|
||||
parameter Y_WIDTH = 0;
|
||||
|
@ -876,6 +877,7 @@ module \$macc (A, B, Y);
|
|||
`undef PORT_SIZE_B
|
||||
`undef PORT_OFFSET_A
|
||||
`undef PORT_OFFSET_B
|
||||
|
||||
endmodule
|
||||
|
||||
// --------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue