You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. Nice plugin this is. It solves my problem for tb file generation. I find a bug when there are quotation marks in the parameter lists.
This happened when I created the tb for module like this
module some_mod #(
parameter IO_STANDARD = "LVCMOS33",
parameter IODELAY_GROUP_NAME = "BANKx_GROUP",
parameter MASTER = 1
)(
input clk
);
At line 184 in the instance.vim, command "vim.command('let @*= "%s"' % instance_snippet)" would fail due to the quotation marks. I added this judgement statements to the "parse_module_para(self)", and the problem solved.
Hello. Nice plugin this is. It solves my problem for tb file generation. I find a bug when there are quotation marks in the parameter lists.
This happened when I created the tb for module like this
module some_mod #(
parameter IO_STANDARD = "LVCMOS33",
parameter IODELAY_GROUP_NAME = "BANKx_GROUP",
parameter MASTER = 1
)(
input clk
);
At line 184 in the instance.vim, command "vim.command('let @*= "%s"' % instance_snippet)" would fail due to the quotation marks. I added this judgement statements to the "parse_module_para(self)", and the problem solved.
par_val = line[line.find('=')+1:].replace(',', '').strip().rstrip()
if par_val.find('"') != -1:
par_val = par_val.replace('"','\"').strip()
para_dict['para_value'] = par_val
The text was updated successfully, but these errors were encountered: