[Libre-soc-bugs] [Bug 450] Create MMU from microwatt mmu.vhdl
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Aug 12 19:58:27 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=450
--- Comment #43 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #42)
> (In reply to Cole Poirier from comment #41)
> > (In reply to Cole Poirier from comment #40)
> > > Moving on to translating tests from mmu_tb.vhdl.
> >
> > There is no mmu_tb.vhdl,
>
> argh ok. well there is dcache_tb.vhdl which is a bit
I'll need to first translate dcache.vhdl in order to use that right?
> > however, there is microwatt/tests/mmu/mmu.c which
> > has tests similar to the ones we have in mul/test/test_pipe_caller.
>
> these are c programs that need to be compiled then executed (test_issuer.py)
> and/or executed under litex-sim.
>
> they therefore rely on having _everything_ in place.
Ah, I see, understood.
> > I'm
> > going to try and set up mul and div-like tests for mmu.py. To keep that
> > organized I will make a folder mmu under soc/src/experiment/.
>
> no, i'd keep it much more basic than that. similar to the regfile unit
> tests.
Gotcha, done. I've pushed a commit with the sim and test functions from
regfile/regfile.py renamed to mmu, but I think I will need your help in
beginning to write the sim function. Does that make sense? or am I confused?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list