-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache clear flag possible issue #84
Comments
I didn't implement this correctly in the TG68 code - the C & CE bits should not be latched, it should be just a pulse that should signal the cache to clear itself. |
Ok. At least i understood it correctly :) |
Can you share the 030 core, I can take a look at it and see if anything can be done quickly? |
Sure! Would be good if you will help. |
CACR register is not implemented (other MOVEC registers are implemented), but should be not so hard to add. What harder is to re-create cpustate signal. I found something similar in 68EC030, but not sure if it will resemble the same timings. Overall 68K30L looks like more complete than TG68K. |
You will need to add 32bit->16bit bus glue logic which you can get from here: https://github.com/terriblefire/tf530 |
minimig-mist/rtl/sdram/cpu_cache_new.v
Line 214 in da69f6e
CACR[3] is write-only bit, so CPU cannot read the last state, thus if it will write 1 second and more times it won't trigger the clear since internally it's 1 already. Isn't?
The text was updated successfully, but these errors were encountered: