From 50f54246ada6825466d98b6afef5a744430d330c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 22 Apr 2019 04:27:40 +0100 Subject: [PATCH] data_size+tag_size = input_size, use it --- 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 84146891..bd5026e6 100644 --- a/TLB/src/SetAssociativeCache.py +++ b/TLB/src/SetAssociativeCache.py @@ -76,7 +76,7 @@ class SetAssociativeCache(): self.command = Signal(2) # 00=None, 01=Read, 10=Write (see SA_XX) self.cset = Signal(max=set_count) # The set to be checked self.tag = Signal(tag_size) # The tag to find - self.data_i = Signal(data_size + tag_size) # The input data + self.data_i = Signal(input_size) # The input data # Output self.ready = Signal(1) # 0 => Processing 1 => Ready for commands -- 2.30.2