mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Gowin. Add the DCS primitive
Not so much adding the primitive itself, but only its DCS_MODE parameter, without which an error occurs. Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
		
							parent
							
								
									b08688f711
								
							
						
					
					
						commit
						19bbdd8800
					
				
					 2 changed files with 11 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1901,3 +1901,14 @@ output OSCOUT;
 | 
			
		|||
parameter FREQ_DIV = 100;
 | 
			
		||||
parameter REGULATOR_EN = 1'b0;
 | 
			
		||||
endmodule
 | 
			
		||||
 | 
			
		||||
(* blackbox *)
 | 
			
		||||
module DCS (CLK0, CLK1, CLK2, CLK3, CLKSEL, SELFORCE, CLKOUT);
 | 
			
		||||
input CLK0, CLK1, CLK2, CLK3, SELFORCE;
 | 
			
		||||
input [3:0] CLKSEL;
 | 
			
		||||
output CLKOUT;
 | 
			
		||||
parameter DCS_MODE = "RISING";
 | 
			
		||||
endmodule
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue