beautypg.com

Figure 2–3. using instance names to define bfms – Altera Avalon Verification IP Suite User Manual

Page 176

background image

Chapter 2:

Qsys Tutorial

2–
9

Verifying A

valon-ST D

U

T

May 20

11

Alter

a

Co
rp

or

ati
o

n

A

valo

n

Ve
rifica

tion

IP Suite U

ser

Guide

Figure 2–3

shows the simulation waveforms in the ModelSim-Altera software wave window.

Figure 2–3. Using Instance Names to Define BFMs

clk

reset_bfm.reset

clk_bfm_clk_clk

reset_bfm_reset_reset

src_data[31:0]

src_channel[2:0]

src_valid

src_startofpacket

src_endofpacket

src_error[2:0]

src_empty[1:0]

src_ready

st_in_data[31:0]

st_in_valid

st_in_ready

st_in_startofpacket

st_in_endofpacket

st_in_empty[1:0]

st_in_error[2:0]

st_in_channel[2:0]

st_out_data[31:0]

st_out_valid

st_out_ready

st_out_startofpacket

st_out_endofpacket

st_out_empty[1:0]

st_out_error[2:0]

st_out_channel[2:0]

sink_data[31:0]

sink_channel[2:0]

sink_valid

sink_startofpacket

sink_endofpacket

sink_error[2:0]

sink_empty[1:0]

sink_ready

00000002

XXXXXXXX

0

0

0

00000002

0

0

0

00000001

00000003

0

0

0

00000001

00000003

0

0

0

‘bXXX

‘bXXX

‘bXX

XXXXXXXX

‘bXX

‘bXXX

‘bXXX

‘bXX

‘bXXX

‘bXXX

XXXXXXXX

XXXXXXXX

‘bXXX

‘bXXX

‘bXX

Source BFM

DUT ( SC FIFO)

Sink BFM