Re: Unconstrained 2 D array

Discussion in 'VHDL' started by FE, Jun 26, 2003.

  1. FE

    FE Guest

    you can't do it directly.
    you can create a conversion function.
    for an example, see
    http://groups.google.ca/groups?hl=en&lr=&ie=UTF-8&selm=3AHR9.27582$

    regards
    FE

    "Subramanian Ramaswamy" <> wrote in message
    news:bde37t$t07$...
    > I have a question -
    >
    > If I have a 2 D array X( )( ) , both parameters being unconstrained and I
    > want to specifically access just one index.i.e something like
    >
    > Y <= X(1)( )
    >
    > How do I go about this?
    >
    > To make myself clearer suppose X is a 10 X 10 array of std_logic;
    >
    > I want to access X(5)(9 downto 0)
    > But I want to do this for unconstrained arrays.
    >
    > Thanks in advance for the replies.
    >
    >
    >
     
    FE, Jun 26, 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. Alex Rast
    Replies:
    3
    Views:
    5,350
    Jim Lewis
    Oct 6, 2003
  2. Victor Hannak
    Replies:
    1
    Views:
    566
    Mike Treseler
    Nov 25, 2003
  3. Replies:
    5
    Views:
    1,050
    Ralf Hildebrandt
    May 27, 2005
  4. Amal
    Replies:
    5
    Views:
    8,877
    Brandon
    Mar 8, 2006
  5. jens
    Replies:
    3
    Views:
    897
Loading...

Share This Page