From: Luke Kenneth Casson Leighton Date: Mon, 22 Apr 2019 03:27:40 +0000 (+0100) Subject: data_size+tag_size = input_size, use it X-Git-Tag: div_pipeline~2187 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=50f54246ada6825466d98b6afef5a744430d330c;p=soc.git data_size+tag_size = input_size, use it --- 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