📄 7seg.v.bak
字号:
module 7seg(seg,data)
output[6:0] seg;
input[3:0] data;
reg[6:0] seg;
case(data)
4'h0:seg=7'h3f;
4'h1:seg=7'h06;
4'h2:seg=7'h5b;
4'h3:seg=7'h4f;
4'h4:seg=7'h66;
4'h5:seg=7'h6d;
4'h6:seg=7'h7d;
4'h7:seg=7'h07;
4'h8:seg=7'h7f;
4'h9:seg=7'h6f;
endcase
endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -