mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Set blackbox attribute in "read_liberty -lib"
This commit is contained in:
		
							parent
							
								
									24f58e57f3
								
							
						
					
					
						commit
						5057935722
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -528,6 +528,9 @@ struct LibertyFrontend : public Frontend {
 | 
			
		|||
			RTLIL::Module *module = new RTLIL::Module;
 | 
			
		||||
			module->name = cell_name;
 | 
			
		||||
 | 
			
		||||
			if (flag_lib)
 | 
			
		||||
				module->set_bool_attribute("\\blackbox");
 | 
			
		||||
 | 
			
		||||
			for (auto &attr : attributes)
 | 
			
		||||
				module->attributes[attr] = 1;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue