mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	Revert index to select
This commit is contained in:
		
							parent
							
								
									ea5e5a212e
								
							
						
					
					
						commit
						307b2dc8e5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -215,7 +215,7 @@ endcode
 | 
			
		|||
match mux
 | 
			
		||||
	select mux->type == $mux
 | 
			
		||||
	choice <IdString> AB {\A, \B}
 | 
			
		||||
	index <int> nusers(port(mux, AB)) === 2
 | 
			
		||||
	select nusers(port(mux, AB)) == 2
 | 
			
		||||
	index <SigSpec> port(mux, AB) === sigO
 | 
			
		||||
	set muxAB AB
 | 
			
		||||
	optional
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue