From e7d8f1efc66a3428ca2dad8121651355b4ad272b Mon Sep 17 00:00:00 2001 From: Daniel Benusovich Date: Sat, 4 May 2019 15:36:46 -0700 Subject: [PATCH] Add default platform --- TLB/src/ariane/src/plru.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/TLB/src/ariane/src/plru.py b/TLB/src/ariane/src/plru.py index a98c03a6..95d515c4 100644 --- a/TLB/src/ariane/src/plru.py +++ b/TLB/src/ariane/src/plru.py @@ -27,7 +27,7 @@ class PLRU(Elaboratable): self.plru_tree = Signal(self.TLBSZ) self.plru_tree_o = Signal(self.TLBSZ) - def elaborate(self, platform): + def elaborate(self, platform=None): m = Module() # Just predefine which nodes will be set/cleared @@ -100,3 +100,7 @@ class PLRU(Elaboratable): m.d.comb += self.replace_en_o.eq(Cat(*replace)) return m + + def ports(self): + return [self.entries, self.lu_hit, self.replace_en_o, + self.lu_access_i, self.plru_tree, self.plru_tree_o] \ No newline at end of file -- 2.30.2