-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into update-nixeda-patch
- Loading branch information
Showing
6 changed files
with
58 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
commit 626dbbe1e053071cf70890dd6592f461ae7eaacb | ||
Author: George Rennie <[email protected]> | ||
Date: Thu Nov 7 00:06:03 2024 +0100 | ||
|
||
proc_dff: fix early return bug | ||
|
||
* early return caused proc_dff to stop considering rules after seeing | ||
one async rule - this is because continue should have been used to | ||
continue to procecssing the next rule instead of returning from the | ||
function | ||
|
||
diff --git a/passes/proc/proc_dff.cc b/passes/proc/proc_dff.cc | ||
index 3aad9ac1c..d094abf1b 100644 | ||
--- a/passes/proc/proc_dff.cc | ||
+++ b/passes/proc/proc_dff.cc | ||
@@ -262,7 +262,7 @@ void proc_dff(RTLIL::Module *mod, RTLIL::Process *proc, ConstEval &ce) | ||
{ | ||
log_warning("Complex async reset for dff `%s'.\n", log_signal(sig)); | ||
gen_dffsr_complex(mod, insig, sig, sync_edge->signal, sync_edge->type == RTLIL::SyncType::STp, async_rules, proc); | ||
- return; | ||
+ continue; | ||
} | ||
|
||
// If there is a reset condition in the async rules, use it | ||
@@ -277,7 +277,7 @@ void proc_dff(RTLIL::Module *mod, RTLIL::Process *proc, ConstEval &ce) | ||
sync_edge->type == RTLIL::SyncType::STp, | ||
sync_level && sync_level->type == RTLIL::SyncType::ST1, | ||
sync_edge->signal, sync_level->signal, proc); | ||
- return; | ||
+ continue; | ||
} | ||
|
||
gen_dff(mod, insig, rstval.as_const(), sig_q, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "openlane" | ||
version = "2.3.4" | ||
version = "2.3.5" | ||
description = "An infrastructure for implementing chip design flows" | ||
authors = ["Efabless Corporation and Contributors <[email protected]>"] | ||
readme = "Readme.md" | ||
|
Submodule designs
updated
2 files
+6 −0 | non_const_async_reset/config.yaml | |
+24 −0 | non_const_async_reset/top.v |