Skip to content

Conversation

@BenkangPeng
Copy link
Collaborator

This PR enables picking the simplest cgra(which has the least number of FUs) for testing, verilog-generating and the following synthesis and layout.

@BenkangPeng BenkangPeng requested a review from tancheng December 24, 2025 14:10
@BenkangPeng
Copy link
Collaborator Author

The functionality has been verified:
MeshMultiCgraTemplateRTL_test.py::test_simplified_multi_cgra generated the verilog: CgraTemplateRTL_pickled.txt with arch_override.yaml:

tile_defaults:
  num_registers: 16
  fu_types: ["add", "mul", "div", "fadd", "fmul", "fdiv", "logic", "cmp", "sel", "type_conv", "vfmul", "fadd_fadd", "fmul_fadd", "grant", "loop_control", "phi", "constant", "mem", "return", "mem_indexed", "alloca", "shift"]
tile_overrides:
- cgra_x: 0
  cgra_y: 0
  tile_x: 0
  tile_y: 1
  fu_types: ["add", "mem"]
  existence: true

We can observe that the generated CGRA's tile (0,1) only contains AdderRTL and MemUnitRTL, which indicates that test_simplified_multi_cgra has selected the simplest CGRA.

@BenkangPeng BenkangPeng requested a review from yuqisun December 24, 2025 14:22
@BenkangPeng BenkangPeng force-pushed the enable-simple-cgra-synthesis branch from 7cafe76 to 70b7388 Compare December 25, 2025 10:45
@tancheng tancheng merged commit f2ddc59 into tancheng:master Dec 25, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants