List of examples – Altera Mentor Verification IP Altera Edition AMBA AXI4-Stream User Manual

Page 9

Advertising
background image

9

April 2014

Mentor Verification IP AE AMBA AXI4-Stream User Guide, V10.3

List of Examples

Example 2-1. BFM Test Program Set Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22

Example 2-2. BFM Test Program Get Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

22

Example 2-3. Transaction Record Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

23

Example 2-4. Master BFM Test Program Transaction Creation . . . . . . . . . . . . . . . . . . . . . .

26

Example 2-5. Slave BFM Test Program Transaction Creation . . . . . . . . . . . . . . . . . . . . . . .

26

Example 2-6. Master Test Program Transaction Execution . . . . . . . . . . . . . . . . . . . . . . . . .

26

Example 2-7. Test Program Wait for Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

27

Example 2-8. Slave Test Program

get_transfer()

Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

27

Example 2-9. Master Test Program set_byte_type() Task. . . . . . . . . . . . . . . . . . . . . . . . . . .

28

Example 2-10. Slave Test Program get_byte_type() Task . . . . . . . . . . . . . . . . . . . . . . . . . .

28

Example 2-11. Master Test Program operation_mode() Task. . . . . . . . . . . . . . . . . . . . . . . .

29

Example 2-12. Slave Test Program ready_delay() Task . . . . . . . . . . . . . . . . . . . . . . . . . . . .

29

Example 3-1. Master BFM Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

32

Example 3-2. Master BFM Disable All Assertions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

34

Example 3-3. Master BFM Individual Assertion Enable/Disable . . . . . . . . . . . . . . . . . . . . .

34

Example 4-1. Slave BFM Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

44

Example 4-2. Slave BFM Disable All Assertions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

46

Example 4-3. Slave BFM Individual Assertion Enable/Disable . . . . . . . . . . . . . . . . . . . . . .

46

Example 5-1. Monitor BFM Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

56

Example 5-2. Monitor BFM Disable All Assertions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

58

Example 5-3. Monitor BFM Individual Assertion Enable/Disable . . . . . . . . . . . . . . . . . . . .

59

Example 6-1. Definition and Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

68

Example 6-2. Master Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . . . . . . .

69

Example 6-3. Master Transfer Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

70

Example 6-4. m_insert_wait . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

72

Example 6-5. ready_delay(). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

72

Example 6-6. Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

73

Example 6-7. Transfer Receiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

74

Example 7-1. BFM Test Program Set Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

77

Example 7-2. BFM Test Program Get Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

77

Example 7-3. Transaction Record Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

78

Example 7-4. Master BFM Test Program Transaction Creation . . . . . . . . . . . . . . . . . . . . . .

81

Example 7-5. Slave BFM Test Program Transaction Creation . . . . . . . . . . . . . . . . . . . . . . .

81

Example 7-6. Master Test Program Transaction Execution . . . . . . . . . . . . . . . . . . . . . . . . .

81

Example 7-7. Test Program Wait for Event . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

82

Example 7-8. Slave Test Program

get_packet()

Procedure . . . . . . . . . . . . . . . . . . . . . . . . . .

82

Example 7-9. Master Test Program

set_byte_type()

Procedure . . . . . . . . . . . . . . . . . . . . . .

83

Example 7-10. Slave Test Program

get_byte_type()

Procedure . . . . . . . . . . . . . . . . . . . . . .

83

Example 7-11. Master Test Program set_operation_mode() Procedure . . . . . . . . . . . . . . . .

84

Example 7-12. Slave Test Program ready_delay() Procedure . . . . . . . . . . . . . . . . . . . . . . . .

85

Advertising