?? 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 + -