source:
trunk/IPs/systemC/Environment/RamLock/src/RamLock_reset.cpp
@
80
Last change on this file since 80 was 80, checked in by , 16 years ago | |
---|---|
File size: 244 bytes |
Rev | Line | |
---|---|---|
[78] | 1 | #include "../include/RamLock.h" |
2 | ||
[80] | 3 | namespace environment { |
[78] | 4 | namespace ramlock { |
5 | ||
6 | void RamLock::reset (void) | |
7 | { | |
8 | // Take all lock and set UNLOCK value | |
9 | for (uint32_t it = 0; it < _param->_size; it ++) | |
10 | _lock [it] = UNLOCK; | |
11 | } | |
12 | ||
13 | }; | |
14 | }; |
Note: See TracBrowser
for help on using the repository browser.