Dependencies
GNU autotools:
- m4
- autoconf
- automake
- libtool
Build tools:
- GCC
- GNU Make
GNU Bison
GNU Flex
SystemC (installation steps included below)
Build and Install
Create a directory to store VArchC and access it
Build and install SystemC
wget http://www.accellera.org/images/downloads/standards/systemc/systemc-2.3.1.tgz tar -xvf systemc-2.3.1.tgz cd systemc-2.3.1 ./configure --prefix=$(pwd)/../SystemC/ make make install cd ../
Build and install ArchC
git clone https://github.com/VArchC/ArchC.git ArchC-SRC cd ArchC-SRC ./autogen.sh ./configure --prefix=$(pwd)/../ArchC --with-systemc=$(pwd)/../SystemC/ make make install
Setup environment
source env.sh
We recommend to add this line to your ~/.bashrc to set the ArchC environment automatically.
echo "source env.sh" >> ~/.bashrc source ~/.bashrc
ArchC installation is ready. You need a Processor Model to get started.