# Send data input to all entries
m.d.comb += entry_array[index].data_in.eq(self.data_in)
#Send all entry matches to encoder
- m.d.comb += self.vector_assembler.input[index].eq(entry_array[index].match)
+ m.d.comb += self.vector_assembler.i[index].eq(entry_array[index].match)
# Give input to and accept output from encoder module
m.d.comb += [
self.width = width
# Input
- self.input = Array(Signal(1) for index in range(width))
+ self.i = Array(Signal(1) for index in range(width))
# Output
self.o = Signal(width)
def elaborate(self, platform=None):
m = Module()
for index in range(self.width):
- m.d.comb += self.o[index].eq(self.input[index])
+ m.d.comb += self.o[index].eq(self.i[index])
return m