| 1 | |
| 2 | = Description = |
| 3 | |
| 4 | This utility component is a transitional component used to wrap |
| 5 | an [wiki:Component/IssApi ISS API]-compliant ISS in |
| 6 | an [wiki:Component/Iss2Api ISS2 API] compliant wrapper. |
| 7 | |
| 8 | = Usage = |
| 9 | |
| 10 | == Using !IssIss2 in your platform == |
| 11 | |
| 12 | Using the !IssIss2 in your topcell is easy. First include the header: |
| 13 | |
| 14 | {{{ |
| 15 | #include "ississ2.h" |
| 16 | }}} |
| 17 | |
| 18 | Then replace processor instantiation in the !IssWrapper with an instanciation in a !VciXcacheWrapper: |
| 19 | |
| 20 | {{{ |
| 21 | // soclib::caba::IssWrapper<soclib::common::MipsElIss> cpu0("cpu0", 0); |
| 22 | // With GdbServer |
| 23 | soclib::caba::VciXcacheWrapper<soclib::common::IssIss2<soclib::common::MipsElIss> > cpu0("cpu0", 0); |
| 24 | }}} |
| 25 | |
| 26 | Do not forget to update the platform description file: |
| 27 | |
| 28 | {{{ |
| 29 | Uses('vci_xcache_wrapper', iss_t = 'common:ississ2', iss2_t = 'common:mipsel'), |
| 30 | }}} |