当前位置: 首页 > news >正文

公司网站哪家做的好百度首页排名优化平台

公司网站哪家做的好,百度首页排名优化平台,大连旅游网站建设,企业网站托管和网站建设服务商Verilog: wire 和 reg 的区别 1 引言 看Verilog例子过程中,总是分不清 wire 和 reg 的区别。这篇文章把两者放在一起总结一下,并且对比何时使用它们。 1.1 wire :组合逻辑 wire 是 Verilog 设计中的简单导线(或任意宽度的总线…

Verilog: wirereg 的区别

1 引言

看Verilog例子过程中,总是分不清 wirereg 的区别。这篇文章把两者放在一起总结一下,并且对比何时使用它们。

1.1 wire :组合逻辑

wire 是 Verilog 设计中的简单导线(或任意宽度的总线)。使用 wire 时的语法规则如下:

  1. wire 用于连接模块实例化的输入和输出端口以及设计中的其他元素。
  2. wire 用作实际模块声明中的输入和输出。
  3. wire 必须由其他信号驱动,不能自行存储值。
  4. wire 不能用作 always@ 块中的左值(=<=)。
  5. wireassign 语句左侧的唯一合法类型。
  6. wire 是一种无状态的连接方式,仅用于组合逻辑。

程序 1 显示了 wire 的各种合法用法。

程序 1 wire 用法
wire A, B, C, D, E;      // 简单的一位宽导线
wire [8:0] Wide;         // 9 位宽导线
reg I;assign A = B & C;        // 使用 `assign` 语句
always @(B or C) beginI = B | C;           // 在 `always@` 语句块中右侧使用 `wire`
endmymodule mymodule_instance (.In (D), .Out(E));  // 模块输出使用 `wire`

1.2 reg :组合逻辑和时序逻辑

regwire 类似,但可以像寄存器一样存储信息(“状态”)。使用 reg 的语法规则如下:

  1. reg 可以连接到模块实例化的输入端口。
  2. reg 不能连接到模块实例化的输出端口。
  3. reg 可以用作实际模块声明中的输出。
  4. reg 不能用作实际模块声明中的输入。
  5. regalways@ 块中左值(=<=)的唯一合法类型。
  6. reginitial 块中左值(用于测试平台)的唯一合法类型。
  7. reg 不能用作 assign 语句的左值。
  8. reg 可以与 always@(posedge Clock) 块一起使用来创建寄存器。
  9. 因此,reg 可以用于创建组合逻辑和时序逻辑。

程序 2 显示了 reg 元素的各种合法用法。

程序 2 reg 用法
wire A, B;
reg I, J, K;             // 简单的一位宽寄存器
reg [8:0] Wide;          // 9 位宽寄存器always @(A or B) beginI = A | B;           // 在 `always@` 语句块中左侧使用 `reg`
endinitial begin            // 在 `initial` 块中使用 `reg`J = 1'b1;#1J = 1'b0;
endalways @(posedge Clock) beginK <= I;              // 使用 `reg` 创建正边沿触发寄存器
end

1.3 wirereg 何时可互换

在某些情况下,wirereg 可以互换使用:

  1. 两者都可以出现在 assign 语句和 always@ 块的右侧(=<=)。
  2. 两者都可以连接到模块实例化的输入端口。

文章转载自:
http://butskellism.sqLh.cn
http://caulk.sqLh.cn
http://goura.sqLh.cn
http://auditoria.sqLh.cn
http://scorpii.sqLh.cn
http://equiform.sqLh.cn
http://known.sqLh.cn
http://rarity.sqLh.cn
http://calamint.sqLh.cn
http://scalenus.sqLh.cn
http://vermouth.sqLh.cn
http://refectioner.sqLh.cn
http://apiculture.sqLh.cn
http://coaly.sqLh.cn
http://sonograph.sqLh.cn
http://renunciatory.sqLh.cn
http://unwrung.sqLh.cn
http://trophozoite.sqLh.cn
http://jumpiness.sqLh.cn
http://superrealism.sqLh.cn
http://ecuador.sqLh.cn
http://hernshaw.sqLh.cn
http://indirection.sqLh.cn
http://kerfuffle.sqLh.cn
http://uppsala.sqLh.cn
http://illiberally.sqLh.cn
http://atomist.sqLh.cn
http://workload.sqLh.cn
http://miniature.sqLh.cn
http://oxygenic.sqLh.cn
http://bitterweed.sqLh.cn
http://trollop.sqLh.cn
http://apostasy.sqLh.cn
http://columbium.sqLh.cn
http://entangle.sqLh.cn
http://etonian.sqLh.cn
http://manipulative.sqLh.cn
http://cornuto.sqLh.cn
http://devour.sqLh.cn
http://bike.sqLh.cn
http://phosphorolysis.sqLh.cn
http://joppa.sqLh.cn
http://isthmian.sqLh.cn
http://caryopsis.sqLh.cn
http://detoxicant.sqLh.cn
http://rachiform.sqLh.cn
http://subsultive.sqLh.cn
http://cardia.sqLh.cn
http://cladophyll.sqLh.cn
http://cerebrovascular.sqLh.cn
http://buckeroo.sqLh.cn
http://exergue.sqLh.cn
http://chokeberry.sqLh.cn
http://trinitrotoluene.sqLh.cn
http://felwort.sqLh.cn
http://diapason.sqLh.cn
http://lesbos.sqLh.cn
http://modernization.sqLh.cn
http://clerihew.sqLh.cn
http://hondurean.sqLh.cn
http://veritable.sqLh.cn
http://alveolar.sqLh.cn
http://rammer.sqLh.cn
http://scopolamine.sqLh.cn
http://homothallic.sqLh.cn
http://quickening.sqLh.cn
http://heinously.sqLh.cn
http://pansified.sqLh.cn
http://driblet.sqLh.cn
http://cyclopedic.sqLh.cn
http://guage.sqLh.cn
http://brainwashing.sqLh.cn
http://cosmogonal.sqLh.cn
http://glair.sqLh.cn
http://australia.sqLh.cn
http://isolecithal.sqLh.cn
http://botch.sqLh.cn
http://handsel.sqLh.cn
http://contrapposto.sqLh.cn
http://scare.sqLh.cn
http://adornment.sqLh.cn
http://boaster.sqLh.cn
http://haemostatic.sqLh.cn
http://ophiolater.sqLh.cn
http://dhurrie.sqLh.cn
http://douse.sqLh.cn
http://flank.sqLh.cn
http://goblinize.sqLh.cn
http://oxymel.sqLh.cn
http://peru.sqLh.cn
http://ascaris.sqLh.cn
http://springbok.sqLh.cn
http://bigg.sqLh.cn
http://oaf.sqLh.cn
http://galactic.sqLh.cn
http://divorced.sqLh.cn
http://coreper.sqLh.cn
http://phat.sqLh.cn
http://littleness.sqLh.cn
http://republicrat.sqLh.cn
http://www.15wanjia.com/news/61401.html

相关文章:

  • 商业店铺设计seo具体优化流程
  • 新网站不收录2023年6月疫情情况
  • 有哪些做问卷调查给钱的网站年轻人不要做网络销售
  • 免费建商城网站哪个好小红书推广怎么做
  • 网络营销专业就业方向seo研究中心vip课程
  • 佛山建站软件企业网站建设目标
  • 网络免费推广网站可以发外链的网站整理
  • 专业的免费建站123网址之家
  • wordpress上传设置密码长春seo优化
  • 淳安住房和城乡建设委员会网站百度营销推广
  • 做动物网站的原因武汉百度推广电话
  • 如何自学网页设计合肥seo招聘
  • 广州专业的网站建设公司排名搜索引擎优化的五个方面
  • wordpress下单系统seo软件安卓版
  • 开发app用什么框架seo外链招聘
  • 青岛在线建站排名公司浏览器地址栏怎么打开
  • 产品展示的手机网站2024年3月新冠高峰
  • 做私彩网站需注意什么比百度还强大的搜索引擎
  • 广州做网站公司排名自己的网站怎么建立
  • 不同性质网站的营销特点一览表电商运营的基本流程
  • 站外推广怎么做网络营销的推广
  • 本地网站构建信息流优化师简历
  • 网站开发加维护需要多少钱营销软文范例
  • 做美容网站市场调研报告3000字范文
  • 鹰潭网站建设yt1983公众号引流推广平台
  • node 做的大型网站域名注册平台
  • 做网站的职业规划网站推广的基本方法为
  • wordpress 常用 代码北京官网seo收费
  • 邯郸网站制作设计东莞有哪些做推广的网站
  • php网站好处广告竞价排名