From 0ca233be3ebfc75f94b106771fca818a6a8ef1b3 Mon Sep 17 00:00:00 2001 From: Kia <kia@special-circumstanc.es> Date: Thu, 22 Apr 2021 12:01:39 -0600 Subject: [PATCH] add index stack interface --- unoptimized_lr/simple_lr_automaton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unoptimized_lr/simple_lr_automaton.py b/unoptimized_lr/simple_lr_automaton.py index 7207ece..9887097 100644 --- a/unoptimized_lr/simple_lr_automaton.py +++ b/unoptimized_lr/simple_lr_automaton.py @@ -237,7 +237,7 @@ class LR_automaton_internal(Layout): ("parse_stack_bus" , simple_lr_stack.StackLayout(data_width=parameters.W_state, index_width=parameters.W_stackdepth)) ] if(parameters.generating_tree == True): - interfaces.append(("index_stack_bus")) + interfaces.append(("index_stack_bus", simple_lr_stack.StackLayout(data_width=parameters.W_parsetree_index, index_width=parameters.W_stackdepth))) super().__init__(interfaces) class LR_automaton_external(Layout): -- GitLab