[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>
wrote:

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


Excellent.

Going through the patches in sequence

https://git.libre-riscv.org/?p=soc.git;a=commitdiff;h=576c922fdbae3084115270e746514b969416889f

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.

L.



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


More information about the libre-riscv-dev mailing list