[Libre-soc-dev] daily kan-ban update 02mar2021

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Mar 2 17:53:30 GMT 2021


On Tuesday, March 2, 2021, Tobias Platen <libre-soc at platen-software.de>
wrote:
> today: having a look into ISACaller. I want to get ISACaller
> RADIX support added, then let simulations do all the work.

excellent.

do add it as a function or separate class, one that has the same API as the
Mem class:

https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/decoder/isa/caller.py;h=acaac1f7212c68c9c631d1626adc470f7fa5751f;hb=HEAD#l78

do not add RADIX *to* class Mem, treat that as physical RAM used *BY* the
(new) RADIX Mem class.

give RADIX Mem class the exact same API as Mem.

the RADIX Mem class *calls* Mem.ld and Mem.st

this is exactly how qemu does it.


then it is possible to drop in either and none of the unit tests get
disrupted.

l.



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the Libre-soc-dev mailing list