Last change
on this file since 102 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
419 bytes
|
Line | |
---|
1 | #include "Behavioural/include/SPR_access_mode.h" |
---|
2 | |
---|
3 | namespace morpheo { |
---|
4 | namespace behavioural { |
---|
5 | |
---|
6 | spr_address_t SPR_access_mode::translate_address (Tgeneral_data_t address) |
---|
7 | { |
---|
8 | spr_address_t addr; |
---|
9 | |
---|
10 | addr._group = range<Tgeneral_data_t>(address,15,11); |
---|
11 | addr._register = range<Tgeneral_data_t>(address,10, 0); |
---|
12 | |
---|
13 | return addr; |
---|
14 | } |
---|
15 | |
---|
16 | }; // end namespace behavioural |
---|
17 | }; // end namespace morpheo |
---|
18 | |
---|
Note: See
TracBrowser
for help on using the repository browser.