SoC Design Flow and Tools
Homework Assignment 2
UML and SystemC TLM models for a GCD Calculator
Last Updated: April 12, 2005
For the GCD calculator that was implemented in SystemC for the
previous assignment, you need to do the following:
- Extract a PV (Programmer's View) SystemC model,
- Design a UML model for the above PV model.
- Make sure you have all the 7 different modules (controller, datapath, mux, register,
comparator, subtractor, and gcd) in both the PV and the UML models.
- Run the PV model using the SystemC TLM library and check if the functional untimed
results are the same as those you obtained in the previous experiment.
- Try to use the same testbench that you used before (may be you need to abstract the timing)
- Write a simple C or C++ program that can use the GCD module you developed in SystemC TLM.
- You will lose points for not following these guidelines, regardless of
whether or not your code works.
You need to submit your code and models to one of the TA. The method of submission will be announced later.