AMBA-PV Extensions to OSCI TLM 2.0 Developer Guide


Table of Contents

Preface
About this document
Intended audience
Organization
Typographical conventions
Further reading
Feedback
Feedback on this product
Feedback on this book
1. Introduction
1.1. Overview of AMBA-PV
1.1.1. Interface layers
1.2. AMBA 3 bus interface
1.3. Overview of AMBA-PV classes
1.3.1. Class hierarchy
1.3.2. Class summary
1.4. Example systems
1.4.1. Generic
1.4.2. Exclusive
1.4.3. Bridge
1.4.4. PV
1.4.5. Debug
2. The AMBA-PV Namespace Members
2.1. Enumerations and typedefs
2.2. Functions
2.2.1. amba_pv_address()
2.2.2. amba_pv_is_valid_length()
2.2.3. amba_pv_is_valid_size()
3. The AMBA-PV Classes
3.1. amba_pv_address_map
3.1.1. amba_pv_address_map()
3.1.2. ~amba_pv_address_map ()
3.1.3. add_region()
3.1.4. decode()
3.1.5. begin ()
3.1.6. end ()
3.1.7. size ()
3.1.8. operator[]
3.1.9. at()
3.1.10. operator=()
3.2. amba_pv_address_region
3.2.1. amba_pv_address_region()
3.2.2. get_start()
3.2.3. set_start()
3.2.4. get_end()
3.2.5. set_end()
3.2.6. get_slave_name()
3.2.7. set_slave_name()
3.2.8. get_slave_rank()
3.2.9. set_slave_rank()
3.2.10. decode()
3.3. amba_pv_addressing
3.3.1. amba_pv_addressing()
3.3.2. get_length()
3.3.3. is_valid_length()
3.3.4. set_length()
3.3.5. set_size()
3.3.6. get_size()
3.3.7. is_valid_size()
3.3.8. set_burst()
3.3.9. get_burst()
3.3.10. address()
3.4. amba_pv_attributes
3.4.1. Data Structures
3.4.2. amba_pv_attributes()
3.4.3. ~amba_pv_attributes()
3.4.4. add_attributes()
3.4.5. operator[]()
3.4.6. set_attribute()
3.4.7. get_attribute()
3.4.8. attributes_begin()
3.4.9. attributes_end()
3.4.10. attributes_size()
3.4.11. amba_pv::amba_pv_attributes::attribute_ref
3.5. amba_pv_attributes::attribute_ref
3.5.1. attribute_ref()
3.5.2. operator=()
3.5.3. set_value()
3.6. amba_pv_attributes::const_attribute_ref
3.6.1. const_attribute_ref::const_attribute_ref()
3.6.2. get_name()
3.6.3. get_value()
3.7. amba_pv_bw_transport_if
3.7.1. invalidate_direct_mem_ptr()
3.8. amba_pv_control
3.8.1. amba_pv_control()
3.8.2. set_id()
3.8.3. get_id()
3.8.4. set_privileged()
3.8.5. is_privileged()
3.8.6. set_non_secure()
3.8.7. is_non_secure()
3.8.8. set_instruction()
3.8.9. is_instruction()
3.8.10. set_exclusive()
3.8.11. is_exclusive()
3.8.12. set_locked()
3.8.13. is_locked()
3.8.14. set_bufferable()
3.8.15. is_bufferable()
3.8.16. set_cacheable()
3.8.17. is_cacheable()
3.8.18. set_read_allocate()
3.8.19. is_read_allocate()
3.8.20. set_write_allocate()
3.8.21. is_write_allocate()
3.9. amba_pv_decoder
3.9.1. Data fields
3.9.2. amba_pv_decoder()
3.9.3. bind()
3.9.4. operator()()
3.9.5. b_transport()
3.9.6. transport_dbg()
3.9.7. get_direct_mem_ptr()
3.9.8. invalidate_direct_mem_ptr()
3.9.9. get_map_file()
3.9.10. set_map_file()
3.9.11. get_address_map()
3.9.12. set_address_map()
3.9.13. load_address_map()
3.9.14. print_address_map()
3.10. amba_pv_exclusive_monitor<> template
3.10.1. Data fields
3.10.2. amba_pv_exclusive_monitor()
3.10.3. kind()
3.10.4. b_transport()
3.10.5. transport_dbg()
3.10.6. get_direct_mem_ptr()
3.10.7. invalidate_direct_mem_ptr()
3.11. amba_pv_extension
3.11.1. amba_pv_extension()
3.11.2. ~amba_pv_extension()
3.11.3. clone()
3.11.4. copy_from()
3.11.5. set_resp()
3.11.6. get_resp()
3.11.7. is_okay()
3.11.8. set_okay()
3.11.9. is_exokay()
3.11.10. set_exokay()
3.11.11. is_slverr()
3.11.12. set_slverr()
3.11.13. is_decerr()
3.11.14. set_decerr()
3.12. amba_pv_from_tlm_bridge<> template
3.12.1. Data fields
3.12.2. amba_pv_from_tlm_bridge()
3.12.3. kind()
3.12.4. invalidate_direct_mem_ptr()
3.13. amba_pv_fw_transport_if
3.13.1. b_transport()
3.13.2. transport_dbg()
3.13.3. get_direct_mem_ptr()
3.14. amba_pv_if<> template
3.14.1. amba_pv_if()
3.14.2. ~amba_pv_if()
3.14.3. get_bus_width_bytes()
3.14.4. read()
3.14.5. write()
3.14.6. burst_read()
3.14.7. burst_write()
3.14.8. get_direct_mem_ptr()
3.14.9. debug_read()
3.14.10. debug_write()
3.15. amba_pv_master_base
3.15.1. amba_pv_master_base()
3.15.2. invalidate_direct_mem_ptr()
3.15.3. get_name()
3.16. amba_pv_master_socket<> template
3.16.1. amba_pv_master_socket()
3.16.2. read()
3.16.3. write()
3.16.4. burst_read()
3.16.5. burst_write()
3.16.6. get_direct_mem_ptr()
3.16.7. debug_read()
3.16.8. debug_write()
3.16.9. b_transport()
3.16.10. get_direct_mem_ptr()
3.16.11. bind()
3.16.12. operator()
3.17. amba_pv_memory<> template
3.17.1. Data fields
3.17.2. amba_pv_memory()
3.17.3. ~amba_pv_memory()
3.17.4. kind()
3.17.5. read()
3.17.6. write()
3.17.7. get_direct_mem_ptr()
3.17.8. debug_read()
3.17.9. debug_write()
3.17.10. save()
3.17.11. restore()
3.18. amba_pv_memory_base<> template
3.18.1. amba_pv_memory_base()
3.18.2. get_addr_limit()
3.18.3. b_transport()
3.19. amba_pv_protocol_types struct
3.20. amba_pv_simple_memory<> template
3.20.1. Data fields
3.20.2. amba_pv_simple_memory()
3.20.3. ~amba_pv_simple_memory()
3.20.4. kind()
3.20.5. read()
3.20.6. write()
3.20.7. get_direct_mem_ptr()
3.20.8. debug_read()
3.20.9. debug_write()
3.21. amba_pv_simple_probe<> template
3.21.1. Data fields
3.21.2. amba_pv_simple_probe()
3.21.3. kind()
3.21.4. b_transport()
3.21.5. transport_dbg()
3.21.6. get_direct_mem_ptr()
3.21.7. invalidate_direct_mem_ptr()
3.21.8. set_verbose()
3.22. amba_pv_slave_base<> template
3.22.1. Data fields
3.22.2. amba_pv_slave_base()
3.22.3. b_transport()
3.22.4. transport_dbg()
3.22.5. get_direct_mem_ptr()
3.22.6. read()
3.22.7. write()
3.22.8. burst_read()
3.22.9. burst_write()
3.22.10. get_direct_mem_ptr()
3.22.11. debug_read()
3.22.12. debug_write()
3.22.13. get_name()
3.23. amba_pv_slave_socket<> template
3.23.1. amba_pv_slave_socket()
3.23.2. invalidate_direct_mem_ptr()
3.23.3. bind()
3.23.4. operator()()
3.24. amba_pv_socket_array<> template
3.24.1. amba_pv_socket_array()
3.24.2. ~amba_pv_socket_array
3.24.3. operator[]()
3.24.4. size()
3.25. amba_pv_socket_base
3.25.1. amba_pv_socket_base()
3.25.2. get_socket_id()
3.25.3. set_socket_id()
3.26. amba_pv_to_tlm_bridge<> template
3.26.1. Data fields
3.26.2. amba_pv_to_tlm_bridge()
3.26.3. kind()
3.26.4. b_transport()
3.26.5. get_direct_mem_ptr()
3.26.6. transport_dbg()
3.27. signal_export_base
3.27.1. signal_export_base()
3.27.2. get_export_id()
3.27.3. set_export_id()
3.28. signal_from_sc_bridge<> template
3.28.1. Data fields
3.28.2. signal_from_sc_bridge()
3.28.3. kind()
3.29. signal_if<> template
3.29.1. ~signal_if()
3.29.2. set_state()
3.30. signal_master_port<> template
3.30.1. signal_master_port()
3.30.2. set_state()
3.31. signal_request<> template
3.31.1. signal_request()
3.31.2. get_command()
3.31.3. set_command()
3.31.4. get_state()
3.31.5. set_state()
3.32. signal_response<> template
3.32.1. signal_response()
3.32.2. set_state()
3.32.3. get_state()
3.33. signal_slave_base<> template
3.33.1. Data fields
3.33.2. signal_slave_base()
3.33.3. transport()
3.33.4. get_name()
3.33.5. set_state()
3.34. signal_slave_export<> template
3.34.1. signal_slave_export()
3.34.2. bind()
3.34.3. operator()()
3.35. signal_state_if<> template
3.35.1. get_state()
3.36. signal_state_to_sc_bridge<> template
3.36.1. Data fields
3.36.2. signal_state_to_sc_bridge()
3.36.3. kind()
3.36.4. transport()
3.37. signal_state_from_sc_bridge<> template
3.37.1. Data fields
3.37.2. signal_state_from_sc_bridge()
3.37.3. kind()
3.38. signal_state_master_port<> template
3.38.1. Data fields
3.38.2. signal_state_master_port()
3.38.3. set_state()
3.38.4. get_state()
3.39. signal_state_slave_base<> template
3.39.1. Data fields
3.39.2. signal_state_slave_base()
3.39.3. transport()
3.39.4. get_name()
3.39.5. set_state()
3.39.6. get_state()
3.40. signal_state_slave_export<> template
3.40.1. Data fields
3.40.2. signal_state_slave_export()
3.40.3. signal_state_slave_export()
3.40.4. bind()
3.40.5. operator()()
3.41. signal_state_transport_if<> template
3.42. signal_to_sc_bridge<> template
3.42.1. Data fields
3.42.2. signal_to_sc_bridge()
3.42.3. kind()
3.42.4. transport()
3.43. signal_transport_if<> template
3.43.1. Data fields
3.43.2. transport()

Proprietary Notice

Words and logos marked with™ or ® are registered trademarks or trademarks owned by ARM Limited, except as otherwise stated below in this proprietary notice. Other brands and names mentioned herein may be the trademarks of their respective owners.

Neither the whole nor any part of the information contained in, or the product described in, this document may be adapted or reproduced in any material form except with the prior written permission of the copyright holder.

The product described in this document is subject to continuous developments and improvements. All particulars of the product and its use contained in this document are given by ARM in good faith. However, all warranties implied or expressed, including but not limited to implied warranties of merchantability, or fitness for purpose, are excluded.

This document is intended only to assist the reader in the use of the product. ARM Limited shall not be liable for any loss or damage arising from the use of any information in this document, or any error or omission in such information, or any incorrect use of the product.

Where the term ARM is used it means “ARM or any of its subsidiaries as appropriate”.

Confidentiality Status

This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in accordance with the terms of the agreement entered into by ARM and the party that ARM delivered this document to.

Unrestricted Access is an ARM internal classification.

Product Status

The information in this document is final, that is for a developed product.

Revision History
Revision A17 February 2009New document based on AMBA-PV header files.
Revision B1 April 2009Updated to fix defects.
Copyright © 2009 ARM Limited. All rights reserved.ARM DUI 0455B
Non-Confidential