Creating 2D Array

Discussion in 'VHDL' started by pessenm, Jun 24, 2008.

  1. pessenm

    pessenm

    Joined:
    Jun 13, 2008
    Messages:
    8
    Say I wanted to create an array with 5 rows, having 20 elements in each row. How would I go about creating this?

    Also, once I have it created is there a way to assign values to a single row using syntax such as: ARRAY(2) <= (0=>'1', 1=>'0', others => '0');

    I am familiar with normal arrays, but not entirely sure how to do a 2D Array.

    Any help is greatly appreciated. Thanks!


    pessenm
     
    pessenm, Jun 24, 2008
    #1
    1. Advertising

  2. pessenm

    pessenm

    Joined:
    Jun 13, 2008
    Messages:
    8
    Does anyone know this?

    Anyone? Anyone?
     
    pessenm, Jun 24, 2008
    #2
    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. Ravi Ambros Wallau
    Replies:
    0
    Views:
    4,121
    Ravi Ambros Wallau
    Jun 1, 2005
  2. Mara Guida

    const and array of array (of array ...)

    Mara Guida, Sep 2, 2009, in forum: C Programming
    Replies:
    3
    Views:
    524
    David RF
    Sep 3, 2009
  3. Ravi Ambros Wallau
    Replies:
    0
    Views:
    334
    Ravi Ambros Wallau
    Jun 1, 2005
  4. Tom
    Replies:
    3
    Views:
    236
    salsablr
    Dec 20, 2004
  5. Tuan  Bui
    Replies:
    14
    Views:
    531
    it_says_BALLS_on_your forehead
    Jul 29, 2005
Loading...

Share This Page