OVP Forums - A community of assistance, help, questions, and answers.
  FAQFAQ    SearchSearch      RegisterRegister  ProfileProfile    Log in to check your private messagesLog in to check your private messages    Log inLog in
Cache write through

 
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> Ask a Question
View previous topic :: View next topic  
Author Message
AntonioPrioletti



Joined: 02 May 2011
Posts: 20

PostPosted: Tue Sep 20, 2011 10:24 am    Post subject: Cache write through Reply with quote

Hi, how I can implement a cache write through with MMC?
Back to top
View user's profile Send private message
DuncGrah
OVP Technologist
OVP Technologist


Joined: 27 Feb 2008
Posts: 1656
Location: United Kingdom

PostPosted: Tue Sep 20, 2011 11:39 pm    Post subject: Reply with quote

Copy the example from ImperasLib/source/ovpworld.org/mmc/wb_1way_32byteline_2048tags and change

Code:
#define CACHE_WRITEBACK   1

to

Code:
#define CACHE_WRITEBACK   0


this will then default the cache model to a Write Through cache
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Open Virtual Platforms Forum Index -> Ask a Question All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Information regarding OVP © 2008-2022 Imperas Software