|
本帖最後由 tommywgt 於 2009-11-5 05:41 PM 編輯 9 p: g4 s* j1 V2 Y" y" k2 w
8 u; b5 `% I. ]& i' o( c
因為無法回覆, 所以開新文回答....( ~( d* R. g) O0 q& p0 Q$ m2 o" I' A5 e
ABT={2'b00, DATA, 4'b0000};
& d4 W7 v; n2 H* A( h5 h- o5 l
' k9 L) r8 v" t" f9 }# A1 {0 QVerilog 常用的operator
0 c1 j9 m: n" i' N) A) U: q– Binary bit-wise operators: ~, &, |, ^, ~^, ^~
; f& r* {$ e5 \– Unary reduction operators: &, ~&, |, ~|, ^, ~^, ^~% |; P% h, }7 }* f/ [+ }: P
– Logical operators: !, &&, ||
+ U- ?, C9 |* x– 2’s complement operators: +, -, *, /, %$ @5 K' M9 z; G1 H. v0 p
– Relational operators: >, <, >=, <=, ==, !=, ===, !==( d) L# G% g. W
– Logical shift operators: >>, <<7 }8 J; K( E. G" i
– Conditional operators: ? :* `9 F i. o& m w' K3 D
– Duplication operators: {n{ <exp> <,<exp>> *}}) ~/ V; S+ _( c( ~) P* p
– Concatenation operators: {}8 @) d* B$ M8 o8 _1 \$ }! o" C3 \% N
給你參考一下 |
|