Merge pull request #796 from antmicro/jboc/gtkwave-savefiles

Fix gtkwave.py to be compatible with python 3.6
This commit is contained in:
enjoy-digital 2021-02-02 16:30:01 +01:00 committed by GitHub
commit b589959084
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View File

@ -96,7 +96,7 @@ class GTKWSave:
return prefix[:last_underscore + 1]
def group(self,
signals: list[Signal],
signals: Sequence[Signal],
group_name: str = None,
alias: bool = True,
closed: bool = True,

View File

@ -472,8 +472,6 @@ def main():
if args.with_analyzer:
soc.analyzer.export_csv(vns, "analyzer.csv")
if args.gtkwave_savefile:
if sys.version_info[1] < 7:
raise OSError("--gtkwave-savefile option only supported for python 3.7+.")
generate_gtkw_savefile(builder, vns, args.trace_fst)
if __name__ == "__main__":