|
本帖最後由 tommywgt 於 2009-11-5 05:41 PM 編輯
: [3 X7 }/ l0 T! `- Y) d2 ?' k. J1 m! q- }; ]5 o
因為無法回覆, 所以開新文回答....! h: S, r, v3 s' p( Y9 C$ z
ABT={2'b00, DATA, 4'b0000};
0 C0 f# Z+ y8 E6 w7 y) F, {& s8 E. |1 _# s% p% d" E
Verilog 常用的operator2 ]9 q. y; ?2 \; V" k* I
– Binary bit-wise operators: ~, &, |, ^, ~^, ^~
v3 O; X7 U" A% b% i. o* G$ q3 p– Unary reduction operators: &, ~&, |, ~|, ^, ~^, ^~
) R4 r& r' _3 G' h8 p– Logical operators: !, &&, ||3 G; \: H* x4 ?' X+ b; f
– 2’s complement operators: +, -, *, /, %9 b. T$ a0 o& g( j2 \( U0 l- E+ o
– Relational operators: >, <, >=, <=, ==, !=, ===, !==5 V* Q6 c) e7 h2 F
– Logical shift operators: >>, <<$ } y3 I+ k, _6 }* p3 \# Z) w
– Conditional operators: ? :
, g! G/ Y4 F) p6 R– Duplication operators: {n{ <exp> <,<exp>> *}}
7 H2 \7 B5 }4 p– Concatenation operators: {}
* \% n0 |2 ^9 G( `給你參考一下 |
|