Verification Guild
A Community of Verification Professionals

 Create an AccountHome | Calendar | Downloads | FAQ | Links | Site Admin | Your Account  

Login
Nickname

Password

Security Code: Security Code
Type Security Code
BACKWARD

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Modules
· Home
· Downloads
· FAQ
· Feedback
· Recommend Us
· Web Links
· Your Account

Advertising

Who's Online
There are currently, 58 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

  
Verification Guild: Forums

 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile  ProfileDigest    Log inLog in 

Read back data from vmm_channel

 
Post new topic   Reply to topic    Verification Guild Forum Index -> Main
View previous topic :: View next topic  
Author Message
Tejasaurus
Newbie
Newbie


Joined: Mar 07, 2012
Posts: 4

PostPosted: Wed Mar 07, 2012 3:24 pm    Post subject: Read back data from vmm_channel Reply with quote

Hi,

I am a newbie to VMM and SV. I am trying to get back the 'Read' data from a vmm_channel to my generator. I am passing the read address through the object and putting in into the vmm_channel. I want to know if we can get back the read data from the xactor from the same channel?

Thanks,
Tejasaurus
Back to top
View user's profile
Janick
Site Admin
Site Admin


Joined: Nov 29, 2003
Posts: 1382
Location: Ottawa, ON Canada

PostPosted: Wed Mar 07, 2012 4:10 pm    Post subject: Reply with quote

See the "Atomic" execution model in the VMM book if it is a simple in-order non-pipelined protocol.

The BFM should peek the transaction from the channel, annotate the read data into the transaction, then pop it out from the channel. When the put() returns, the read data can be found in the transaction object.
Back to top
View user's profile Send e-mail Visit poster's website
Tejasaurus
Newbie
Newbie


Joined: Mar 07, 2012
Posts: 4

PostPosted: Wed Mar 07, 2012 4:36 pm    Post subject: Reply with quote

Sorry. I could not get what you actually meant. In my design I have a generator, connected through a vmm_channel to the transactor. I am invoking the read task from the generator in which I only send the address and expect to read back the data at the generator. So I do a put() of the read-object from the generator to the channel. And I do a get() of this at the transactor. So you are saying that the data read back from the interface by the transactor is automatically sent back from the transactor through the channel back to my read-task in the generator? Don't I need to do something similar to a put-get operation back from the xactor to the generator through the channel?( I suppose not, because the channel is uni-directional right)
Back to top
View user's profile
Tejasaurus
Newbie
Newbie


Joined: Mar 07, 2012
Posts: 4

PostPosted: Wed Mar 07, 2012 6:34 pm    Post subject: Reply with quote

I got this working Smile Using a get() from the transactor is not helping me to get back the read data to the generator. When I use the activate(),start(),complete() and remove() tasks it works for me. Can someone explain to me why this is happening.

Thanks.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Verification Guild Forum Index -> Main All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum
Verification Guild © 2006 Janick Bergeron
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.186 Seconds