|
本帖最後由 tommywgt 於 2009-11-5 05:41 PM 編輯
. G* S+ x" `% O% U9 C; d. Y+ P/ W- v: `) r+ r1 f8 W" J
因為無法回覆, 所以開新文回答....0 _; K G0 Z1 h% a: `8 N* \
ABT={2'b00, DATA, 4'b0000};
+ ?4 {% q* S4 `6 P; w9 q5 S
" ^/ H9 z/ E W( T# _/ J! HVerilog 常用的operator- B& O* y8 y, @6 J6 p& Y$ C: d
– Binary bit-wise operators: ~, &, |, ^, ~^, ^~
- w, p) b3 P& I– Unary reduction operators: &, ~&, |, ~|, ^, ~^, ^~+ o5 x5 ^, v" d2 O% c5 Q9 R7 U9 w- L
– Logical operators: !, &&, ||1 y6 V5 w& l! c! a
– 2’s complement operators: +, -, *, /, %. h7 Y B: K- `0 @
– Relational operators: >, <, >=, <=, ==, !=, ===, !==
0 I( {9 d9 V+ ~. w5 P* n7 o– Logical shift operators: >>, <<7 z5 Z0 }; V: R! {. Q; {
– Conditional operators: ? :
+ v$ y: U& _' {/ i0 f' U5 G) R/ q( U– Duplication operators: {n{ <exp> <,<exp>> *}}9 r3 L) B6 w. N# e
– Concatenation operators: {}: e; a1 n4 g, ]. u8 s' Q0 `
給你參考一下 |
|