Installing the execution environment on your computer


What is necessary?

The execution environment used in this course consists of the following packages:

  1. TLM (version 1.0)
  2. SystemC (version 2.2.0)
  3. ArchC (version 2.0)
  4. Gcc compiler for the desired processor. Download from ArchC the already compiled version or the source code following the tutorial on the ArchC website.
  5. ARP (version 1.0)

Download these files directly from the specified sites or use the versions available on my IC-3 homedir, in the / home / staff / rodolfo / mc723 / download folder.


The packages will be installed in the sequence that was listed above. I recommend that you create a folder named mc723 and create the folders tlm, archc, arp e system inside them


The installation consists of just unzipping the package and moving the contents of the TLM-2005-04-08 / tlm folder into the tlm folder you created earlier.


When unzipping, a systemc-2.0.0 folder will be created. Inside it run:

./configure --prefix = <...> / mc723 / systemc

where <...> is the full path to the mc723 folder you created.
then run:

make install

During make, depending on the version of gcc you are using, it may complain about the lack of #include in a file and also be written std :: getenv in the same file. Correct these two lines (including the #include and removing the std ::).

You can ignore installation test errors within the folder examples.


When unzipping, an archc-2.0 folder will be created. Inside it run:

./configure --prefix = <...> / mc723 / archc --with-tlm = <...> / mc723 / tlm --with-systemc = <...> / mc723 / systemc
make install

Configuration, compilation and installation should go smoothly.

Gcc compiler

The simplest way is to copy the folder / l / archc from the xaveco machine to yours, keeping exactly the same place.


Just unzip the created arp folder. Don't forget to edit the main Makefile to point to the ArchC, SystemC and TLM installation locations used above.

If you are installing on a 64-bit computer, you must change the HOST_OS: = linux by HOST_OS: = linux64.

Will return course page.