?? half_sel.v
字號:
//--------------------------------------//
//module name: Half_sel-----------------//
//file name: Half_sel.v---------------//
//module function:
// Xor select module---------//
//Coder : h0nly--------------------//
//Time : 2008-08-13th 11:00pm-----//
//--------------------------------------//
module Half_sel(sel,
a,
b,
c
);
//output ports----------------------------
output c;
//input ports----------------------------
input b, a;
input sel;
//inner parameter declaration-------------
wire w;
//code starts here------------------------
xor xor_ (w, a, b);
//----------------------------------------
//sel | function
//----------------------------------------
// 1 | half_integer_Freq_div
// 0 | integer_Freq_div
//----------------------------------------
assign c = sel ? w : a;
//
endmodule//End Of Module Half_sel
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -