marss icon indicating copy to clipboard operation
marss copied to clipboard

Use MARSS's cache module separately

Open amiralish opened this issue 11 years ago • 2 comments

I'm wondering if the cache module can be used separately on some other platforms (if those platforms support an external module. e.g. Synposis Processor Designer, etc.) or it is only applicable in MARSS full-system simulator.

Thanks, -Amir

amiralish avatar Aug 09 '13 14:08 amiralish

Yes you can convert cache code to a module, in early development we used to do that, but that feature was never updated. The interface to access all cache code is via MemoryController so you should be able to compile all cache code into a module and use MemoryController interface to access any cache.

  • Avadh

On Fri, Aug 9, 2013 at 8:44 AM, amiralish [email protected] wrote:

I'm wondering if the cache module can be used separately on some other platforms (if those platforms support an external module. e.g. Synposis Processor Designer, etc.) or it is only applicable in MARSS full-system simulator.

Thanks, -Amir

— Reply to this email directly or view it on GitHubhttps://github.com/avadhpatel/marss/issues/32 .

avadhpatel avatar Aug 09 '13 15:08 avadhpatel

Oh great. and there is no restriction on using cache module over Qemu platform, right? I can just make it as a module code and access it via its interface in any other platform, yes?

and also I assume that the interface to access cache from cpu is in cpuController.h. So all needed to use the cache interface are: cpuController.h and memoryController.h correct?

Thanks, -Amir

On Fri, Aug 9, 2013 at 10:07 AM, Avadh Patel [email protected]:

Yes you can convert cache code to a module, in early development we used to do that, but that feature was never updated. The interface to access all cache code is via MemoryController so you should be able to compile all cache code into a module and use MemoryController interface to access any cache.

  • Avadh

On Fri, Aug 9, 2013 at 8:44 AM, amiralish [email protected] wrote:

I'm wondering if the cache module can be used separately on some other platforms (if those platforms support an external module. e.g. Synposis Processor Designer, etc.) or it is only applicable in MARSS full-system simulator.

Thanks, -Amir

— Reply to this email directly or view it on GitHub< https://github.com/avadhpatel/marss/issues/32> .

— Reply to this email directly or view it on GitHubhttps://github.com/avadhpatel/marss/issues/32#issuecomment-22400436 .

amiralish avatar Aug 09 '13 15:08 amiralish