mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Ignore celldefine directive in verilog front-end
This commit is contained in:
		
							parent
							
								
									e468d4cc60
								
							
						
					
					
						commit
						a923a63a89
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -116,6 +116,9 @@ YOSYS_NAMESPACE_END | |||
| 
 | ||||
| "`timescale"[ \t]+[^ \t\r\n/]+[ \t]*"/"[ \t]*[^ \t\r\n]* /* ignore timescale directive */ | ||||
| 
 | ||||
| "`celldefine"[^\n]* /* ignore `celldefine */ | ||||
| "`endcelldefine"[^\n]* /* ignore `endcelldefine */ | ||||
| 
 | ||||
| "`default_nettype"[ \t]+[^ \t\r\n/]+ { | ||||
| 	char *p = yytext; | ||||
| 	while (*p != 0 && *p != ' ' && *p != '\t') p++; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue