mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	edif: Just ignore connections to 'z
Connecting a const 'z to a net should be equivalent to not connecting it at all, so let's just ignore such connections on output.
This commit is contained in:
		
							parent
							
								
									58ab9f6021
								
							
						
					
					
						commit
						55f86eda36
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -404,6 +404,8 @@ struct EdifBackend : public Backend {
 | 
			
		|||
						for (auto &ref : it.second)
 | 
			
		||||
							log_warning("Exporting x-bit on %s as zero bit.\n", ref.c_str());
 | 
			
		||||
						sig = RTLIL::State::S0;
 | 
			
		||||
					} else if (sig == RTLIL::State::Sz) {
 | 
			
		||||
						continue;
 | 
			
		||||
					} else {
 | 
			
		||||
						for (auto &ref : it.second)
 | 
			
		||||
							log_error("Don't know how to handle %s on %s.\n", log_signal(sig), ref.c_str());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue