mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Define YOSYS and SYNTHESIS in preproc
This commit is contained in:
		
							parent
							
								
									474831643c
								
							
						
					
					
						commit
						1bd67d792e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -221,7 +221,8 @@ std::string frontend_verilog_preproc(std::istream &f, std::string filename, cons | |||
| 	input_buffer_charp = 0; | ||||
| 
 | ||||
| 	input_file(f, filename); | ||||
| 	defines_map["__YOSYS__"] = "1"; | ||||
| 	defines_map["YOSYS"] = "1"; | ||||
| 	defines_map["SYNTHESIS"] = "1"; | ||||
| 
 | ||||
| 	while (!input_buffer.empty()) | ||||
| 	{ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue