| 1 | UNDER DEVELOPMENT |
| 2 | |
| 3 | |
| 4 | == MPC7447A Processor Functional Description == |
| 5 | |
| 6 | This hardware component is a Freescale MPC7447A, a 32-bit implementation of the PowerPC architecture used for both general purpose (PowerMacintosh and CHRP machines) and embedded applications (industrial and network). |
| 7 | This model is still in development and currently uses [wiki:Component/IssWrapper IssWrapper] to connect the ISS to the VCI xcache. |
| 8 | The model should run applications not requiring the standard PowerPC MMU, and the PowerPC specific TLB and cache instructions. |
| 9 | |
| 10 | == Compiling the ISS == |
| 11 | |
| 12 | Here is a sample for soclib.conf to make it compile: |
| 13 | |
| 14 | {{{ |
| 15 | |
| 16 | # -*- python -*- |
| 17 | # Maintainers: nipo |
| 18 | |
| 19 | def _platform(): |
| 20 | """ |
| 21 | Retrieves platform information and make it look-like systemc's |
| 22 | lib-xxx thing. |
| 23 | |
| 24 | Working so far with: |
| 25 | * linux |
| 26 | * darwin |
| 27 | """ |
| 28 | import sys |
| 29 | pf = sys.platform |
| 30 | # Strip numeric suffix from platform name |
| 31 | while pf[-1] in "0123456789": |
| 32 | pf = pf[:-1] |
| 33 | |
| 34 | remap_pf = {'darwin':'macosx'} |
| 35 | if pf in remap_pf: |
| 36 | pf = remap_pf[pf] |
| 37 | return pf |
| 38 | |
| 39 | config.systemc = Config( |
| 40 | base = config.systemc, |
| 41 | dir = "${SYSTEMC}", |
| 42 | os = _platform(), |
| 43 | ) |
| 44 | |
| 45 | config.mytoolchain = Config( |
| 46 | base= config.toolchain, |
| 47 | cflags=['-DSOCLIB', '-I/usr/include/libxml2'], |
| 48 | libs=['-lxml2', '-lbfd'] |
| 49 | ) |
| 50 | |
| 51 | config.default = Config( |
| 52 | base = config.build_env, |
| 53 | systemc = config.systemc, |
| 54 | toolchain = config.mytoolchain, |
| 55 | repos = "/tmp/build/sc", |
| 56 | ) |
| 57 | }}} |
| 58 | |