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

Accellera

 

Version 2.3.1, June 1, 2009

VERILOG-AMS

11.6.20 Contribs

contribs

 

ind flow

 

vpiLhs

 

 

 

 

 

ind potential

 

vpiRhs

 

 

branches

flow

potential vpiRhs

-> value vpi_get_value()

-> direct bool:vpiDirect

-> flow

bool: vpiFlow

expr

expr

expr

Copyright © 2009 Accellera Organization, Inc.

272

Analog and Mixed-signal Extensions to Verilog HDL

11.6.21 Process, block, statement, event statement

module

 

 

 

 

 

 

scope

 

 

 

 

 

 

 

 

process

 

 

 

 

 

 

stmt

initial

 

block

always

 

atomic stmt

analog

 

 

 

-> location

int: vpiLineNo str: vpiFile

block

 

stmt

 

begin

named begin

fork

named fork

-> location

int: vpiLineNo str: vpiFile

event stmt ‘->’ named event

-> location

int: vpiLineNo str: vpiFile

Accellera

Version 2.3.1, June 1, 2009

atomic stmt if

if else while repeat wait case

for delay control event control

event stmt assignment assign stmt deassign disable

tf call forever force release null stmt contribs

273

Copyright © 2009 Accellera Organization, Inc. All rights reserved.

Accellera

 

Version 2.3.1, June 1, 2009

VERILOG-AMS

11.6.22 Assignment, delay control, event control, repeat control

expr

expr

delay control

vpiLhs

assignment event control

vpiRhs

 

 

 

 

-> blocking

 

repeat control

 

 

bool: vpiBlocking

 

 

 

 

 

 

-> location

 

 

int: vpiLineNo str: vpiFile

delay control ‘#’

-> delay vpi_get_delays()

-> location

int: vpiLineNo str: vpiFile

event control ‘@’

-> location

int: vpiLineNo str: vpiFile

stmt

vpiDelay

expr

vpiCondition

expr

named event

stmt

repeat control

 

 

 

expr

 

 

-> location

 

 

 

 

int: vpiLineNo

 

 

 

event control

str: vpiFile

 

 

 

 

 

 

NOTE—For delay control and event control associated with assignment, the statement shall always be NULL.

Copyright © 2009 Accellera Organization, Inc.

274

Analog and Mixed-signal Extensions to Verilog HDL

While, repeat, wait, for, forever

while

vpiCondition

repeat

wait

-> location

int: vpiLineNo str: vpiFile

for

 

 

 

 

vpiForInitStmt

-> location

 

 

 

 

int: vpiLineNo

 

 

 

 

vpiCondition

str: vpiFile

 

 

 

 

 

 

 

 

 

 

vpiForIncStmt

 

 

 

 

forever

-> location

int: vpiLineNo str: vpiFile

Accellera

Version 2.3.1, June 1, 2009

expr

stmt

stmt expr stmt

stmt

stmt

275

Copyright © 2009 Accellera Organization, Inc. All rights reserved.

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