mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Merge pull request #1445 from YosysHQ/mwk/xilinx_ibufg
xilinx: Add simulation model for IBUFG.
This commit is contained in:
		
						commit
						3c6a566d86
					
				
					 5 changed files with 14 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -38,6 +38,17 @@ module IBUF(
 | 
			
		|||
  assign O = I;
 | 
			
		||||
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(
 | 
			
		||||
    (* iopad_external_pin *)
 | 
			
		||||
    output O,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -53,7 +53,7 @@ XC6S_CELLS = [
 | 
			
		|||
    # Cell('IBUF', port_attrs={'I': ['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('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_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['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_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('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_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}),
 | 
			
		||||
    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_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('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_DIFF_OUT', port_attrs={'I': ['iopad_external_pin'], 'IB': ['iopad_external_pin']}),
 | 
			
		||||
    Cell('IDELAYCTRL', keep=True, port_attrs={'REFCLK': ['clkbuf_sink']}),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1282,16 +1282,6 @@ module IBUFDS_DIFF_OUT (...);
 | 
			
		|||
    input IB;
 | 
			
		||||
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 (...);
 | 
			
		||||
    parameter CAPACITANCE = "DONT_CARE";
 | 
			
		||||
    parameter DIFF_TERM = "FALSE";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1821,16 +1821,6 @@ module IBUFDS_GTHE1 (...);
 | 
			
		|||
    input IB;
 | 
			
		||||
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 (...);
 | 
			
		||||
    parameter CAPACITANCE = "DONT_CARE";
 | 
			
		||||
    parameter DIFF_TERM = "FALSE";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3932,16 +3932,6 @@ module IBUFDS_INTERMDISABLE (...);
 | 
			
		|||
    input INTERMDISABLE;
 | 
			
		||||
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 (...);
 | 
			
		||||
    parameter CAPACITANCE = "DONT_CARE";
 | 
			
		||||
    parameter DIFF_TERM = "FALSE";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue