1 C8 y7 [5 O0 n/ \. G7 `# @8 [; H. H
if (fcn_left==1)* P# p' k# B. L, p! u( O5 P
qout=fcn_in<<3;) i$ A4 j( T J& d* p; ]# ~0 P$ h
else ; { D% g5 I4 c3 v P& K- Vmout=fcn_in>>3;8 `8 V0 n% }: ~& K L
2 D0 ~5 ?- ?! T0 r' jendtask # q* j( _. y$ c
endmodule作者: chienw 時間: 2010-12-29 01:19 PM
you did not specify qout when you called the task, which is the error message tries to tell you.作者: laasong 時間: 2010-12-29 04:34 PM
我知道我問題所在了 task的port和宣告的port不一致 8 j% U* l5 J9 a, P! C. ^% Z5 p' e7 m! b
要在task後面多打qout and mout 這樣就OK了