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

Reply

VHDL - Array issues

 
Thread Tools Search this Thread
Old 02-24-2009, 08:26 AM   #1
Smile Array issues


Hi all,

I have some issues when i do my coding in VHDL.

1st: i instantiate array as follows:

"type data_array is array (1 to 1) of STD_LOGIC_VECTOR (64 DOWNTO 0);
signal data: data_array;"
............
............
after which i use the array as :

"data <= PR_dout;"

where PR_dout is an input of 65 bits long. But i get error that goes :

"Type of data is incompatible with type of PR_dout"

I would appreciate very much if some one can help me in this .

Thank u.


bryfu
bryfu is offline   Reply With Quote
Old 02-24-2009, 03:33 PM   #2
joris
Member
 
Join Date: Jan 2009
Posts: 31
Default
Maybe you meant,

data(1) <= PR_dout;


joris
joris is offline   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
VHDL and EDK: Custom IP core containing an array as a port using EDK allsey_1987 Hardware 0 10-27-2009 02:26 PM
constants as of array of integers, for loops octavsly Hardware 0 04-25-2009 11:53 AM
Issues with games (namely Sims 2) Neogeisha Gaming 1 03-18-2009 08:57 AM
Array Programme rits Software 2 03-04-2009 05:18 PM
MCITP: Enterprise Support Technician MileHighWelch MCITP 1 06-19-2007 10:25 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