Skip to content

Commit

Permalink
verilog: add deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Nov 11, 2021
1 parent 3e098fd commit ed1fd97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vunit/verilog.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ def add_builtins(self, external=None): # pylint: disable=arguments-differ
Add vunit Verilog builtin libraries
"""
self._builtins.add_verilog_builtins()
builtins_deprecation_note = (
"class 'verilog' is deprecated and it will be removed in future releases"
)
warn(builtins_deprecation_note, Warning)

0 comments on commit ed1fd97

Please sign in to comment.