From 1260f7c89f1b95bdb00e56e49edb73dc2eac3a0e Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Tue, 10 Nov 2020 18:40:51 -0800 Subject: Refine autonaming to have more intuitive behavior (#1660) * Refine autonaming to have more intuitive behavior Last name in an Expression wins, while the first Statement to name wins. This is done via checking the _id of HasIds during autonaming and only applying a name if the HasId was created in the scope of autonaming. There is no change to .autoSeed or .suggestName behavior. Behavior of chisel3-plugins from before this change is maintained. * Update docs with naming plugin changes--- docs/src/cookbooks/naming.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/src/cookbooks') diff --git a/docs/src/cookbooks/naming.md b/docs/src/cookbooks/naming.md index 150f0639..4caabaff 100644 --- a/docs/src/cookbooks/naming.md +++ b/docs/src/cookbooks/naming.md @@ -42,7 +42,7 @@ name collisions, which are what triggers all those annoying signal name bumps! ### I want to force a signal (or instance) name to something, how do I do that? -Use the `.suggestName` method, which is on all classes which subtype 'Data'. +Use the `.suggestName` method, which is on all classes which subtype `Data`. ### All this prefixing is annoying, how do I fix it? -- cgit v1.2.3