mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 13:29:12 +00:00 
			
		
		
		
	Revert insertion of 'reg', leave note behind
This commit is contained in:
		
							parent
							
								
									3deec51ddc
								
							
						
					
					
						commit
						52fe1e0c44
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2,7 +2,8 @@
 | 
			
		|||
Example from: https://www.latticesemi.com/-/media/LatticeSemi/Documents/UserManuals/EI/iCEcube201701UserGuide.ashx?document_id=52071 [p. 74].
 | 
			
		||||
*/
 | 
			
		||||
module top(data, addr);
 | 
			
		||||
output reg [3:0] data;
 | 
			
		||||
output [3:0] data; // Note: this prompts a Yosys warning, but
 | 
			
		||||
                   //       vendor doc does not contain 'reg'
 | 
			
		||||
input [4:0] addr;
 | 
			
		||||
always @(addr) begin
 | 
			
		||||
case (addr)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue