You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/rmp/README.md
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,41 @@ resynth_annealing
98
98
99
99
### Resynth with genetic slack tuning
100
100
101
-
TODO
101
+
Resynthesize parts of the design with an ABC script found via genetic algorithm.
102
+
An individual in a population is a series of operations on ABC's internal AIG data structure.
103
+
Each such operation is considered a gene. Genotype can be changed by a mutation with operations such
104
+
as adding, removing or swapping genes with a `mut_prob` probability. Individual can also be changed
105
+
by crossing two genes together with a `cross_prob` probability.
106
+
The optimization function is defined as the worst slack.
107
+
108
+
```tcl
109
+
resynth_genetic
110
+
[-corner corner]
111
+
[-slack_threshold slack_threshold]
112
+
[-seed seed]
113
+
[-pop_size pop_size]
114
+
[-mut_prob mut_prob]
115
+
[-cross_prob cross_prob]
116
+
[-tourn_prob tourn_prob]
117
+
[-tourn_size tourn_size]
118
+
[-iters iters]
119
+
[-initial_ops initial_ops]
120
+
```
121
+
122
+
#### Options
123
+
124
+
| Switch Name | Description |
125
+
| ----- | ----- |
126
+
|`-corner`| Process corner to use. |
127
+
|`-slack_threshold`| Specifies a (setup) timing slack value below which timing paths need to be analyzed for restructuring. The default value is `0`. |
128
+
|`-seed`| Seed to use for randomness. |
129
+
|`-pop_size`| Population size. |
130
+
|`-mut_prob`| Probability of applying mutation operator. |
131
+
|`-cross_prob`| Probability of applying crossover operator. |
132
+
|`-tourn_prob`| Tournament probability. |
133
+
|`-tourn_size`| Tournament size. |
134
+
|`-iters`| Number of iterations to run genetic algorithm. |
135
+
|`-initial_ops`| Size of the initial random solution (number of commands in the script for ABC). |
0 commit comments