mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	Added SigMap::allbits()
This commit is contained in:
		
							parent
							
								
									92dce21f6e
								
							
						
					
					
						commit
						ee8f6f31f4
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -421,6 +421,14 @@ struct SigMap | |||
| 		apply(sig); | ||||
| 		return sig; | ||||
| 	} | ||||
| 
 | ||||
| 	RTLIL::SigSpec allbits() const | ||||
| 	{ | ||||
| 		RTLIL::SigSpec sig; | ||||
| 		for (auto &it : bits) | ||||
| 			sig.append(SigBit(it.first.first, it.first.second)); | ||||
| 		return sig; | ||||
| 	} | ||||
| }; | ||||
| 
 | ||||
| YOSYS_NAMESPACE_END | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue