File: README

package info (click to toggle)
systemc 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 41,768 kB
  • sloc: cpp: 181,958; sh: 4,925; asm: 2,700; perl: 1,980; ansic: 1,931; makefile: 1,761; fortran: 492; python: 482; awk: 157; csh: 50
file content (23 lines) | stat: -rw-r--r-- 1,042 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
README for Pipe
=================================================================
 
This is a basic example to show how to use SystemC and user
can use it as a template to create more complex models.
 
It consists of 3 processes that form individual stages of a pipleline.
 
| +-----------+     +-----------+   +-----------+  |
| |           |     |           |   |           |  |
| | stage1    |---->| stage2    |-->| stage3    |  |
| |           |     |           |   |           |  |
| +-----------+     +-----------+   +-----------+  |
 
The first stage of the pipeline accepts 2 inputs and computes their sum
and difference.  The second stage accepts the results of the first
stage and computes their product and quotient.  Finally stage3 
accepts these outputs from second stage and computes the first input raised to
the power of the second.
 
In order to compile this model, you have to execute gmake/make,
then you should find a run.x executable after the compilation. Execute
run.x and it will print out the results to your screen.