|
本帖最後由 tommywgt 於 2009-11-5 05:41 PM 編輯
, N; ?: ]3 y3 j! T/ K: p" ]7 R* M" ^9 Z2 d8 N$ u4 |+ O5 M
因為無法回覆, 所以開新文回答....: j3 ?5 A- j+ G, K; X8 t
ABT={2'b00, DATA, 4'b0000};9 M/ V2 |$ ]9 H) K4 p
" B; L) u+ t5 Z; V. l% Z5 x+ LVerilog 常用的operator+ p! w* S6 M* l. I7 A
– Binary bit-wise operators: ~, &, |, ^, ~^, ^~0 D4 X( i C" x
– Unary reduction operators: &, ~&, |, ~|, ^, ~^, ^~; y' z$ z' k! R( l
– Logical operators: !, &&, ||5 s+ h, V/ U1 o- r3 k2 {/ }
– 2’s complement operators: +, -, *, /, %
* E+ M9 n& g! \1 N! W– Relational operators: >, <, >=, <=, ==, !=, ===, !==
' y9 M d! s" M4 a: }– Logical shift operators: >>, <<8 v+ Q- T6 H- r3 j7 C3 c
– Conditional operators: ? :
; d9 m' X" a- Y8 y) s– Duplication operators: {n{ <exp> <,<exp>> *}}
' a1 z$ q: Y4 J) ^8 V0 }– Concatenation operators: {}
. z. x& I. |: S給你參考一下 |
|