[Testbench] Typo fix in wrapper testbench converter

This commit is contained in:
tangxifan 2020-11-29 20:32:59 -07:00
parent a414a600a6
commit eeb904a3e3
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ def parse_json_pin_range(json_range) :
def write_testbench_wrapper_connection(tb_file, pin_data, mode_switch_io_index):
# Switch to the logic analyzer mode for io[25] which is reserved for mode-switch purpose
mode_switch_line = "assign " + pin_data['caravel_gpio_input_name'] + "[" + str(mode_switch_io_index) + "] = " \
+ "1b'0;";
+ "1'b0;";
tb_file.write(" " + mode_switch_line + "\n")
for pin_info in pin_data['pins']: