mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			158 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			158 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
module blocking (clk,a,c);
 | 
						|
input clk;
 | 
						|
input a;
 | 
						|
output c;
 | 
						|
 
 | 
						|
wire clk;
 | 
						|
wire a;
 | 
						|
reg c;
 | 
						|
reg b;
 | 
						|
  
 | 
						|
always @ (posedge clk )
 | 
						|
begin
 | 
						|
 b = a;
 | 
						|
 c = b;
 | 
						|
end
 | 
						|
   
 | 
						|
endmodule
 |