diff --git a/combinatorial_LR_parser.py b/combinatorial_LR_parser.py index 9c9b533b533cb6fd82818f04d6b90b99ce596b7c..bf90631d543725a82cbff86a19b5e8d406a99851 100644 --- a/combinatorial_LR_parser.py +++ b/combinatorial_LR_parser.py @@ -561,7 +561,7 @@ class TreeSerializer(Elaboratable): start_of_record = Signal(self.mem_address_width) # start of next/yet-unwritten node record, advanced only # after each reduce - mem = Memory(width=(self.item_width + 1), depth=32) + mem = Memory(width=(self.item_width + 1), depth=64) m.submodules.parse_tree = wport = mem.write_port() @@ -876,7 +876,7 @@ class DummyPlug(Elaboratable): m = Module() # BOTTOM = start of parse - mem = Memory(width=16, depth=256, init=[0XE102, ENDOFPARSE]) + mem = Memory(width=16, depth=256, init=[OPENPAREN, OPENPAREN, 0XE102, CLOSEPAREN, ADDOP, 0xE107, CLOSEPAREN, ENDOFPARSE]) m.submodules.parse_data = rdport = mem.read_port()