mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 11:42:30 +00:00 
			
		
		
		
	gowin: add support for Double Data Rate primitives
Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
		
							parent
							
								
									25d6fdfea7
								
							
						
					
					
						commit
						19b7633aca
					
				
					 1 changed files with 25 additions and 0 deletions
				
			
		|  | @ -590,6 +590,31 @@ module TLVDS_OBUF (I, O, OB); | ||||||
|   assign OB = ~I; |   assign OB = ~I; | ||||||
| endmodule | endmodule | ||||||
| 
 | 
 | ||||||
|  | (* blackbox *) | ||||||
|  | module ODDR(D0, D1, TX, CLK, Q0, Q1); | ||||||
|  | 	input D0; | ||||||
|  | 	input D1; | ||||||
|  | 	input TX; | ||||||
|  | 	input CLK; | ||||||
|  | 	output Q0; | ||||||
|  | 	output Q1; | ||||||
|  | 	parameter TXCLK_POL = 0; | ||||||
|  | 	parameter INIT = 0; | ||||||
|  | endmodule | ||||||
|  | 
 | ||||||
|  | (* blackbox *) | ||||||
|  | module ODDRC(D0, D1, CLEAR, TX, CLK, Q0, Q1); | ||||||
|  | 	input D0; | ||||||
|  | 	input D1; | ||||||
|  | 	input CLEAR; | ||||||
|  | 	input TX; | ||||||
|  | 	input CLK; | ||||||
|  | 	output Q0; | ||||||
|  | 	output Q1; | ||||||
|  | 	parameter TXCLK_POL = 0; | ||||||
|  | 	parameter INIT = 0; | ||||||
|  | endmodule | ||||||
|  | 
 | ||||||
| module GSR (input GSRI); | module GSR (input GSRI); | ||||||
| 	wire GSRO = GSRI; | 	wire GSRO = GSRI; | ||||||
| endmodule | endmodule | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue