Last change
on this file since 116 was
113,
checked in by rosiere, 15 years ago
|
1) Add modelsim simulation systemC
2) Modelsim cosimulation systemC / VHDL is not finish !!!! (cf execute_queue and write_unit)
3) Add multi architecture
5) Add template for comparator, multiplier and divider
6) Change Message
Warning) Various test macro have change, many selftest can't compile
|
-
Property svn:keywords set to
Id
|
File size:
563 bytes
|
Rev | Line | |
---|
[112] | 1 | /* |
---|
| 2 | * $Id: Model_set_model.cpp 113 2009-04-14 18:39:12Z rosiere $ |
---|
| 3 | * |
---|
| 4 | * [ Description ] |
---|
| 5 | * |
---|
| 6 | */ |
---|
| 7 | |
---|
| 8 | #include "Behavioural/include/Model.h" |
---|
| 9 | |
---|
| 10 | namespace morpheo { |
---|
| 11 | namespace behavioural { |
---|
| 12 | |
---|
| 13 | #undef FUNCTION |
---|
[113] | 14 | #define FUNCTION "Model::set_model" |
---|
[112] | 15 | void Model::set_model (std::string component, model_type_t type, debug_verbosity_t debug) |
---|
| 16 | { |
---|
| 17 | log_begin(Behavioural,FUNCTION); |
---|
| 18 | |
---|
| 19 | model_t model; |
---|
| 20 | model.type = type ; |
---|
| 21 | model.debug = debug; |
---|
| 22 | |
---|
| 23 | models [component] = model; |
---|
| 24 | |
---|
| 25 | log_end(Behavioural,FUNCTION); |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | }; // end namespace behavioural |
---|
| 29 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.