beautypg.com

Altera Avalon Verification IP Suite User Manual

Page 2

background image

Contents

Introduction to Avalon Verification IP Suite ....................................................1-1

Advantages of Using BFMs and Monitors ..............................................................................................1-1

BFM Implementation .................................................................................................................................1-1

Application Programming Interface ........................................................................................................1-3

Application Example of BFMs ..................................................................................................................1-3

Clock Source BFM ..............................................................................................2-1

Parameters ....................................................................................................................................................2-1

Clock Source API.........................................................................................................................................2-1

Clock_stop() ....................................................................................................................................2-2

get_run_state() ................................................................................................................................2-2

get_version() ....................................................................................................................................2-2

Reset Source BFM ...............................................................................................3-1

Parameters ....................................................................................................................................................3-1
Reset Source API..........................................................................................................................................3-1

reset_deassert ...................................................................................................................................3-2
get_version() ....................................................................................................................................3-2

Avalon Interrupt Source and Interrupt Sink BFMs ..........................................4-1

Parameters ....................................................................................................................................................4-1
Interrupt Source and Sink API...................................................................................................................4-2

get_irq() ............................................................................................................................................4-2
get_version() ....................................................................................................................................4-2
set_irq() ............................................................................................................................................4-3

Avalon-MM Master BFM ...................................................................................5-1

Timing ..........................................................................................................................................................5-2
Block Diagram .............................................................................................................................................5-5
Parameters ....................................................................................................................................................5-6

Avalon-MM Master BFM API...................................................................................................................5-9

event_all_transactions_complete() ...............................................................................................5-9

Altera Corporation

Introduction to Avalon Verification IP SuiteUser Guide

TOC-2