-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Issue Solving part of #431 ### Description Add a function to serialize cluster to the yaml (reverse of what we were doing so far). Add flag to all Cluster constructors to create mock chips inside Cluster if user wants that. Expose this (de)serializing through the API as mentioned in the issue above. Output yaml look like (note the styling difference than original, but in YAML world it is the same) ``` arch: 1: wormhole_b0 0: wormhole_b0 ethernet_connections: - - chip: 1 chan: 1 - chip: 0 chan: 9 - - chip: 1 chan: 0 - chip: 0 chan: 8 chips_with_mmio: - 0: 0 harvesting: 1: noc_translation: true harvest_mask: 513 0: noc_translation: true harvest_mask: 129 boardtype: 1: n300 0: n300 ``` - Add serialize function to Cluster - Add serialize function cluste descriptor - Add flag to all Cluster constructors to create mock chips
- Loading branch information
1 parent
06f2666
commit 472ef2f
Showing
6 changed files
with
235 additions
and
107 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
Oops, something went wrong.