Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi All,
> > I would like to force the processor to invalidate any cached addresses from this > > buffer before starting a read-out cycle. > > I've always assumed that the line is invalidated in either case ... but I really don't > > know for sure. > As for the behavior of the flushd instruction when the line is not dirty, it is invalidated. And there you have it ... thanks James! ... ya gotta love this forum :-) So you can call flushd to invalidate ... regardless of the dirty state. If your buffer is larger than the cache, you'll do best just calling alt_dcache_flush_all() ... and save the extra iterations. Regards, --Scott