Hi all,doubt about verilog task

Status
Not open for further replies.

VLSImaniac

Newbie level 3
Joined
Aug 1, 2007
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,297
Hi, can anyone tell me why we should not model synchronous logic in a task?
 

Hi,
A task can only be called from within a procedural block,which for synthesis means a sequential begin-end block.A begin-end block can only be inside an always statement which must contain posedge or negedge construct in the sensitivity list,in order to model synchronous logic.Since synthesis tools cannot suport nested edge-triggered constructs,a task cannot be used to model sync logic.(read it somewhere, correct me if I am wrong)
 

    VLSImaniac

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…