mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-27 01:39:23 +00:00 
			
		
		
		
	Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespace
This commit is contained in:
		
							parent
							
								
									1202f7aa4b
								
							
						
					
					
						commit
						1cb25c05b3
					
				
					 41 changed files with 790 additions and 665 deletions
				
			
		|  | @ -29,12 +29,14 @@ | |||
| #ifndef VERILOG_FRONTEND_H | ||||
| #define VERILOG_FRONTEND_H | ||||
| 
 | ||||
| #include "kernel/rtlil.h" | ||||
| #include "kernel/yosys.h" | ||||
| #include "frontends/ast/ast.h" | ||||
| #include <stdio.h> | ||||
| #include <stdint.h> | ||||
| #include <list> | ||||
| 
 | ||||
| YOSYS_NAMESPACE_BEGIN | ||||
| 
 | ||||
| namespace VERILOG_FRONTEND | ||||
| { | ||||
| 	// this variable is set to a new AST_DESIGN node and then filled with the AST by the bison parser
 | ||||
|  | @ -53,6 +55,8 @@ namespace VERILOG_FRONTEND | |||
| // the pre-processor
 | ||||
| std::string frontend_verilog_preproc(FILE *f, std::string filename, const std::map<std::string, std::string> pre_defines_map, const std::list<std::string> include_dirs); | ||||
| 
 | ||||
| YOSYS_NAMESPACE_END | ||||
| 
 | ||||
| // the usual bison/flex stuff
 | ||||
| extern int frontend_verilog_yydebug; | ||||
| int frontend_verilog_yylex(void); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue