From: Luke Kenneth Casson Leighton Date: Sun, 14 Apr 2019 17:49:28 +0000 (+0100) Subject: move comments X-Git-Tag: div_pipeline~2237 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4bdc002bca23091d3e77f6acb7929548b80f50be;p=soc.git move comments --- diff --git a/TLB/src/ariane/tlb.py b/TLB/src/ariane/tlb.py index 17669348..32041c0a 100644 --- a/TLB/src/ariane/tlb.py +++ b/TLB/src/ariane/tlb.py @@ -266,12 +266,13 @@ class TLB: #------------- # Translation #------------- + + # SV39 defines three levels of page tables m.d.comb += [ vpn0.eq(self.lu_vaddr_i[12:21]), vpn1.eq(self.lu_vaddr_i[21:30]), vpn2.eq(self.lu_vaddr_i[30:39]), ] - # SV39 defines three levels of page tables tc = [] for i in range(TLB_ENTRIES): tlc = TLBContent(self.pte_width)