Task:
Perform the functional simulation of the selected project (choose one of
previous exercises: 2, 3 or 4) using SystemC simulation environment.
Write the testbench and present the simulation results using GTKWave
software.
More information about SystemC can be found at: https://en.wikipedia.org/wiki/SystemC
For viewing the simulation results use the GTKWave waveform viewer
(software can be downloaded from: http://gtkwave.sourceforge.net/)
A simple example of simulation in SystemC can be found here: sysc_example.tgz
This example should be unpacked into any directory, then run make
program in this directory and run the generated simulator program: ./run_me
As a result, a wave.vcd file is generated that can be viewed by
running GTKWave.
gtkwave wave.vcd
Exercise can be done by modifying the above example.
The following is a GTKwave window when you view the simulation results
of an above example: