|
本帖最後由 tommywgt 於 2009-11-5 05:41 PM 編輯
( [9 b3 P8 d; ~* i' Q5 N4 O- s v' _: n8 ]( F
因為無法回覆, 所以開新文回答....) Q; ` [5 {: h; N3 l" M) R2 a- g9 y
ABT={2'b00, DATA, 4'b0000};" r4 }% I G3 Q( @; H8 w, p3 ^ c
( C4 A1 T9 ~' G9 P: [2 v
Verilog 常用的operator7 u! H7 y- D' ]- c
– Binary bit-wise operators: ~, &, |, ^, ~^, ^~+ `/ r% a- V7 O! A
– Unary reduction operators: &, ~&, |, ~|, ^, ~^, ^~
6 H# Z0 M8 a7 y- t6 T9 r: L– Logical operators: !, &&, ||+ Q$ \4 E+ [: m
– 2’s complement operators: +, -, *, /, %# g$ l ]% c7 {7 _# j
– Relational operators: >, <, >=, <=, ==, !=, ===, !==
" ?; z y, T; S' W. A– Logical shift operators: >>, <</ Q) G( p: n5 l2 j4 [
– Conditional operators: ? :/ E/ V2 i/ r K, j* @0 E0 H8 E. y
– Duplication operators: {n{ <exp> <,<exp>> *}} v) P: k3 y7 e2 N" m# x& e v
– Concatenation operators: {}2 d4 F/ z' g1 `
給你參考一下 |
|