cxxrtl: fix format of hdlnames.

The CXXRTL code that handled the `hdlname` attribute implemented
outdated semantics.
This commit is contained in:
whitequark
2020-06-08 20:19:41 +00:00
parent fbb346ea91
commit 53688a24b5
+1 -1
View File
@@ -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 {