The current implementation has been verified under Fedora 9 Linux using OSCI SystemC 2.2 and GCC 4.3.0. The author welcomes feedback about use under other operating systems.
Unpack the source file, and change to the directory where the source is unpacked.
jxf embecosm-esp4-sysc-jtag-ca-1.0.tar.bz2 cd embecosm-esp4-sysc-jtag-ca-1.0
Ensure the environment variable SYSTEMC
is set to
point to your SystemC distribution.
Build the cycle accurate SystemC JTAG library.
make
In the current implementation, there is no
make install
. Copy the resulting
libjtagsc.a
library and
jtagsc.h
header to the library and header
directories of choice if desired.
To use the library, add the header directory to the GCC preprocessor flags and the library directory and library to the final linking command line. For example.
gcc -Iembecosm-esp4-sysc-jtag-ca-1.0 testprog.cpp gdd -Lembecosm-esp4-sysc-jtag-ca-1.0 testprog.o -ljtagsc -o testprog