mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Update
This commit is contained in:
		
						commit
						1cba744712
					
				
					 10 changed files with 68 additions and 27 deletions
				
			
		| 
						 | 
				
			
			@ -549,10 +549,6 @@ void yosys_setup()
 | 
			
		|||
		return;
 | 
			
		||||
	already_setup = true;
 | 
			
		||||
 | 
			
		||||
#define X(_id) RTLIL::ID::_id = "\\" # _id;
 | 
			
		||||
#include "kernel/constids.inc"
 | 
			
		||||
#undef X
 | 
			
		||||
 | 
			
		||||
#ifdef WITH_PYTHON
 | 
			
		||||
	// With Python 3.12, calling PyImport_AppendInittab on an already
 | 
			
		||||
	// initialized platform fails (such as when libyosys is imported
 | 
			
		||||
| 
						 | 
				
			
			@ -568,6 +564,10 @@ void yosys_setup()
 | 
			
		|||
	init_share_dirname();
 | 
			
		||||
	init_abc_executable_name();
 | 
			
		||||
 | 
			
		||||
#define X(_id) RTLIL::ID::_id = "\\" # _id;
 | 
			
		||||
#include "kernel/constids.inc"
 | 
			
		||||
#undef X
 | 
			
		||||
 | 
			
		||||
	Pass::init_register();
 | 
			
		||||
	yosys_design = new RTLIL::Design;
 | 
			
		||||
	yosys_celltypes.setup();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue