diff --git a/unoptimized_lr/simple_lr_stack.py b/unoptimized_lr/simple_lr_stack.py index 4881347413a1e81e879a79ff361437c61bba68b8..46f2fea0d9c6e320a496f06ff01c3cceeab0ea62 100644 --- a/unoptimized_lr/simple_lr_stack.py +++ b/unoptimized_lr/simple_lr_stack.py @@ -63,25 +63,6 @@ class ParseStack(Elaboratable): self.bus = ParseStackBus(data_width = width, index_width=len(dummy_index), command_width=3) - #self.strobe = Signal(1) # replace this with valid_in - - # Data inputs - #self.in_data_port = Signal(width) # data_in - #self.in_aux_port = Signal(range(depth)) #Index_in - #self.in_data_valid = Signal(1) # merge this and the one below, replace with valid_in - #self.in_aux_valid = Signal(1) # - - - # Control outputs - #self.internal_fault = Signal(1) # keep - - # Data outputs -# self.out_data_port = Signal(width) #data_out - #self.out_aux_port = Signal(range(depth)) # index_out - #self.out_data_valid = Signal(1) # merge these as valid_out - self.out_aux_valid = Signal(1)# - - self.mem = Memory(width=self.width, depth=self.depth) @@ -189,7 +170,7 @@ class ParseStack(Elaboratable): with m.Case(self.READ_SP): m.d.comb += self.bus.index_out.eq(stack_pointer) - m.d.comb += self.out_aux_valid.eq(1) + m.d.comb += self.bus.valid_out.eq(1) m.next = "AT_LEAST_ONE_ITEM" with m.State("FAULTED"):