TACPackage
TAC : Transaction Accurate Communication/Channel
http://greensocs.sourceforge.net/pinapa/stlogo.png
projects/TACPackage/docs/PeerReview"> TAC Peer Review</a>)
The TAC package includes the TAC protocol built on top of OSCI TLM standard, and a platform composed of the following modules based on the TAC: two traffic generators, two memories, a timer and a router to connect them. Memory map is specified in a map file loaded before the beginning of the simulation.
Here are the GreenSocs reviews of the TAC package
- [greensocs_review_st_tac.pdfST Microelectronics TAC protocol]
- [st_hierarchy.pdfST class hierarchy overview]
you can download this kit from
Download
Please download the public Release of TAC from SorceForgeREQUIREMENTS
This platform requires:
- SystemC 2.1 simulator (Tested with OSCI version of 12-Oct-2004 and SystemC 2.1 v1)
- TLM OSCI standard 1.0
- scv 1.0 (optional)
- gcc 3.2.3
It runs on Solaris 2.8 and linux RedHat 7.3 or Enterprise 3.0
Note: The code supports also newer versions of SystemC 2.1, or gcc 3.4, but due to restrictions in scv support, transaction monitoring should be disabled in this case, as indicated in next section.
BUILD PROCEDURE
The build procedure is based on autotools.
a. Define the CXX environment variable to your local installation of g + + 3.2.3
Example:
- #!plain
- setenv CXX /soft/gcc/3.2.3/Linux-x86/bin/g++
b. execute the configure script with the following arguments
- #!plain
- --with-systemc=<your local path to SystemC2.1 installation>
- --with-tlm-osci-standard=<your local path to OSCI TLM 1.0 installation>
- --with-scv=<your local path to SCV installation>
- : optional, but required to monitor transactions using the text scv API
Example:
- #!plain
- configure --with-systemc=/soft/osci/simulator/2.1/ --with-tlm-osci-standard=/soft/osci/tlm/1.0
c. Apply gnu make on the generated Makefile. Optional compilation flags to be passed to the Makefile are: {{#!plain -DTLM_VERBOSE -DTLM_VERBOSE_DEBUG -DTLM_TRANS_RECORD -DTLM_TRANS_RECORD_SCV </nowiki>
Example (this will build a tlm_run binary with verbose feature enabled):
- #!plain
- make CXXFLAGS="-DTLM_VERBOSE -DTLM_VERBOSE_DEBUG"
Command line options
The binary executable file produced is named tlm_run. Command line options are:
| "-h | --help" | Usage information |
| "-lbuf" | Specifies line buffered stdout, useful when redirecting traces into a file |
| "-d <value>" | Specifies the simulation duration time in'ms' |
| "-nb <value>" | Specifies the maximum number of transactions executed" |
| "-big" | The simulated endianness is big endian |
| "-little" | The simulated endianness is little endian |
When -DTLM_TRANS_RECORD and -DTLM_TRANS_RECORD_SCV are defined, extra options are:
| "-trans" | enables transactions recording |
| "-dbname <filename> " | Specifies the name of the transactions recording database |
| "-dump_record" | Dumps the transaction recorder enable/disable states into a recorder configuration text file |
| "-print_record" | Prints the transaction recorder enable/disable states to stdout |
| "-load_record" | Loads the transaction recorder enable/disable states from a recorder configuration text file |
| "-record_name <filename>" | Specifies the name of the recorder configuration text file |
Documentation:
TAC package Peer Review Page
Please add comments about TAC on this page.
What to include in Review Comments
Your comments may be brief or lengthy, but basically the Review
Posted January 8th, 2008 by LaurentMailletContoz