-
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.
Merge branch 'micro-demos' into micro_demo
- Loading branch information
Showing
7 changed files
with
40 additions
and
2 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
Submodule DSEGraphAnalysis
added at
9b3793
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
from canal.cyclone import * | ||
|
||
num_tracks = 5 | ||
|
||
input_nodes = {} | ||
for side in SwitchBoxSide: | ||
input_nodes[side] = [] | ||
for track in range(num_tracks): | ||
input_nodes[side].append(SwitchBoxNode(0, 0, track, 16, side, SwitchBoxIO.SB_IN)) | ||
|
||
output_nodes = {} | ||
for side in SwitchBoxSide: | ||
output_nodes[side] = [] | ||
for track in range(num_tracks): | ||
output_nodes[side].append(SwitchBoxNode(0, 0, track, 16, side, SwitchBoxIO.SB_OUT)) | ||
|
||
for track in range(num_tracks): | ||
for side_from in SwitchBoxSide: | ||
for side_to in SwitchBoxSide: | ||
if side_from == side_to: | ||
continue | ||
input_node = input_nodes[side_from][track] | ||
output_node = output_nodes[side_to][track] | ||
print(f"Wire {input_node} -> {output_node}") | ||
input_node.add_edge(output_node) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
cd /aha/ | ||
|
||
pip install Pillow | ||
|
||
POST_PNR_ITR=$1 PYTHONPATH=/aha/garnet/ python /aha/garnet/tests/test_memory_core/build_tb.py --ic_fork --sam_graph /aha/sam/compiler/sam-outputs/onyx-dot/mat_elemadd.gv --seed 0 --dump_bitstream --add_pond --combined --pipeline_scanner --base_dir /aha/garnet/SPARSE_TESTS/ --just_glb --dump_glb --fiber_access --width 12 --height 4 | ||
|
||
python archipelago/archipelago/sta.py -a garnet/SIM_DIR/ -v | ||
|
Submodule peak_generator
updated
3 files
+2 −2 | peak_gen/arch.py | |
+1 −1 | peak_gen/isa.py | |
+20 −20 | peak_gen/mul.py |