diff options
Diffstat (limited to 'backends/cxxrtl')
-rw-r--r-- | backends/cxxrtl/cxxrtl_backend.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cxxrtl/cxxrtl_backend.cc b/backends/cxxrtl/cxxrtl_backend.cc index b3aec2110..bf01b263a 100644 --- a/backends/cxxrtl/cxxrtl_backend.cc +++ b/backends/cxxrtl/cxxrtl_backend.cc @@ -508,7 +508,7 @@ std::string get_hdl_name(T *object) if (object->has_attribute(ID::hdlname)) return object->get_string_attribute(ID::hdlname); else - return object->name.str(); + return object->name.str().substr(1); } struct CxxrtlWorker { |