mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	After reading the SV spec, using non-standard predict() instead of expect()
This commit is contained in:
		
							parent
							
								
									721f1f5ecf
								
							
						
					
					
						commit
						d7763634b6
					
				
					 16 changed files with 28 additions and 32 deletions
				
			
		| 
						 | 
				
			
			@ -8,7 +8,7 @@ module demo1(input clk, input addtwo, output iseven);
 | 
			
		|||
		cnt = (iseven ? cnt == 10 : cnt == 11) ? 0 : next_cnt;
 | 
			
		||||
	
 | 
			
		||||
	assert property (cnt != 15);
 | 
			
		||||
	// initial expect ((iseven && addtwo) || cnt == 9);
 | 
			
		||||
	// initial predict ((iseven && addtwo) || cnt == 9);
 | 
			
		||||
endmodule
 | 
			
		||||
 | 
			
		||||
module inc(input addtwo, output iseven, input [3:0] a, output [3:0] y);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue