mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			217 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			217 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 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
 |