back.rtlil: never give subfragment cells names starting with $.

This commit is contained in:
whitequark 2018-12-13 11:30:16 +00:00
parent b150f1915d
commit 859c2dbcf0

View file

@ -397,7 +397,7 @@ class _ValueTransformer(xfrm.ValueTransformer):
def convert_fragment(builder, fragment, name, top):
with builder.module(name, attrs={"top": 1} if top else {}) as module:
with builder.module(name or "anonymous", attrs={"top": 1} if top else {}) as module:
xformer = _ValueTransformer(module)
# Register all signals driven in the current fragment. This must be done first, as it