From: Daniel Benusovich Date: Sat, 4 May 2019 22:36:46 +0000 (-0700) Subject: Add default platform X-Git-Tag: div_pipeline~2139 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7d8f1efc66a3428ca2dad8121651355b4ad272b;p=soc.git Add default platform --- 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