synth: Rm .lib preprocess after tools improved#3419
Conversation
| do-yosys: $(DONT_USE_SC_LIB) | ||
| do-yosys: yosys-dependencies |
There was a problem hiding this comment.
Long story, but I dont want these dependencies to be bazel artifacts.
This step massages exisiting artifacts and produces e.g. merged.lib, which is quite large.
There was a problem hiding this comment.
Because most of the dependencies grouped as yosys-dependencies are in fact required by do-yosys
There was a problem hiding this comment.
but I dont want these dependencies to be bazel artifacts.
@oharboe I'm not sure what that implies, can we add the make dependency?
|
I'm glad to be rid of this cruft. |
oharboe
left a comment
There was a problem hiding this comment.
Reviewing on the road: this is a great simplification!
There is a chance it will break bazel-orfs, but as long as we can collaborate on this post merge, I say merge.
|
A few test failures to address |
|
The failures are due to abc failing to read libraries produced with sta's |
Merged. Purely for my planning purposes, I have to delete some cruft in bazel-orfs when this is merged, what are the next steps and when will this merge? After next yosys update? |
|
Yosys needs to update their abc, and we need to update our yosys. I’m guessing it will take 2 or 6 weeks. |
Signed-off-by: Martin Povišer <povik@cutebit.org>
f4a2f41 to
644ff70
Compare
designs/gf180/aes-hybrid/rules-base.json updates: | Metric | Old | New | Type | | ------ | --- | --- | ---- | | synth__design__instance__area__stdcell | 624425.81 | 493531.52 | Tighten | | placeopt__design__instance__area | 798562 | 657615 | Tighten | | placeopt__design__instance__count__stdcell | 22568 | 22088 | Tighten | | globalroute__antenna_diodes_count | 3 | 2 | Tighten | | detailedroute__route__wirelength | 1623163 | 1503800 | Tighten | | detailedroute__antenna_diodes_count | 5 | 9 | Failing | | finish__timing__setup__ws | -1.16 | -1.35 | Failing | | finish__design__instance__area | 803898 | 779709 | Tighten | Signed-off-by: Martin Povišer <povik@cutebit.org>
|
designs/gf180/aes-hybrid/rules-base.json updates:
|
|
why does removing the preprocessing change the results? |
|
I'm not sure. Should I find out where the divergence starts? |
|
I think so if it is unexplained. |
|
I've found the first divergence is picking different technology flops to map to. Previously synthesis would use 9t cells and now it uses 7t. I'm not sure why it chose 9t previously since Yosys should pick those with lower area. |
|
The 7t flop has lower area and the same number of pins. |
|
I think I understand it now. Previously only the first library from |
|
@maliberty I think all is good to review and merge. |
|
That test case is a hack as there is no public PDK with hybrid rows. |
|
Not sure I can convey how happy it makes me to see this merged 😅 |
|
Thanks to you and @widlarizer for prior work in this direction. |
|
bazel-orfs updated 😌 |
No description provided.