mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-30 19:22:31 +00:00 
			
		
		
		
	xilinx: Add simulation model for IBUFG.
This commit is contained in:
		
							parent
							
								
									3fb604c75d
								
							
						
					
					
						commit
						526fe4cb89
					
				
					 5 changed files with 14 additions and 33 deletions
				
			
		|  | @ -38,6 +38,17 @@ module IBUF( | ||||||
|   assign O = I; |   assign O = I; | ||||||
| endmodule | endmodule | ||||||
| 
 | 
 | ||||||
|  | module IBUFG( | ||||||
|  |     output O, | ||||||
|  |     (* iopad_external_pin *) | ||||||
|  |     input I); | ||||||
|  |   parameter CAPACITANCE = "DONT_CARE"; | ||||||
|  |   parameter IBUF_DELAY_VALUE = "0"; | ||||||
|  |   parameter IBUF_LOW_PWR = "TRUE"; | ||||||
|  |   parameter IOSTANDARD = "DEFAULT"; | ||||||
|  |   assign O = I; | ||||||
|  | endmodule | ||||||
|  | 
 | ||||||
| module OBUF( | module OBUF( | ||||||
|     (* iopad_external_pin *) |     (* iopad_external_pin *) | ||||||
|     output O, |     output O, | ||||||
|  |  | ||||||
|  | @ -53,7 +53,7 @@ XC6S_CELLS = [ | ||||||
|     # Cell('IBUF', port_attrs={'I': ['iopad_external_pin']}), |     # Cell('IBUF', port_attrs={'I': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFG', port_attrs={'I': ['iopad_external_pin']}), |     # Cell('IBUFG', port_attrs={'I': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFGDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFGDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFGDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFGDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IOBUF', port_attrs={'IO': ['iopad_external_pin']}), |     Cell('IOBUF', port_attrs={'IO': ['iopad_external_pin']}), | ||||||
|  | @ -174,7 +174,7 @@ XC6V_CELLS = [ | ||||||
|     Cell('IBUFDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFDS_GTHE1', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS_GTHE1', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFG', port_attrs={'I': ['iopad_external_pin']}), |     # Cell('IBUFG', port_attrs={'I': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFGDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFGDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFGDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFGDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IDELAYCTRL', keep=True, port_attrs={'REFCLK': ['clkbuf_sink']}), |     Cell('IDELAYCTRL', keep=True, port_attrs={'REFCLK': ['clkbuf_sink']}), | ||||||
|  | @ -307,7 +307,7 @@ XC7_CELLS = [ | ||||||
|     Cell('IBUFDS_GTE2', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS_GTE2', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFDS_IBUFDISABLE', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS_IBUFDISABLE', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFDS_INTERMDISABLE', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFDS_INTERMDISABLE', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFG', port_attrs={'I': ['iopad_external_pin']}), |     # Cell('IBUFG', port_attrs={'I': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFGDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFGDS', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IBUFGDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), |     Cell('IBUFGDS_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}), | ||||||
|     Cell('IDELAYCTRL', keep=True, port_attrs={'REFCLK': ['clkbuf_sink']}), |     Cell('IDELAYCTRL', keep=True, port_attrs={'REFCLK': ['clkbuf_sink']}), | ||||||
|  |  | ||||||
|  | @ -1282,16 +1282,6 @@ module IBUFDS_DIFF_OUT (...); | ||||||
|     input IB; |     input IB; | ||||||
| endmodule | endmodule | ||||||
| 
 | 
 | ||||||
| module IBUFG (...); |  | ||||||
|     parameter CAPACITANCE = "DONT_CARE"; |  | ||||||
|     parameter IBUF_DELAY_VALUE = "0"; |  | ||||||
|     parameter IBUF_LOW_PWR = "TRUE"; |  | ||||||
|     parameter IOSTANDARD = "DEFAULT"; |  | ||||||
|     output O; |  | ||||||
|     (* iopad_external_pin *) |  | ||||||
|     input I; |  | ||||||
| endmodule |  | ||||||
| 
 |  | ||||||
| module IBUFGDS (...); | module IBUFGDS (...); | ||||||
|     parameter CAPACITANCE = "DONT_CARE"; |     parameter CAPACITANCE = "DONT_CARE"; | ||||||
|     parameter DIFF_TERM = "FALSE"; |     parameter DIFF_TERM = "FALSE"; | ||||||
|  |  | ||||||
|  | @ -1821,16 +1821,6 @@ module IBUFDS_GTHE1 (...); | ||||||
|     input IB; |     input IB; | ||||||
| endmodule | endmodule | ||||||
| 
 | 
 | ||||||
| module IBUFG (...); |  | ||||||
|     parameter CAPACITANCE = "DONT_CARE"; |  | ||||||
|     parameter IBUF_DELAY_VALUE = "0"; |  | ||||||
|     parameter IBUF_LOW_PWR = "TRUE"; |  | ||||||
|     parameter IOSTANDARD = "DEFAULT"; |  | ||||||
|     output O; |  | ||||||
|     (* iopad_external_pin *) |  | ||||||
|     input I; |  | ||||||
| endmodule |  | ||||||
| 
 |  | ||||||
| module IBUFGDS (...); | module IBUFGDS (...); | ||||||
|     parameter CAPACITANCE = "DONT_CARE"; |     parameter CAPACITANCE = "DONT_CARE"; | ||||||
|     parameter DIFF_TERM = "FALSE"; |     parameter DIFF_TERM = "FALSE"; | ||||||
|  |  | ||||||
|  | @ -3932,16 +3932,6 @@ module IBUFDS_INTERMDISABLE (...); | ||||||
|     input INTERMDISABLE; |     input INTERMDISABLE; | ||||||
| endmodule | endmodule | ||||||
| 
 | 
 | ||||||
| module IBUFG (...); |  | ||||||
|     parameter CAPACITANCE = "DONT_CARE"; |  | ||||||
|     parameter IBUF_DELAY_VALUE = "0"; |  | ||||||
|     parameter IBUF_LOW_PWR = "TRUE"; |  | ||||||
|     parameter IOSTANDARD = "DEFAULT"; |  | ||||||
|     output O; |  | ||||||
|     (* iopad_external_pin *) |  | ||||||
|     input I; |  | ||||||
| endmodule |  | ||||||
| 
 |  | ||||||
| module IBUFGDS (...); | module IBUFGDS (...); | ||||||
|     parameter CAPACITANCE = "DONT_CARE"; |     parameter CAPACITANCE = "DONT_CARE"; | ||||||
|     parameter DIFF_TERM = "FALSE"; |     parameter DIFF_TERM = "FALSE"; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue