aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKevin Laeufer2020-08-28 13:15:56 -0700
committerGitHub2020-08-28 20:15:56 +0000
commit0b1391a623ee0769dc51fce15e0e0f5516225d5d (patch)
treecd4338f39dc9cc736ad1bda73bc003e0ef08eae6 /scripts
parent7174098c436a8d8a6346d1ee2f8572c09a817e72 (diff)
FlattenSpec: flattening a module with no instaces should be a no-op (#1868)
* FlattenSpec: flattening a module with no instaces should be a no-op * Fix problem when flattening/inlining a lone module Fix an edge case bug in InlineInstances where a circuit containing a lone module is flattened/inlined. This now properly special cases the situation of an empty indexMap which before had to be of length >= 1. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> * Simplify rename logic in InlineInstances Co-authored-by: Jack Koenig <koenig@sifive.com> Co-authored-by: Albert Magyar <albert.magyar@gmail.com> Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> * Mea culpa Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> Co-authored-by: Schuyler Eldridge <schuyler.eldridge@ibm.com> Co-authored-by: Jack Koenig <koenig@sifive.com> Co-authored-by: Albert Magyar <albert.magyar@gmail.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions