Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
VAMS-LRM-2-3-1.pdf
Скачиваний:
43
Добавлен:
05.06.2015
Размер:
3.73 Mб
Скачать

Accellera

 

Version 2.3.1, June 1, 2009

VERILOG-AMS

There can be multiple connect module declarations of a given (discrete continuous) discipline pair and the connect module specification statement specifies which is to be used in the auto-insertion process. In addition, parameters of the connect module declaration can be specified via the connect_attributes.

connect_insertion ::= connect connectmodule_identifier [ connect_mode ]

// from A.1.8

[ parameter_value_assignment ] [ connect_port_overrides ] ;

 

connect_mode ::= merged | split

 

connect_port_overrides ::=

 

discipline_identifier , discipline_identifier

 

| input discipline_identifier , output discipline_identifier

 

| output discipline_identifier , input discipline_identifier

 

| inout discipline_identifier , inout discipline_identifier

 

Syntax 7-6—Syntax for connect configuration statements

Connect modules can be reused for different, but compatible disciplines by specifying different discipline combinations in which the connect module can be used. The form is

connect connect_module_identifier connect_attributes discipline_identifier , discipline_identifier ;

where the specified disciplines shall be compatible for both the continuous and discrete disciplines of the given connect module.

It is also possible to override the port directions of the connect module, which allows a module to be used both as a unidirectional and bidirectional connect module. This override also aids library based designs by allowing the user to specify the connect rules, rather than having to search the entire library. The form is

connect connect_module_identifier connect_attributes direction discipline_identifier , direction discipline_identifier ;

where the specified disciplines shall be compatible for both the continuous and discrete disciplines of the given connect module and the specified directions are used to define the type of connect module.

7.7.2 Discipline resolution connect statement

The discipline resolution connect statement specifies a single discipline to use during the discipline resolution process when multiple nets with compatible disciplines are part of the same mixed net, as shown in Syntax 7-7.

connect_resolution ::= connect discipline_identifier { , discipline_identifier } resolveto // from A.1.8 discipline_identifier

| exclude

;

Syntax 7-7—Syntax for connect configuration resolveto statements

where the discipline identifiers before the resolveto keyword are the list of compatible disciplines and the discipline identifier after is the discpline to be used. If the keyword exclude follows resolveto rather than a discipline identifier, then the otherwise compatible disciplines are deemed to be incompatible and an error is indicated if they are found on the same net.

Example:

Copyright © 2009 Accellera Organization, Inc.

164

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