Verilog刷题-17-Vector3
题目描述
- 文字描述
Given several input vectors, concatenate them together then split them up into several output vectors. There are six 5-bit input vectors: a, b, c, d, e, and f, for a total of 30 bits of input. There are four 8-bit output vectors: w, x, y, and z, for 32 bits of output. The output should be a concatenation of the input vectors followed by two 1 bits: - 图示
文章图片
module top_module (
input [4:0] a, b, c, d, e, f,
output [7:0] w, x, y, z );
//assign {w,x,y,z} = {a,b,c,d,e,f,2'b11};
endmodule
结果
文章图片
文章图片
题目网址
【Verilog刷题-17-Vector3】https://hdlbits.01xz.net/wiki/Vector3
推荐阅读
- 刷题记录|【蓝桥必胜】试题 算法训练 kAc给糖果你吃-贪心排序
- LeetCode刷题笔记|LeetCode刷题笔记 - 反转字符串
- 2022年,程序员如何在面试前刷题,顺利入职大厂()
- 考研刷题小程序云开发实战-基础知识储备(1)
- LeetCode刷题学习278(第一个错误的版本(使用二分查找解决01模型问题))
- 算法刷题笔记|牛客网 NC205084 牛牛爱字符串
- 贪心算法刷题
- 刷题|D - Count Triangles CodeForces - 1355C
- 刷题|C - Game With Array CodeForces - 1355D
- leetcode刷题|【leetcode每日刷题】35. Search Insert Position