Talk About Network

Google





Electronic Equipment > VHDL > Re: Variables i...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 6095 of 6445
Post > Topic >>

Re: Variables in procedures (packages)

by Andy <jonesandy@[EMAIL PROTECTED] > Jun 20, 2008 at 06:28 AM

On Jun 20, 3:21 am, "ALu...@[EMAIL PROTECTED]
" <ALu...@[EMAIL PROTECTED]
> wrote:
> Hi newsgroup,
>
> I have variables used in a procedure defined in a package. A process
> in a testbench module is calling that
> procedure.
> When marking the package in Modelsim and opening the "Locals" window I
> do not see any variables.
>
> Is there some way to make them visible ?
>
> Rgds,
> Andre

I'm not sure about this, but I believe that if you go through the
package, then there is no scope to associate with the procedure. You
need to drive down through the procedure call in your code to get into
the procedure body, so that the simulator knows for which instance you
need the local variables.

Andy
 




 5 Posts in Topic:
Variables in procedures (packages)
"ALuPin@[EMAIL PROTE  2008-06-20 01:21:58 
Re: Variables in procedures (packages)
Andy <jonesandy@[EMAIL  2008-06-20 06:28:13 
Re: Variables in procedures (packages)
Mike Treseler <mtresel  2008-06-20 08:00:43 
Re: Variables in procedures (packages)
"ALuPin@[EMAIL PROTE  2008-06-23 02:53:47 
Re: Variables in procedures (packages)
rickman <gnuarm@[EMAIL  2008-06-26 13:51:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 12:18:24 PST 2009.