Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yosys: avoid resynthesis on ORFS upgrade when yosys doesn't change #237

Closed
wants to merge 3 commits into from

Conversation

oharboe
Copy link
Collaborator

@oharboe oharboe commented Oct 23, 2024

This still works:

bazel run //sram:sdq_17x64_synth $(pwd)/tmp open_synth

Consider these two ORFS versions, there should be no need for resynthesis:

$ git diff v3.0-1696-g6927a54e v3.0-1694-g0a5008b6
diff --git a/flow/designs/sky130hd/microwatt/config.mk b/flow/designs/sky130hd/microwatt/config.mk
index 07bdd1cf1..243db9eb3 100644
--- a/flow/designs/sky130hd/microwatt/config.mk
+++ b/flow/designs/sky130hd/microwatt/config.mk
@@ -31,7 +31,7 @@ export MACRO_PLACE_CHANNEL = 200 200
 export CTS_BUF_DISTANCE = 600
 export SKIP_GATE_CLONING = 1
 
-export SETUP_SLACK_MARGIN = 0.2
+export export SETUP_SLACK_MARGIN = 0.2
 
 # This is high, some SRAMs should probably be converted
 # to real SRAMs and not instantiated as flops
$
``

This still works:

bazel run //sram:sdq_17x64_synth $(pwd)/tmp open_synth

Signed-off-by: Øyvind Harboe <[email protected]>
Signed-off-by: Øyvind Harboe <[email protected]>
@oharboe oharboe closed this Oct 23, 2024
@oharboe oharboe deleted the less-yosys-rebuilding branch October 25, 2024 10:04
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.

1 participant