check_tags is a member of the class
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 10 Apr 2019 17:45:15 +0000 (18:45 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 10 Apr 2019 17:45:15 +0000 (18:45 +0100)
TLB/src/SetAssociativeCache.py

index 37ad94d6b803107eb7c30eaa4389dfe6e74be994..cc20305ce6b56ed3110c07e4e6d947cb1726ddd9 100644 (file)
@@ -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)