YosysHQ / yosys

Yosys Open SYnthesis Suite
https://yosyshq.net/yosys/
ISC License
3.5k stars 895 forks source link

cxxrtl: strip `$paramod` from module name in scope info #4745

Open whitequark opened 1 week ago

whitequark commented 1 week ago

What are the reasons/motivation for this change?

The $paramod\...\... name for a module doesn't match the source code and isn't useful to the end user given that it's usually containing just a hash.

Explain how this is achieved.

Module's hdlname attribute is used if present.