Re: Repetitive code (Newbie)

Discussion in 'VHDL' started by smu, Aug 7, 2003.

  1. smu

    smu Guest

    "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;
    > >
     
    smu, Aug 7, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jerry

    Re: Repetitive code (Newbie)

    Jerry, Aug 6, 2003, in forum: VHDL
    Replies:
    2
    Views:
    1,057
    Mike Treseler
    Aug 7, 2003
  2. napi

    Repetitive method name

    napi, May 20, 2005, in forum: Java
    Replies:
    10
    Views:
    3,960
    Ross Bamford
    May 22, 2005
  3. Matt Wette
    Replies:
    6
    Views:
    377
    Jeff Shannon
    Mar 18, 2005
  4. Replies:
    6
    Views:
    281
    Bruno Desthuilliers
    Aug 27, 2006
  5. Replies:
    0
    Views:
    296
Loading...

Share This Page