Skip to content

Commit

Permalink
address PR
Browse files Browse the repository at this point in the history
  • Loading branch information
anton schulte committed Oct 8, 2023
1 parent 3e37dd9 commit 04ebdef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions vunit/com/codec_vhdl_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def _create_enumeration_of_all_msg_types(self):

msg_type_enumeration_types = []
for record in self.record_types:
if record.elements[0].identifier_List[0] == "msg_type":
if record.elements[0].identifier_list[0] == "msg_type":
msg_type_enumeration_types.append(record.elements[0].subtype_indication.code)

msg_type_enumeration_literals = []
Expand Down Expand Up @@ -276,7 +276,7 @@ def _get_records_with_an_initial_msg_type_element(self):

msg_type_record_types = []
for record in self.record_types:
if record.elements[0].identifier_List[0] == "msg_type":
if record.elements[0].identifier_list[0] == "msg_type":
msg_type_record_types.append(record)

return msg_type_record_types
Expand Down
3 changes: 2 additions & 1 deletion vunit/test/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
import re
import bisect
import collections
from typing import Any, Iterable, List, Union, OrderedDict
from collections import OrderedDict
from typing import Any, Iterable, List, Union
from ..ostools import file_exists
from ..cached import cached
from ..vhdl_parser import remove_comments as remove_vhdl_comments
Expand Down

0 comments on commit 04ebdef

Please sign in to comment.