|
本帖最後由 tommywgt 於 2009-11-5 05:41 PM 編輯
s# [) v; r6 H; o u6 ^2 }1 I" z v
. {) A1 W4 [, R因為無法回覆, 所以開新文回答....
) S: @- E4 u$ D# g; R9 f! f/ v8 y- \ABT={2'b00, DATA, 4'b0000};, [+ k+ M! B+ M7 P5 E
6 J6 C5 y6 Y- Y& P- Y% pVerilog 常用的operator& O" \3 v0 i# N& c4 n
– Binary bit-wise operators: ~, &, |, ^, ~^, ^~/ v; z5 J2 H& f8 u \8 d# o
– Unary reduction operators: &, ~&, |, ~|, ^, ~^, ^~
# R& k2 H( B* B! s. m– Logical operators: !, &&, ||
! T; s6 l! B1 j! p: y, R# D– 2’s complement operators: +, -, *, /, %+ \$ J1 J W) A4 G% y! d( n5 r9 I
– Relational operators: >, <, >=, <=, ==, !=, ===, !==; B1 [% t3 h' n; _
– Logical shift operators: >>, <<, B+ x3 U7 T0 H+ L. {, u, k1 d
– Conditional operators: ? :
" `- p" | M: S5 T* r– Duplication operators: {n{ <exp> <,<exp>> *}}
! C5 [2 x4 q# Y& K" R1 h7 H– Concatenation operators: {}
. d5 I& S4 g! y給你參考一下 |
|