Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Re: Repetitive code (Newbie)

Reply
Thread Tools

Re: Repetitive code (Newbie)

 
 
smu
Guest
Posts: n/a
 
      08-07-2003

"Ajeetha Kumari" <> a écrit dans le message de news:
...
> Hi,
> Look for GENERATE construct, I think that should fit your need.
>
> HTH,
> Ajeetha


I know GENERATE but can I use it with ATTRIBUTE ?
If yes, how uses it in the declaratory part of the ARCHITECTURE block ?

Thanks in advance

smu

> http://www.noveldv.com
> "smu" <> wrote in message

news:<3f2fd735$0$16171$>...
> > I try to find a elegant way to code a component in order to employ it

with
> > different value of a constant.
> >
> > The code is :
> >
> > library IEEE;
> > use IEEE.STD_LOGIC_1164.ALL;
> >
> > entity c_nibble is
> > Port ( input : in std_logic_vector(3 downto 0);
> > output : out std_logic_vector(3 downto 0));
> > end c_nibble;
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help in using introspection to simplify repetitive code jsceballos@gmail.com Python 6 08-27-2006 08:07 PM
Repetitive method name napi Java 10 05-22-2005 10:43 AM
FRT (Fast Repetitive Tick) Communication Gary G. Taylor Computer Support 0 11-14-2003 04:57 AM
Re: Repetitive code (Newbie) Jerry VHDL 2 08-07-2003 03:28 PM
Repetitive folders J C Ames Computer Support 1 07-27-2003 12:28 AM



Advertisments
 



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 47 48 49 50 51 52 53 54 55 56 57