Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

4.1.  Modifying the Or1ksim ISS for TLM 2.0

4.1.1. Converting Or1ksim to a Library
4.1.2. Additional Functionality for Or1ksim

Most ISS need some modification before they can be incorporated into a TLM 2.0 framework. Like many ISS, Or1ksim is designed as a standalone program. The options are:

  1. Keep the ISS as a standalone program, but modify it to call out to a SystemC model of the peripherals as required.

  2. Modify the ISS to be a library with a set of public interfaces that can be part of a larger system.

Given the choice, option 2 is more flexible, making the ISS widely reusable in other environments. It is the approach adopted in this application note.

It is not intended that the reader should have to understand the internal workings of Or1ksim. All the changes described in this application note form part of Or1ksim 0.4.0.

With the exception of the examples in Chapter 11, the changes described in this application note also form part of Or1ksim 0.3.0.

Details of obtaining Or1ksim are provided in Appendix A.

Embecosm divider strip