URL
https://opencores.org/ocsvn/mytwoqcache/mytwoqcache/trunk
[/] [mytwoqcache/] [trunk/] [2QCache.vhd] - Diff between revs 20 and 21
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 20 |
Rev 21 |
Line 399... |
Line 399... |
if emptyf = '1' and isfull = '0' then
|
if emptyf = '1' and isfull = '0' then
|
isfull <= '1';
|
isfull <= '1';
|
stateram <= ramwait;
|
stateram <= ramwait;
|
else
|
else
|
cindex <= FreeOut;
|
cindex <= FreeOut;
|
|
if isfull = '1' then
|
tagBuff( free).cacheAddr <= FreeOut;
|
tagBuff( free).cacheAddr <= FreeOut;
|
tagBuff( free).cacheValid <= '1';
|
tagBuff( free).cacheValid <= '1';
|
tagBuff( free).tag <= AddressInh( tagBuff( free).tag'range);
|
tagBuff( free).tag <= AddressInh( tagBuff( free).tag'range);
|
tagBuff( free).tagValid <= '1';
|
tagBuff( free).tagValid <= '1';
|
|
else
|
|
tagRAMOut( free).cacheAddr <= FreeOut;
|
|
tagRAMOut( free).cacheValid <= '1';
|
|
tagRAMOut( free).tag <= AddressInh( tagRAMOut( free).tag'range);
|
|
tagRAMOut( free).tagValid <= '1';
|
|
end if;
|
isfull <= '0';
|
isfull <= '0';
|
getf <= '1';
|
getf <= '1';
|
if IOCodeh = "111" and ldCachedWords = 0 then
|
if IOCodeh = "111" and ldCachedWords = 0 then
|
stateram <= ramupdate2;
|
stateram <= ramupdate2;
|
else
|
else
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.