Page 1 of 1

Simics® is now free (as beer) for open-source developers

Posted: Sat May 29, 2021 1:42 am
by dunkaist
Simics is a powerful whole-system simulator with such a killer features as checkpoints and reverse execution. It is now free of charge for open source developers.

Now it should be easier to debug the kernel and drivers.

Freely available packages include an example x86 machine running a Linux target.
KolibriOS can also be run on Simics. I used kolibri.raw image, and I attach kolibrios.simics config file to put it to simics-qsp-x86-6.0.43/targets/qsp-x86/ directory.

Simics is shipped with good documentation including step-by-step installation and beginner's guides.

Re: Simics® is now free (as beer) for open-source developers

Posted: Thu Jun 24, 2021 11:31 pm
by dunkaist
Here is a step-by-step guide on how to install Simics(R) under Linux(R) and run KolibriOS.
  1. Download Simics package manager (ISPM) and Simics itself from its home page at Intel site.
  2. Unpack ISPM to, say, /opt/simics.

    Code: Select all

    $ sudo mkdir /opt/simics
    $ cd /opt/simics/
    $ sudo tar -xf /data/trash/simics/intel-simics-package-manager-1.0.0-linux64.tar.gz
  3. Install Simics and packages included to the downloaded bundle.

    Code: Select all

    $ sudo ./intel-simics-package-manager-1.0.0/ispm packages --non-interactive --trust-unsigned-packages --install-dir . --install-bundle /data/trash/simics/simics-6-packages-2021-16-linux64.ispm
  4. There is an issue with permissions, fix it.

    Code: Select all

    $ sudo chmod o+r -R .
    Installation completed!
  5. Now create a directory and set up a Simics project in it.

    Code: Select all

    $ cd /path/to/your/project
    $ /opt/simics/simics-6.0.83/bin/project-setup
  6. Install packages to the newly created project.

    Code: Select all

    $ ./bin/addon-manager -bc
    $ ./bin/addon-manager -bs /opt/simics/simics-qsp-x86-6.0.43/
  7. Download kolibrios.simics file attached to this post, edit path to kolibri.raw file in it and put kolibrios.simics to targets/qsp-x86/.
  8. Copy four more files.

    Code: Select all

    $ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/qsp-system.include targets/qsp-x86/
    $ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/qsp-images.include targets/qsp-x86/
    $ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/qsp-uefi.include targets/qsp-x86/
    $ cp /opt/simics/simics-qsp-x86-6.0.43/targets/qsp-x86/rw-state.include targets/qsp-x86/
    Project setup is done!
  9. Run Simics.

    Code: Select all

    $ ./bin/simics -no-gui targets/qsp-x86/kolibrios.simics
  10. Run simulation.

    Code: Select all

    run
Documentation is in your project.
$ ls -1 ./doc/*pdf
./doc/analyzer-user-guide.pdf
./doc/byte-order-and-byte-swapping.pdf
./doc/cc-device-api.pdf
./doc/CraffFS.pdf
./doc/craff.pdf
./doc/debug-demos.pdf
./doc/debugging-simics.pdf
./doc/dml-1.4-reference-manual.pdf
./doc/dml-reference-manual.pdf
./doc/DOCUMENTATION.pdf
./doc/enterprise-deploy.pdf
./doc/ethernet-networking.pdf
./doc/getting-started.pdf
./doc/installation-guide-linux.pdf
./doc/ip-xact.pdf
./doc/link-library.pdf
./doc/model-builder-user-guide.pdf
./doc/model-development-checklist.pdf
./doc/object-lifetime.pdf
./doc/processor-model-integration-guide.pdf
./doc/rapidio-in-simics.pdf
./doc/reference-manual-api.pdf
./doc/reference-manual-cc-device-api.pdf
./doc/reference-manual-qsp-x86.pdf
./doc/reference-manual-simics-base.pdf
./doc/reference-manual-systemc-library-api.pdf
./doc/RELEASENOTES.pdf
./doc/RELEASENOTES-qsp-x86.pdf
./doc/simics-6-migration-guide.pdf
./doc/simics-product-family.pdf
./doc/simics-support.pdf
./doc/simics-user-guide.pdf
./doc/systemc-checkpoint.pdf
./doc/systemc-library.pdf
./doc/target-guide-qsp-x86.pdf
./doc/understanding-simics-timing.pdf
./doc/windows-kernel-debugging.pdf

Re: Simics® is now free (as beer) for open-source developers

Posted: Wed Jun 30, 2021 2:44 pm
by Boppan
Holy Crap this is awesome!

I so wanted to see such a powerful tool available for a poor private user.

My deep respect to Intel.