Hi Everyone,
I tried to use getCacheState() and setCacheState() function in
CacheMemory.C, these functions are provided by generated protocol
code. First, there was a compiling error, complaining these two
functions cannot be found. Then I realized that these should be added
into CacheEntryBase.h as virtual function. After that, I can compile
the simulator, but when it was executed, the processor model cannot be
loaded, the reason is ""undefined symbol: _ZTI14CacheEntryBase"". How
I can resolve this problem? If I want to use the functions in
generated C files, what should I do? Thanks!
Xuehai
|