mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	statics were obviously wrong -- may be multiple instantiations of any given module. Extend test to cover this.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			144 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			144 B
		
	
	
	
		
			Verilog
		
	
	
	
	
	
module tb;
 | 
						|
    reg clk = 0;
 | 
						|
 | 
						|
    top uut1 (.clk(clk));
 | 
						|
    top uut2 (.clk(clk));
 | 
						|
 | 
						|
    always #1 clk <= ~clk;
 | 
						|
    initial #20 $finish;
 | 
						|
endmodule
 |