mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 03:32:29 +00:00 
			
		
		
		
	Add equiv_opt -multiclock
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
		
							parent
							
								
									c7f1368cd2
								
							
						
					
					
						commit
						c43e52d2d7
					
				
					 2 changed files with 23 additions and 1 deletions
				
			
		
							
								
								
									
										12
									
								
								tests/various/equiv_opt_multiclock.ys
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								tests/various/equiv_opt_multiclock.ys
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| read_verilog <<EOT | ||||
| module top(input clk, pre, d, output reg q); | ||||
| 	always @(posedge clk, posedge pre) | ||||
| 		if (pre) | ||||
| 			q <= 1'b1; | ||||
| 		else | ||||
| 			q <= d; | ||||
| endmodule | ||||
| EOT | ||||
| 
 | ||||
| prep | ||||
| equiv_opt -assert -multiclock -map +/simcells.v synth | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue