Last change
on this file since 72 was
71,
checked in by rosiere, 16 years ago
|
Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[2] | 1 | #ifdef VHDL |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | * $Id$ |
---|
| 5 | * |
---|
| 6 | * [ Description ] |
---|
| 7 | * |
---|
| 8 | */ |
---|
| 9 | |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | #include <time.h> |
---|
| 12 | #include <sstream> |
---|
| 13 | |
---|
| 14 | namespace morpheo { |
---|
| 15 | namespace behavioural { |
---|
| 16 | |
---|
[43] | 17 | #undef FUNCTION |
---|
| 18 | #define FUNCTION "Vhdl::get_header" |
---|
[71] | 19 | std::string Vhdl::get_header(uint32_t depth, |
---|
| 20 | std::string filename) |
---|
[2] | 21 | { |
---|
[43] | 22 | log_printf(FUNC,Behavioural,FUNCTION,"Begin"); |
---|
| 23 | |
---|
[71] | 24 | std::string tab = std::string(depth,'\t'); |
---|
| 25 | std::ostringstream text; |
---|
[2] | 26 | |
---|
| 27 | time_t current_time; |
---|
| 28 | time (¤t_time); |
---|
| 29 | |
---|
[71] | 30 | text << tab << "-------------------------------------------------------------------------------" << std::endl |
---|
| 31 | << tab << "-- file : " << filename << std::endl |
---|
[2] | 32 | << tab << "-- date : " << ctime (¤t_time ) |
---|
[71] | 33 | << tab << "-- comment : it's a autogenerated file : don't modify" << std::endl |
---|
| 34 | << tab << "-------------------------------------------------------------------------------" << std::endl; |
---|
[2] | 35 | |
---|
[43] | 36 | log_printf(FUNC,Behavioural,FUNCTION,"End"); |
---|
| 37 | |
---|
[2] | 38 | return text.str(); |
---|
| 39 | }; |
---|
| 40 | |
---|
| 41 | }; // end namespace behavioural |
---|
| 42 | }; // end namespace morpheo |
---|
| 43 | |
---|
| 44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.