Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - attributes in VHDL

 
Thread Tools Search this Thread
Old 08-08-2008, 06:31 AM   #1
Default attributes in VHDL


can anybody tell me that: attributes can be converted into signals or
not.


shweta
  Reply With Quote
Old 08-08-2008, 06:48 AM   #2
TigerJade
 
Posts: n/a
Default Re: attributes in VHDL
No. They can't.
Signals can have attributes but attributes are not signals.

On Aug 7, 10:31*pm, shweta <shwetadeshmuk...@gmail.com> wrote:
> can anybody tell me that: attributes can be converted into signals or
> not.




TigerJade
  Reply With Quote
Old 08-08-2008, 02:57 PM   #3
Tricky
 
Posts: n/a
Default Re: attributes in VHDL
On 8 Aug, 08:56, Jonathan Bromley <jonathan.brom...@MYCOMPANY.com>
wrote:
> On Thu, 7 Aug 2008 22:48:22 -0700 (PDT), TigerJade wrote:
> >Signals can have attributes but attributes are not signals.

>
> Just to be nit-picky: *for user-defined attributes
> you are indeed right, but some of the built-in
> attributes of signals are signals themselves.
> For a signal S...
>
> * S'delayed(time_value) *is a signal of the same type as S;
> * S'transaction * * * * *is a signal of type BIT;
>
> and there may be a couple of others that don't spring
> to mind right now. *Naturally, these being built-in
> attributes there's nothing you can do to alter the
> way they behave.
> --
> Jonathan Bromley, Consultant
>
> DOULOS - Developing Design Know-how
> VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services
>
> Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
> jonathan.brom...@MYCOMPANY.comhttp://www.MYCOMPANY.com
>
> The contents of this message may contain personal views which
> are not the views of Doulos Ltd., unless specifically stated.


Using my Doulos VHDL Golden Reference Guide, arnt all signal specific
attributes signals themselves?

From the list:
S'Delayed(time)
S'Stable(time)
S'Quiet(time)
S'Transaction
S'Event
S'Active
S'Last_event
S'last_active
S'Last_value
S'Driving
S'Driving_name


Tricky
  Reply With Quote
Old 08-08-2008, 03:14 PM   #4
kennheinrich@sympatico.ca
 
Posts: n/a
Default Re: attributes in VHDL
On Aug 8, 9:57 am, Tricky <Trickyh...@gmail.com> wrote:
> On 8 Aug, 08:56, Jonathan Bromley <jonathan.brom...@MYCOMPANY.com>
> wrote:
>
>
>
> > On Thu, 7 Aug 2008 22:48:22 -0700 (PDT), TigerJade wrote:
> > >Signals can have attributes but attributes are not signals.

>
> > Just to be nit-picky: for user-defined attributes
> > you are indeed right, but some of the built-in
> > attributes of signals are signals themselves.
> > For a signal S...

>
> > S'delayed(time_value) is a signal of the same type as S;
> > S'transaction is a signal of type BIT;

>
> > and there may be a couple of others that don't spring
> > to mind right now. Naturally, these being built-in
> > attributes there's nothing you can do to alter the
> > way they behave.
> > --
> > Jonathan Bromley, Consultant

>
> > DOULOS - Developing Design Know-how
> > VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

>
> > Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
> > jonathan.brom...@MYCOMPANY.comhttp://www.MYCOMPANY.com

>
> > The contents of this message may contain personal views which
> > are not the views of Doulos Ltd., unless specifically stated.

>
> Using my Doulos VHDL Golden Reference Guide, arnt all signal specific
> attributes signals themselves?
>
> From the list:
> S'Delayed(time)
> S'Stable(time)
> S'Quiet(time)
> S'Transaction
> S'Event
> S'Active
> S'Last_event
> S'last_active
> S'Last_value
> S'Driving
> S'Driving_name


Not quite. For example, S'Event is of function kind, so you get a
value from it but can't do signal-specific things to that value. For
example s'event'delayed is not defined, whereas s'stable(1 ns)'delayed
would be defined.

Delayed, stable, transaction, quiet, are the only four predefined
attributes of signal kind.

Taking a wild guess as to interpreting the OP's question, none of
these attributes, even though they are signals according to the
language semantics, will ever turn into synthesizable signals (i.e.
"wires" in the FPGA or ASIC sense).

- Kenn


kennheinrich@sympatico.ca
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BGP Conditional advertisement with Community attributes qamar General Help Related Topics 0 09-15-2009 06:49 AM
Errata: MCTS 70-536, Self-Paced Training Kit, 3rd print (chapters 1-7) Zimri MCTS 1 04-03-2007 11:15 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46