Last change
on this file since 71 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:
795 bytes
|
Line | |
---|
1 | #ifdef VHDL |
---|
2 | |
---|
3 | /* |
---|
4 | * $Id$ |
---|
5 | * |
---|
6 | * [ Description ] |
---|
7 | * |
---|
8 | */ |
---|
9 | |
---|
10 | #include "Behavioural/include/Vhdl.h" |
---|
11 | #include <sstream> |
---|
12 | #include <fstream> |
---|
13 | |
---|
14 | namespace morpheo { |
---|
15 | namespace behavioural { |
---|
16 | |
---|
17 | void Vhdl::generate_file_package(void) |
---|
18 | { |
---|
19 | log_printf(FUNC,Behavioural,"generate_file_package","Begin"); |
---|
20 | |
---|
21 | std::string name = _name + "_Pack"; |
---|
22 | std::string filename = name + ".vhdl"; |
---|
23 | |
---|
24 | std::cout << "Generate file \""<< filename << "\"" << std::endl; |
---|
25 | |
---|
26 | std::ofstream file; |
---|
27 | file.open(filename.c_str(),std::ios::out | std::ios::trunc); |
---|
28 | |
---|
29 | file << get_package (0,filename, name, _name); |
---|
30 | |
---|
31 | file.close(); |
---|
32 | |
---|
33 | log_printf(FUNC,Behavioural,"generate_file_package","End"); |
---|
34 | }; |
---|
35 | |
---|
36 | }; // end namespace behavioural |
---|
37 | }; // end namespace morpheo |
---|
38 | |
---|
39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.