-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: flatten while generating JSON headers (#458)
## Steps * `Odb.SetPowerConnections` * Fixed bug where instances with special characters in their name and power pins are not equal to those of the SCL would not get connected. * Added assertion that exactly one pin is connected for every operation. * `Yosys.GenerateJSONHeader` * Netlist is now flattened so `Odb.SetPowerConnections` can properly set pins for nested macros with power pin names not equal to those of the SCL. ## Testing * `test/designs/dual_spm` * SPM macro now hardened with pin names `power`, `ground` (as to not match the standard cell pin names) * Dual SPM now nests the macros in a thin wrapper to test that the SPM macro will get its power pins connected properly. Co-authored-by: Mohamed Gaber <[email protected]>
- Loading branch information
1 parent
943f625
commit 0c2bd3b
Showing
5 changed files
with
53 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters