[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 17:40:34 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=485

--- Comment #54 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #46)
> (In reply to Cole Poirier from comment #45)

> 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.

Aha!

> shove the icache unit test in the same file for now.

Will do.

> > 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?

This is why I asked because my python is mediocre at best. Anything more
complicated than little scripts I write in rust so that I have the compiler
assisting me ;)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list