Altera Mentor Verification IP Altera Edition AMBA AXI3/4TM User Manual

Page 14

Advertising
background image

List of Examples

14

September 2013

Mentor VIP AE AXI3/4 User Guide, V10.2b

Example 6-38. set_read_data_valid_delay() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Example 6-39. set_wr_resp_valid_delay() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
Example 6-40. slave_ready_delay_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Example 6-41. slave_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Example 6-42. Initialization and Transaction Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Example 6-43. process_read() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Example 6-44. handle_read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
Example 6-45. process_write. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
Example 6-46. handle_write() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
Example 6-47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
Example 7-1. AXI3 Transaction Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Example 7-2. AXI4 Transaction Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
Example 7-3. Slave BFM Test Program Using

get_write_addr_phase()

. . . . . . . . . . . . . . . 196

Example 11-1. Architecture Definition and Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
Example 11-2. Write Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . . . . . . . 609
Example 11-3. Read Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . . . . . . . 610
Example 11-4. Write Burst Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . . 611
Example 11-5. Read Burst Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . . 612
Example 11-6. Outstanding Write Burst Transaction Creation and Execution . . . . . . . . . . . 613
Example 11-7. m_wr_resp_phase_ready_delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 614
Example 11-8. m_rd_data_phase_ready_delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615
Example 11-9. Configuration and Initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615
Example 11-10. Write Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . . . . . . 616
Example 11-11. Read Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . . . . . . 616
Example 11-12. Write Burst Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . 618
Example 11-13. Read Burst Transaction Creation and Execution . . . . . . . . . . . . . . . . . . . . 619
Example 11-14. Outstanding Write Burst Transaction Creation and Execution . . . . . . . . . . 620
Example 11-15. Process handle_write_resp_ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 621
Example 11-16. internal memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Example 11-17. do_byte_read() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Example 11-18. do_byte_write() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Example 11-19. set_read_address_ready_delay() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Example 11-20. set_write_address_ready_delay() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625
Example 11-21. set_write_data_ready_delay() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 626
Example 11-22. set_read_data_valid_delay() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
Example 11-23. set_wr_resp_valid_delay() . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628
Example 11-24. slave_mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628
Example 11-25. process write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
Example 11-26. handle_write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 633
Example 11-27. handle_response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
Example 11-28. process_read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 635
Example 11-29. handle read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636
Example 11-30. Internal Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638
Example 11-31. m_wr_addr_phase_ready_delay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 639
Example 11-32. m_rd_addr_phase_ready_delay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640

Advertising