Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

verilog task and event

Status
Not open for further replies.

digitaldesigner

Newbie level 5
Joined
Jun 9, 2009
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,339
verilog event

I have a task which makes a write operation. after write operation task should wait for an event to end the write operation.

how can I pass an event as an argument to a task?
 

verilog task

you can get it's address as a hook function for the task to use!
 

event verilog

digitaldesigner said:
I have a task which makes a write operation. after write operation task should wait for an event to end the write operation.

how can I pass an event as an argument to a task?
you must use function because you can't use time delays and events in task
 

verilog event

You can use time delays & events in tasks.
You can NOT pass an event to a task as a parameter.
 

task in verilog

Make the event global so you can use it in the task without passing it as a parameter. Then optionally use a macro/define if it involves hierarcy path.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top