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, 43 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 

RAL supports generated instances of Memories?

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


Joined: Feb 29, 2012
Posts: 5

PostPosted: Thu Apr 12, 2012 11:26 am    Post subject: RAL supports generated instances of Memories? Reply with quote

Can the VMM RAL [%g] specifier be used if a block has internal RAM-based memories? (The internal RAMs contain software registers that need to be in the RALF file; the RAMs are created by tools like Xillinx Coregen).
From RAL ug, RALF uses the [%g] format specifier to denote that a block, register, field, etc. is a "generated instance array". The snippet ('ralf-1') below shows an hdl_path set up to give two instances of "register r3". Could the same thing be done with RAM memories , or array of registers? See next code snippet, 'ralf-2', where 8 instances of 'memory m1' are needed.

ralf-1
Code:

system s1 {
  . . .
  block b3[2] (b3_gen_array[%g].blk) {
    bytes 1
    register r3 (dec.r3_reg) {
      field f
    }
  }
}


ralf-2
Code:

   block b3[8] (b3_gen_array[%g].blk) @0x1000 {
      memory m1 (m1_reg) {
        size 1k;
        bits 16;
      }
   }


thanks,
Eric
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.126 Seconds