By Norman Weyrich, Synopsys, Inc., weyrich@synopsys.com,
Joe Chou, Sonics, Inc., joechou@sonicsinc.com,
and Anssi Haverinen, Nokia, Inc., anssi.haverinen@nokia.com, 3/31/2003.


The channel, the examples and the underlaying concepts are described in the
(Word) document OCP_TL_Channel_v1.0.1.doc



Getting Started
---------------

- The examples run with SystemC 2.0.1 using the compilers supported
  by SystemC 2.0.1.
- The compilers and OS listed are the ones used in our tests. SystemC
  must be compiled with the same compilers. Other OS and compiler versions
  may work as well.
- The examples may also run with SystemC 2.0 in conjunction with the
  supported compilers (e.g. gcc 2.95.2)

- The provided make files accept the following targets:
debug (default)
opt
clean

- We use here c/tc shell syntax

  > cd <systemc_installation_directory>
  > gtar zxvf ocp_tl_sc_v1.0.1.tar.gz

This will create a directory 'tl_sc' and the subdirectories
tl_sc/ocp_tl1_examples
tl_sc/ocp_tl2_examples
tl_sc/simple_examples

set SYSTEMC environment variable to your SystemC installation directory:
  > setenv SYSTEMC /system-2.0

Go to any example directory (e.g. ocp_tl1_examples) and build the executables, e.g.

  For gcc-2.95.2/gcc-3.2.1 on Solaris (5.8):

  > setenv TARGET_ARCH gccsparcOS5
  > gmake -f Make_tl1_async.gcc debug

  For gcc-2.95.2/gcc-3.2.1 on Linux (Red Hat 7.2):

  > setenv TARGET_ARCH linux
  > gmake -f Make_tl1_async.gcc debug

  For gcc-2.95.2/gcc-3.2.1 on Cygwin (2002-02-25 or later):

  > setenv TARGET_ARCH cygwin
  > gmake -f Make_tl1_async.gcc debug

Now you can run the executable, e.g.

  > run_sync

The models print progress of transactions simulation to standard output.
