Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
xst.pdf
Скачиваний:
151
Добавлен:
11.06.2015
Размер:
5.64 Mб
Скачать

R

XST VHDL File Type Support

Non-LRM Compliant Constructs in VHDL

XST supports some non-LRM compliant constructs. XST supports a specific non-LRM compliant construct when:

The construct is supported by majority of synthesis or simulation third-party tools, and

It is a real language limitation for design coding, and has no impact on quality of results or problem detection in the design.

For example, the LRM does not allow instantiation when the formal port is a buffer and the effective one is an out (and vice-versa).

XST VHDL File Type Support

This section discusses XST File Type Support, and includes:

“About XST VHDL File Type Support”

“XST VHDL File Type Support Table”

About XST VHDL File Type Support

XST supports a limited File Read and File Write capability for VHDL:

Use File Read capability, for example, to initialize RAMs from an external file.

Use File Write capability for debugging processes, or to write a specific constant or generic value to an external file.

For more information, see “Initializing RAM Coding Examples.”

Use any of the read functions shown in Table 6-1, “XST VHDL File Type Support.” These read functions are supported by the following packages:

standard

std.textio

ieee.std_logic_textio

XST VHDL File Type Support Table

Table 6-1: XST VHDL File Type Support

Function

Package

 

 

file (type text only)

standard

 

 

access (type line only)

standard

 

 

file_open (file, name, open_kind)

standard

 

 

file_close (file)

standard

 

 

endfile (file)

standard

 

 

text

std.textio

 

 

line

std.textio

 

 

XST User Guide

www.xilinx.com

453

10.1

Chapter 6: XST VHDL Language Support

Table 6-1: XST VHDL File Type Support (Cont’d)

R

Function

Package

 

 

width

std.textio

 

 

readline (text, line)

std.textio

 

 

readline (line, bit, boolean)

std.textio

 

 

read (line, bit)

std.textio

 

 

readline (line, bit_vector, boolean)

std.textio

 

 

read (line, bit_vector)

std.textio

 

 

read (line, boolean, boolean)

std.textio

 

 

read (line, boolean)

std.textio

 

 

read (line, character, boolean)

std.textio

 

 

read (line, character)

std.textio

 

 

read (line, string, boolean)

std.textio

 

 

read (line, string)

std.textio

 

 

write (file, line)

std.textio

 

 

write (line, bit, boolean)

std.textio

 

 

write (line, bit)

std.textio

 

 

write (line, bit_vector, boolean)

std.textio

 

 

write (line, bit_vector)

std.textio

 

 

write (line, boolean, boolean)

std.textio

 

 

write (line, boolean)

std.textio

 

 

write (line, character, boolean)

std.textio

 

 

write (line, character)

std.textio

 

 

write (line, integer, boolean)

std.textio

 

 

write (line, integer)

std.textio

 

 

write (line, string, boolean)

std.textio

 

 

write (line, string)

std.textio

 

 

read (line, std_ulogic, boolean)

ieee.std_logic_textio

 

 

read (line, std_ulogic)

ieee.std_logic_textio

 

 

read (line, std_ulogic_vector), boolean

ieee.std_logic_textio

 

 

read (line, std_ulogic_vector)

ieee.std_logic_textio

 

 

read (line, std_logic_vector, boolean)

ieee.std_logic_textio

 

 

read (line, std_logic_vector)

ieee.std_logic_textio

 

 

write (line, std_ulogic, boolean)

ieee.std_logic_textio

 

 

454

www.xilinx.com

XST User Guide

 

 

10.1

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]