【FPGA】xilinx IOBUF的用法

 

// IOBUF: Single-ended Bi-directional Buffer
//        All devices
// Xilinx HDL Language Template, version 2017.2
    
IOBUF #(
      .DRIVE(12), // Specify the output drive strength
      .IBUF_LOW_PWR("TRUE"),  // Low Power - "TRUE", High Performance = "FALSE"
      .IOSTANDARD("DEFAULT"), // Specify the I/O standard
      .SLEW("SLOW") // Specify the output slew rate
   ) IOBUF_inst (
      .O(O),     // Buffer output
      .IO(IO),   // Buffer inout port (connect directly to top-level port)
      .I(I),     // Buffer input
      .T(T)      // 3-state enable input, high=input, low=output
   );


IOBUF #(
            .DRIVE(12), // Specify the output drive strength
            .IBUF_LOW_PWR("TRUE"),  // Low Power - "TRUE", High Performance = "FALSE"
            .IOSTANDARD("DEFAULT"), // Specify the I/O standard
            .SLEW("SLOW") // Specify the output slew rate
    ) IOBUF_inst_io0 (
            .O(s_din[0]),     // IO_pad输入。管脚经过IBUF缓冲输出到内部信号
            .IO(spi_io[0]),   // pad接口/管脚
            .I(s_dout[0]),    // 输出到IO_pad。内部信号经过OBUF缓冲到管脚
            .T(x_writ_read)   // 当IO_pad需要输入的时候,使能OBUF使其输出高组态。
    );
IOBUF

 

 

https://www.cnblogs.com/kevinchase/p/7813664.html

posted on 2025-08-21 16:47  taylorrrrrrrrrr  阅读(31)  评论(0)    收藏  举报