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

描述

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.

解决方案

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
日期 08/06/2003
状态 Archive
Type 综合文章
的页面