|
本帖最後由 tommywgt 於 2009-11-5 05:41 PM 編輯
& [7 f L+ E0 E( G" D2 M6 O$ f4 y
因為無法回覆, 所以開新文回答....
! ~2 a9 ?2 I [) z( yABT={2'b00, DATA, 4'b0000};2 l' \2 R u& D
6 q' l3 v w- |& R8 n6 D6 J0 J. ZVerilog 常用的operator
4 H3 F$ A3 ~0 l4 u– Binary bit-wise operators: ~, &, |, ^, ~^, ^~/ O( U+ }" q4 a
– Unary reduction operators: &, ~&, |, ~|, ^, ~^, ^~5 a; o! B. D/ }, K
– Logical operators: !, &&, ||
+ Q! K* a5 p+ i; w" F% @6 s# b; V- l– 2’s complement operators: +, -, *, /, %7 y& S1 n* I# Y7 f: q
– Relational operators: >, <, >=, <=, ==, !=, ===, !==
[& D8 k$ Z# w– Logical shift operators: >>, <<
; |' T! O% c9 Y3 T$ U9 }7 X– Conditional operators: ? :
; {1 T) {$ \! D' x- Y V$ x0 `– Duplication operators: {n{ <exp> <,<exp>> *}}. b! y; y+ D- g
– Concatenation operators: {}6 ^6 D2 z/ C( y- {
給你參考一下 |
|