[libre-riscv-dev] New unit test for terapage lookup

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Sep 16 22:13:52 BST 2019

On Tuesday, September 17, 2019, Tobias Platen <hacks2019 at platen-software.de>

> I've extended the tlb_content.py module to also support terapage lookups.
> Since there was no unit test, I first wrote one. Since I saw that several
> other modules in TLB/ariane directory lack unit test, the
> next task will be writing more unit tests.


Going through the patches in sequence


Const(0,0) should br Const(0, 9)

Also, please, really: don't go over 80 chars.  I have 10+ 80x65 xterms
onscreen in order to track context across multiple files onscreen
simultaneously, to compensate for short term memory problems.

Will do an overall git diff tomorrow, it's a good way to cross check.


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

More information about the libre-riscv-dev mailing list