mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Add default entry to testcase
This commit is contained in:
		
							parent
							
								
									adc6efb584
								
							
						
					
					
						commit
						7685469ee2
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -8,12 +8,13 @@ read_verilog -formal <<EOT
 | 
				
			||||||
                3'b?1?: Y = B;
 | 
					                3'b?1?: Y = B;
 | 
				
			||||||
                3'b1??: Y = C;
 | 
					                3'b1??: Y = C;
 | 
				
			||||||
                3'b000: Y = D;
 | 
					                3'b000: Y = D;
 | 
				
			||||||
 | 
					                default: Y = 'bx;
 | 
				
			||||||
            endcase
 | 
					            endcase
 | 
				
			||||||
    endmodule
 | 
					    endmodule
 | 
				
			||||||
EOT
 | 
					EOT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Examle usage for "pmuxtree" and "muxcover"
 | 
					## Example usage for "pmuxtree" and "muxcover"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
proc
 | 
					proc
 | 
				
			||||||
pmuxtree
 | 
					pmuxtree
 | 
				
			||||||
| 
						 | 
					@ -35,7 +36,7 @@ read_verilog -formal <<EOT
 | 
				
			||||||
                3'b010: Y = B;
 | 
					                3'b010: Y = B;
 | 
				
			||||||
                3'b100: Y = C;
 | 
					                3'b100: Y = C;
 | 
				
			||||||
                3'b000: Y = D;
 | 
					                3'b000: Y = D;
 | 
				
			||||||
		default: Y = 'bx;
 | 
					                default: Y = 'bx;
 | 
				
			||||||
            endcase
 | 
					            endcase
 | 
				
			||||||
    endmodule
 | 
					    endmodule
 | 
				
			||||||
EOT
 | 
					EOT
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue