【 Vivado 】使用Vivado设计一个加/减法器的IP核(简洁英文版)

举报
李锐博恩 发表于 2021/07/15 05:59:54 2021/07/15
【摘要】 数据手册地址:Adder/Subtracter v12.0 Vivado Integrated Design Environment You can customize the IP for use in your design by specifying values for the various parameters associated with the IP c...

数据手册地址:Adder/Subtracter v12.0

Vivado Integrated Design Environment

You can customize the IP for use in your design by specifying values for the various parameters associated with the IP core using the following steps:

1. Select the IP from the IP catalog.
2. Double-click the selected IP

Core Parameters

The Adder/Subtracter Vivado IDE provides fields to set the parameters values for the required instantiation. This section provides a description of each field.

Implement using: Sets the implementation type to Fabric or DSP48.

A Input Width: Sets the width of the port A input. In IP integrator, this parameter is auto-updated.

A Input Type: Sets the type of the port A data to Signed or Unsigned.

B Input Width: Sets the width of the port B input.

B Input Type: Sets the type of the port B data to Signed or Unsigned.

Constant Input and Constant Value: When Constant Input is TRUE, port B is set to the value that is specified with the parameter Constant Value. Constant Value must be entered in binary format and must not exceed B Input Width. In most cases specifying port B to be a constant creates a module without port B. The only exception to this is when bypass functionality is requested, as port B is needed to provide the bypass data in this case. The default setting is for the port B value to be provided by port B.

Output Width: Sets the output width. The valid range varies depending on the settings of A Input Width, A Input Type, B Input Width, and B Input Type

Add Mode: Sets the mode of operation of the module. Valid values are Add, Subtract, and Add/Subtract. If an adder/subtracter is specified, the ADD pin sets the mode of operation.

Carry In: When this parameter is set to TRUE, a C_IN port is created. This is an active-High, carry-in port for adders and a programmable (active-High/active-Low with Borrow In/Out Sense) carry-in port for subtracters and adder/subtracters in subtract mode.

Carry Out: When set to TRUE, this parameter creates port C_OUT which is the synchronous active-High carry-out from the adder and adder/subtracter in add mode and the programmable (active-High/active-Low with Borrow In/Out Sense) borrow-out from the subtracter or adder/subtracter in subtract mode.

Bypass: When set to TRUE, creates a BYPASS pin. Activating the BYPASS pin sets the output to be the value given on port B. This functionality is used for creating loadable counters and accumulators.

Clock Enable: When set to TRUE, the module is generated with a clock enable input.

Power on Reset Init Value: Specifies (in hex) the value the S register initializes to during power-up reset.

Latency Configuration: Automatic sets optimal latency for maximum speed; Manual allows user to set Latency to one of the allowed values.

Latency: Value used for latency when Latency Configuration is set to Manual.


博文最开始给出了设计这个IP核的收据手册,如果想了解全部,则认真研读数据手册。

博文给出了设计这个IP核最关键的信息:

Vivado Integrated Design Environment表示打开定制IP核的环境,分为两个步骤:

第一步,建立一个工程,进入IP核设计页面:

第二步,双击选择需要的IP核。

然后进入IP核设计页面:

然后根据需求,设计IP核。

之后给出各个参数的意思,认真阅读这些参数之后,就可以直接设计自己需要的IP核了。

上面的博文中简单的列出了比较关键的参数,至于那些一眼就能看出啥意思的,也省略了一些,例如:

框里的这些东西,一眼就能看出是谁的优先级高而已,自己看着选择就好了。

由于是最简单的一个IP和设计,如果写成中文版,那就太low了,直接看英文的,更有意思点!

 

 

文章来源: reborn.blog.csdn.net,作者:李锐博恩,版权归原作者所有,如需转载,请联系作者。

原文链接:reborn.blog.csdn.net/article/details/83213268

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。