From 4bdc002bca23091d3e77f6acb7929548b80f50be Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 14 Apr 2019 18:49:28 +0100 Subject: [PATCH] move comments --- TLB/src/ariane/tlb.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.30.2