Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

array attributes

Status
Not open for further replies.

ddanj

IS-IT--Management
Jul 19, 2005
9
US
so i'm trying to use array_name'left, array_name'right in this manner:

array_name'left xor array_name'right

but the compiler is telling me that xor can't accept the return type of the array attributes, which seems to be 'std.standard.integer', though the type of array i am using is just std_logic, so I would have thought the return type would be the same type as the array. what's going on here? any help is much appreciated

-ddanj
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top