Skip to content

Commit

Permalink
Remove incorrect quotes in uvm_object_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Feb 9, 2020
1 parent 2a41bd5 commit 8836cf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ralbot/uvmgen/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.1.0"
__version__ = "1.1.1"
6 changes: 3 additions & 3 deletions ralbot/uvmgen/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def add_addressBlock(self, node):
self.add_uvm_block_content(content="class %s extends uvm_reg_block;" % node.inst_name)
self.add_variable_declare_func(node, allNodes)
self.add_uvm_block_content('''
`uvm_object_utils("%s")
`uvm_object_utils(%s)
function new(string name = "%s");
super.new(name, UVM_NO_COVERAGE);
endfunction ''' %(node.inst_name, node.inst_name))
Expand All @@ -148,7 +148,7 @@ def add_registerFile(self, parent, node):
self.add_uvm_block_content(content="class %s extends uvm_reg_block;" % self.get_class_name(parent, node))
self.add_variable_declare_func(node, allNodes)
self.add_uvm_block_content('''
`uvm_object_utils("%s")
`uvm_object_utils(%s)
function new(string name = "%s");
super.new(name, UVM_NO_COVERAGE);
endfunction ''' %(self.get_class_name(parent, node), self.get_class_name(parent, node)))
Expand Down Expand Up @@ -181,7 +181,7 @@ def add_register(self, parent, node):
super.new(name, %0d, UVM_NO_COVERAGE);
endfunction
`uvm_object_utils("%s")
`uvm_object_utils(%s)
endclass\n''' %(self.get_class_name(parent, node), node.get_property("regwidth"), self.get_class_name(parent, node)))
#---------------------------------------------------------------------------
# generate uvm reg model content function
Expand Down

0 comments on commit 8836cf3

Please sign in to comment.