Commit 21a6cec
committed
synthesis: better reports for exploring MAX_UNGROUP_SIZE
Seperate the concern of collecting area of modules and implementing
a policy.
First a report is collected, such as:
$ cat results/asap7/riscv32i/base/keep_hierarchy.tcl
0.291600 $paramod\mux2\WIDTH=s32'00000000000000000000000000000001
0.306180 \magcompare2c
0.641520 \magcompare2b
0.801900 $paramod\mux2\WIDTH=s32'00000000000000000000000000000100
0.991440 $paramod\mux2\WIDTH=s32'00000000000000000000000000000101
2.084940 \ROM
3.076380 \aludec
4.009500 \maindec
6.794280 $paramod\mux2\WIDTH=s32'00000000000000000000000000100000
6.794280 $paramod\mux2\WIDTH=s32'00000000000000000000000000100000
In synthesis, MAX_UNGROUP_SIZE is used to select which
of these modules to keep and which to flatten.
For some design there is little guesswork involved when looking
at this report and picking a MAX_UNGROUP_SIZE.
The names of targets in the makefile, variables and report
names could be revised to reflect this seperation of concerns
to improve readability, but leave that for a followup PR.
Signed-off-by: Øyvind Harboe <[email protected]>1 parent defc349 commit 21a6cec
2 files changed
+33
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
4 | 27 | | |
5 | 28 | | |
6 | | - | |
7 | 29 | | |
8 | 30 | | |
9 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
53 | 48 | | |
54 | 49 | | |
55 | 50 | | |
56 | | - | |
57 | | - | |
| 51 | + | |
| 52 | + | |
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
| |||
63 | 58 | | |
64 | 59 | | |
65 | 60 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 61 | + | |
74 | 62 | | |
75 | 63 | | |
76 | 64 | | |
77 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
78 | 72 | | |
79 | 73 | | |
80 | 74 | | |
| |||
0 commit comments