HDLBIts习题(2):位操作,For循环(generate与integer)

(1)冷门习题1:Verilog Language - More Verilog Features - Reduction operators

        一个矢量的位操作,多比特矢量操作会变得方便。

(2)冷门习题2:Verilog Language - More Verilog Features - Combination for-loop:Vector reversal2 

        Verilog中的for循环

(3)冷门习题3:Verilog Language - More Verilog Features - Combination for-loop:255-bit population count

        out需要赋初值0,wire类型,使用阻塞赋值。

(4)较难习题1:Verilog Language - More Verilog Features - Combination for-loop:100-bit binary adder 2

        generate语法 + 模块实例化

(5)较难习题2:Verilog Language - More Verilog Features - Combination for-loop:100-digit BCD adder

        需要自己定义一个中间变量

(6)冷门习题4:Circuits - Combinational Logic - Basic Gates - Gates and Vectors

        可以使用generate语句实现

(7)冷门习题5:Circuits - Combinational Logic - Basic Gates - Even longer Vectors

        可以使用generate语句实现或者直接assign语句实现

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值