Skip to content

Commit

Permalink
Fix access type ytpo for memories. #11
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Apr 17, 2022
1 parent 6b498a8 commit 75090dd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- 3.7
- 3.8
- 3.9
- "3.10"

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion peakrdl/uvm/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.3"
__version__ = "2.0.4"
2 changes: 1 addition & 1 deletion peakrdl/uvm/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def _get_field_access(self, field: FieldNode) -> str:
def _get_mem_access(self, mem: MemNode) -> str:
sw = mem.get_property("sw")
if sw == AccessType.r:
return "R"
return "RO"
else:
return "RW"

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
Expand Down

0 comments on commit 75090dd

Please sign in to comment.