Please enable JavaScript.
Coggle requires JavaScript to display documents.
SoC Modeling (4. Modeling Terms (programmer view accurate (timing may be…
SoC Modeling
-
2. What is a good model?
-
-
-
easy to develop, maintain and modify
-
-
4. Modeling Terms
-
-
-
-
-
-
programmer view accurate
-
timing may be inaccurate
when accurate, the model is called PV + T
behavioral model
-
can be UT, AT, LT or cycle accurate
- least accurate in timing and order
-
-
-
-
-
Implementation of TLM
declaring modules
SC_MODULE(module_name) { ports description; internal signal description; module constructor; mopdule functionality; instances of other module; }
Processes
SC_METHOD
does not own separate thread, automatically activated, cannot call code that calls wait()
SC_THREAD
own a separate thread, automatically activated, can call code that call wait()
SC_CTHREAD
own a separate thread, automatically activated, can call code that call wait() with certain conditions
Elements of SystemC
-
ports
ports of a module are its interface that interacts with the external world and pass information to and from a module and trigger actions within a module
-
-
-
clock
sc_clock variable_name(name, period, duty_cycle, start_time, positive_first, time_unit );
-
-
-
-