1 Star 0 Fork 0

打野/Verilog练习代码

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
2024-1-13.v 414 Bytes
一键复制 编辑 原始数据 按行查看 历史
打野 提交于 2024-01-13 20:55 +08:00 . 2024-1-13
//2024-1-13
//8λת
module comp-conv (
a,
a_comp
);
input[7:0] a;
output[7:0] a_comp;
wire[6:0] b:
wire[7:0] y;
assign b=~a[6:0];
assign y[6:0]=b+1;
assign y[7]=a[7];
assign a_comp=a[7]?y:a;
endmodule
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fight_wild/verilog-code.git
git@gitee.com:fight_wild/verilog-code.git
fight_wild
verilog-code
Verilog练习代码
master

搜索帮助