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.

sc_event_queue help needed !!

Status
Not open for further replies.

kiku_iitg

Newbie level 1
Joined
Jan 5, 2007
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,288
how to use sc_event_queue

Hi all

I m trying to model hardware using SystemC.
I have a process MYPROC (an SC_METHOD) that is sensitive to two events, say E1 and E2.
It may happen that E1 & E2 are triggered at the same simulation time.
But, in terms of delta times, they trigger the process MYPROC at different times and the process gets exectuted two times. (I have something else to do within the process when both gets triggered)

I would like to try "sc_event_queue" to avoid this. Is i t a better option ?
If so, can somebody give me a sample code on how to use it ?

Thx
KK
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top