mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +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 / /; | ||||
|  |  | |||
|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue