📄 dafir.v
字号:
`timescale 1ns / 1ps////////////////////////////////////////////////////////////////////////////////// Company: // Engineer://// Create Date: 16:19:53 10/11/07// Design Name: 谢大钊// Module Name: dafir// Project Name: // Target Device: // Tool versions: // Description://// Dependencies:// // Revision:// Revision 0.01 - File Created// Additional Comments:// ////////////////////////////////////////////////////////////////////////////////module dafir(table_in, table_out); input [2:0] table_in; output [3:0] table_out; reg [3:0] table_out; always @(table_in) begin case (table_in) 0 : table_out = 0; 1 : table_out = 1; 2 : table_out = 3; 3 : table_out = 4; 4 : table_out = -2; 5 : table_out = -1; 6 : table_out = 1; 7 : table_out = 2; default : ; endcase endendmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -