mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			291 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			291 B
		
	
	
	
		
			Text
		
	
	
	
	
	
read_ilang <<EOT
 | 
						|
module \top
 | 
						|
  wire input 3 \A
 | 
						|
  wire width 2 input 2 \B
 | 
						|
  wire width 2 input 1 \S
 | 
						|
  wire \Y
 | 
						|
  cell $pmux \my_pmux
 | 
						|
    parameter signed \S_WIDTH 2
 | 
						|
    parameter signed \WIDTH 1
 | 
						|
    connect \A \A
 | 
						|
    connect \B \B
 | 
						|
    connect \S \S
 | 
						|
    connect \Y \Y
 | 
						|
  end
 | 
						|
end
 | 
						|
EOT
 | 
						|
 | 
						|
assertpmux
 |