Skip to content

Commit

Permalink
[uvmgen] fixed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Git committed Jan 8, 2024
1 parent d826db8 commit 0155e70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ requires-python = ">=3.8"
dependencies = [
"fire==0.5.0",
"Mako==1.3.0",
"PyYAML==6.0.0",
"PyYAML==6.0.1",
"xmltodict==0.13.0",
"tomllib; python_version<'3.11'",
"tomlli==2.0.0",
]
keywords = [
"verification", "testbench", "UVM", "template", "tool", "generator",
Expand Down
4 changes: 2 additions & 2 deletions src/uvmgen/uvmgen.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
import tomllib
import tomli
import fire
import json
import yaml
Expand Down Expand Up @@ -30,7 +30,7 @@ def _load_file_data_yaml(fin):
def _load_file_data_toml(fin):
"""load data in toml format;"""

return tomllib.load(fin)
return tomli.load(fin)


class UVMGen:
Expand Down

0 comments on commit 0155e70

Please sign in to comment.