[Libre-soc-bugs] [Bug 485] Create I-Cache from microwatt icache.vhdl
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Mon Oct 5 03:36:48 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=485
--- Comment #46 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cole Poirier from comment #45)
> Starting with extracting wb_get into a separate file now. I'm being thrown
> off by the 'global stop' that is shared with mmu_sim and mmu_lookup in
> experiment/test/test_mmu_dcache.py.
o Rs. you will have to keep everything in that one file for now.
the "solution" here is to use classes. i was trying to not do that.
shove the icache unit test in the same file for now.
> Should stop become a parameter of each of the 3 fn's i.e. including wb_get()?
that would make it local, wouldn't it? because function parameters are local,
aren't they?
how could changing a local boolean variable change a completely separate
isolated local boolean in another function?
the purpose of stop being global is so that one function can tell another
function to stop, isn't it?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list