It is currently Fri Sep 10, 2010 11:47 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: wait_if_stopped_or_empty crashes sim
PostPosted: Mon Mar 02, 2009 10:24 am 
Offline

Joined: Wed Feb 25, 2009 12:06 pm
Posts: 1
Hi --

I'm porting a project from AVM to VMM, using Questa 6.4c. I'm using v1.0.1-E.
I'll reference Janick's VMM Primer "Writing Command Layer Master Transactors" in this message.

I changed all of the mailboxes to vmm_channels. I'm calling `vmm_channel from my vmm_data subclass, as on page 21.

When I do a wait_if_stopped_or_empty per page 11, the simulation crashes as soon as something is in the channel. It appears to be because the peek method, called by wait_if_stopped_or_empty, has a problem when the parameter handle is vmm_data and not my vmm_data subclass.

I can replicate this behavior calling peek myself. It's fine when called with my subclass, and it crashes when the param is declared to be of type vmm_data.

Is this my bug, or maybe yours?

Thank you,
jillkam

PS -- Please excuse me for posting this last week and then removing it. I'm a newbie, and when I removed it, I was thinking that my bugs were the problem. Now I've pretty thoroughly tested this, but wait_if_stopped_or_empty definitely has a problem that I can replicate.


Top
 Profile  
 
 Post subject: Re: wait_if_stopped_or_empty crashes sim
PostPosted: Fri Feb 05, 2010 6:29 am 
Offline

Joined: Thu Feb 04, 2010 5:23 am
Posts: 7
This might be due to Questa support for SV constructs. Did you check this with Mentor guys?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group