diff options
author | whitequark <whitequark@whitequark.org> | 2020-06-04 10:13:48 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-06-08 19:30:21 +0000 |
commit | a1814b732fde79a84e7234d01faa53e80cc7568b (patch) | |
tree | f26519ebe2d19432b8325c40e9ea85c9bba2b621 /backends | |
parent | 4ef9ee3c4210a9d0c3b6491a0c89ee3365c77779 (diff) | |
download | yosys-a1814b732fde79a84e7234d01faa53e80cc7568b.tar.gz yosys-a1814b732fde79a84e7234d01faa53e80cc7568b.tar.bz2 yosys-a1814b732fde79a84e7234d01faa53e80cc7568b.zip |
flatten: make hygienic.
Before this commit, `flatten` matched the template objects with
the newly created objects solely by their name. Because of this,
it could be confused by code such as:
module bar();
$dff a();
endmodule
module foo();
bar b();
$dff \b.a ();
endmodule
After this commit, `flatten` avoids every possible case of name
collision.
Fixes #2106.
Diffstat (limited to 'backends')
0 files changed, 0 insertions, 0 deletions