Last change
on this file since 125 was
112,
checked in by rosiere, 16 years ago
|
1) Stat_list : fix retire old and new register bug
2) Stat_list : remove read_counter and valid flag, because validation of destination is in retire step (not in commit step)
3) Model : add class Model (cf Morpheo.sim)
4) Allocation : alloc_interface_begin and alloc_interface_end to delete temporary array.
5) Script : add distexe.sh
6) Add Comparator, Multiplier, Divider. But this component are not implemented
7) Software : add Dhrystone
|
-
Property svn:keywords set to
Id
|
File size:
447 bytes
|
Rev | Line | |
---|
[112] | 1 | #include "Behavioural/include/SPR_access_mode.h" |
---|
| 2 | |
---|
| 3 | namespace morpheo { |
---|
| 4 | namespace behavioural { |
---|
| 5 | |
---|
| 6 | spr_access_mode_t SPR_access_mode::get_mode (spr_address_t address) |
---|
| 7 | { |
---|
| 8 | return get_mode(address._group, address._register); |
---|
| 9 | } |
---|
| 10 | |
---|
| 11 | spr_access_mode_t SPR_access_mode::get_mode (uint32_t num_group, uint32_t num_reg) |
---|
| 12 | { |
---|
| 13 | return _spr_generic [num_group][num_reg]; |
---|
| 14 | } |
---|
| 15 | |
---|
| 16 | }; // end namespace behavioural |
---|
| 17 | }; // end namespace morpheo |
---|
| 18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.