UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 13960

4.2i XST - As of 4.2i, XST supports record types in VHDL functions

Description

Keywords: function, VHDL, record, aggregate, type, return

Urgency: Standard

General Description:
As of the 4.2i software release, XST supports record types as the return result of a VHDL function.

Solution

The following sample VHDL code illustrates the added VHDL language coverage:

:
:
type My_Record_Type is
record
field_one : boolean;
field_two : natural;
field_three : std_logic_vector;
end record My_Record_Type;
:
:
function Return_Result (R : natural) return My_Record_Type is
:
:
AR# 13960
Date Created 02/26/2002
Last Updated 08/06/2003
Status Archive
Type General Article