diff --git a/README.adoc b/README.adoc index e0c0a56..18d956b 100644 --- a/README.adoc +++ b/README.adoc @@ -12358,14 +12358,6 @@ Each node has: + For example, `AtomicSimpleCPU` maps is defined at https://github.com/gem5/gem5/blob/05c4c2b566ce351ab217b2bd7035562aa7a76570/src/cpu/simple/AtomicSimpleCPU.py#L45[src/cpu/simple/AtomicSimpleCPU.py]. -You can also get a simplified graphical view of the tree with: - -.... -xdg-open "$(./getvar --arch arm --emulator gem5 m5out_dir)/config.dot.pdf" -.... - -Modifying the `config.ini` file manually does nothing since it gets overwritten every time. - Set custom configs with the `--param` option of `fs.py`, e.g. we can make gem5 wait for GDB to connect with: .... @@ -12374,6 +12366,21 @@ fs.py --param 'system.cpu[0].wait_for_remote_gdb = True' More complex settings involving new classes however require patching the config files, although it is easy to hack this up. See for example: link:patches/manual/gem5-semihost.patch[]. +Modifying the `config.ini` file manually does nothing since it gets overwritten every time. + +===== gem5 config.dot + +The `m5out/config.dot` file contains a graphviz `.dot` file that provides a simplified graphical view of a subset of the <>. + +This file gets automatically converted to `.svg` and `.pdf`, which you can view after running gem5 with: + +.... +xdg-open "$(./getvar --arch arm --emulator gem5 m5out_dir)/config.dot.pdf" +xdg-open "$(./getvar --arch arm --emulator gem5 m5out_dir)/config.dot.svg" +.... + +An example of such file can be seen at: <>. + === m5term We use the `m5term` in-tree executable to connect to the terminal instead of a direct `telnet`.