Last change
on this file since 125 was
118,
checked in by rosiere, 15 years ago
|
1) Stat List : scan all queue to find free register
2) Write_queue : test "genMealy" add bypass [0]
3) Functionnal_unit : add const parameters to add or not the pipeline_in
4) Load Store Unit : if load make an exception, free nb_check
5) Debug, change test to add model
|
-
Property svn:keywords set to
Id
|
File size:
584 bytes
|
Line | |
---|
1 | /* |
---|
2 | * $Id: Model_set_model.cpp 118 2009-05-20 22:01:32Z rosiere $ |
---|
3 | * |
---|
4 | * [ Description ] |
---|
5 | * |
---|
6 | */ |
---|
7 | |
---|
8 | #include "Behavioural/include/Model.h" |
---|
9 | #include "Common/include/Debug.h" |
---|
10 | |
---|
11 | namespace morpheo { |
---|
12 | namespace behavioural { |
---|
13 | |
---|
14 | #undef FUNCTION |
---|
15 | #define FUNCTION "Model::set_model" |
---|
16 | void Model::set_model (std::string component, model_type_t type, bool debug) |
---|
17 | { |
---|
18 | log_begin(Behavioural,FUNCTION); |
---|
19 | |
---|
20 | model_t model; |
---|
21 | model.type = type ; |
---|
22 | model.debug = debug; |
---|
23 | |
---|
24 | models [component] = model; |
---|
25 | |
---|
26 | log_end(Behavioural,FUNCTION); |
---|
27 | } |
---|
28 | |
---|
29 | }; // end namespace behavioural |
---|
30 | }; // end namespace morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.