Last change
on this file since 106 was
97,
checked in by rosiere, 16 years ago
|
1) Update Prediction Table : statistics
2) Size instruction address on 30 bits
3) Change Log File
4) Add debug_level in simulation configuration file
|
-
Property svn:keywords set to
Id
|
File size:
868 bytes
|
Rev | Line | |
---|
[44] | 1 | #ifdef VHDL |
---|
| 2 | /* |
---|
| 3 | * $Id: RegisterFile_Monolithic_vhdl_declaration.cpp 97 2008-12-19 15:34:00Z rosiere $ |
---|
| 4 | * |
---|
| 5 | * [ Description ] |
---|
| 6 | * |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #include "Behavioural/Generic/RegisterFile/RegisterFile_Monolithic/include/RegisterFile_Monolithic.h" |
---|
| 10 | #include "Behavioural/include/Vhdl.h" |
---|
| 11 | #include "Common/include/ToString.h" |
---|
| 12 | namespace morpheo { |
---|
| 13 | namespace behavioural { |
---|
| 14 | namespace generic { |
---|
| 15 | namespace registerfile { |
---|
| 16 | namespace registerfile_monolithic { |
---|
| 17 | |
---|
| 18 | void RegisterFile_Monolithic::vhdl_declaration (Vhdl * & vhdl) |
---|
| 19 | { |
---|
[97] | 20 | vhdl->set_type ("Tregfile", "array " + _std_logic_range(_param->_nb_word) + " of " + std_logic(_param->_size_word)); |
---|
[44] | 21 | |
---|
| 22 | vhdl->set_signal ("reg_DATA", "Tregfile"); |
---|
| 23 | }; |
---|
| 24 | |
---|
| 25 | }; // end namespace registerfile_monolithic |
---|
| 26 | }; // end namespace registerfile |
---|
| 27 | }; // end namespace generic |
---|
| 28 | }; // end namespace behavioural |
---|
| 29 | }; // end namespace morpheo |
---|
| 30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.