Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Array issues

Reply
Thread Tools

Array issues

 
 
bryfu bryfu is offline
Junior Member
Join Date: Feb 2009
Posts: 1
 
      02-24-2009
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.
 
Reply With Quote
 
 
 
 
joris joris is offline
Senior Member
Join Date: Jan 2009
Posts: 152
 
      02-24-2009
Maybe you meant,

data(1) <= PR_dout;
 
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
Issues using array.delete within a loop of the same array james.d.masters@gmail.com Ruby 12 03-16-2007 11:10 PM
Windows XP Pro clean install issues, SP2 issues too... Howie Computer Support 0 07-06-2005 07:12 PM
Re: Windows XP Pro clean install issues, SP2 issues too... pcbutts1 Computer Support 0 07-06-2005 04:58 PM
Re: Windows XP Pro clean install issues, SP2 issues too... pcbutts1 Computer Support 0 07-06-2005 04:52 PM
SNMP Issues in Cisco Routers; Vulnerability Issues in TCP =?iso-8859-1?Q?Frisbee=AE?= MCSE 0 04-21-2004 03:00 PM



Advertisments