我是靠谱客的博主 贤惠方盒,最近开发中收集的这篇文章主要介绍IOBUF的使用,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

在FPGA的设计中,避免不了使用厂家的原语。zynq-7020是xilinx的7 series FPGA,参考《UG768-Xilinx 7 Series FPGA Libraries Guide for HDL Designs》查看相应的原语使

永指导

一、IOBUF的介绍

image

image

image

image

2、example code:

来自xilinx官网论坛

module abcd(
input clk,
inout io_data,
input t,
output reg ext_out,
input in_ext
);


wire data_in;
reg data_out;


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(data_in), // Buffer output
.IO(io_data), // Buffer inout port (connect directly to top-level port)
.I(data_out), // Buffer input
.T(t) // 3-state enable input, high=input, low=output
);


always @(posedge(clk))
begin
ext_out <= data_in;
data_out <= in_ext;
end
endmodule

综合后:

iobuf

二、参考资料

1、https://forums.xilinx.com/xlnx/board/crawl_message?board.id=SYNTHBD&message.id=16841

2、UG768-《Xilinx 7 Series FPGA Libraries Guide for HDL Designs》

转载于:https://www.cnblogs.com/Ariza123/p/iobuf.html

最后

以上就是贤惠方盒为你收集整理的IOBUF的使用的全部内容,希望文章能够帮你解决IOBUF的使用所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(53)

评论列表共有 0 条评论

立即
投稿
返回
顶部