mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Added support for parsing attributes on parameters in Verilog frontent. Content of those attributes is ignored.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
This commit is contained in:
		
							parent
							
								
									3ef88ffbb2
								
							
						
					
					
						commit
						ce4a0954bc
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1193,7 +1193,7 @@ param_range:
 | 
			
		|||
	};
 | 
			
		||||
 | 
			
		||||
param_decl:
 | 
			
		||||
	TOK_PARAMETER {
 | 
			
		||||
	attr TOK_PARAMETER {
 | 
			
		||||
		astbuf1 = new AstNode(AST_PARAMETER);
 | 
			
		||||
		astbuf1->children.push_back(AstNode::mkconst_int(0, true));
 | 
			
		||||
	} param_signed param_integer param_real param_range param_decl_list ';' {
 | 
			
		||||
| 
						 | 
				
			
			@ -1201,7 +1201,7 @@ param_decl:
 | 
			
		|||
	};
 | 
			
		||||
 | 
			
		||||
localparam_decl:
 | 
			
		||||
	TOK_LOCALPARAM {
 | 
			
		||||
	attr TOK_LOCALPARAM {
 | 
			
		||||
		astbuf1 = new AstNode(AST_LOCALPARAM);
 | 
			
		||||
		astbuf1->children.push_back(AstNode::mkconst_int(0, true));
 | 
			
		||||
	} param_signed param_integer param_real param_range param_decl_list ';' {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue