From f8991c568e6dd8a6c124b4cfd35a1d7e52a578c4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 10 Apr 2019 18:45:15 +0100 Subject: [PATCH] check_tags is a member of the class --- TLB/src/SetAssociativeCache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TLB/src/SetAssociativeCache.py b/TLB/src/SetAssociativeCache.py index 37ad94d6..cc20305c 100644 --- a/TLB/src/SetAssociativeCache.py +++ b/TLB/src/SetAssociativeCache.py @@ -155,7 +155,7 @@ class SetAssociativeCache(): with m.State("SEARCH"): m.d.comb += self.ready.eq(0) # check_tags will set the state if the conditions are met - check_tags(m) + self.check_tags(m) with m.State("FINISHED"): m.next = "SEARCH" m.d.comb += self.ready.eq(1) -- 2.30.2