Fix two syn correctness bugs#10755
Conversation
Signed-off-by: Martin Povišer <povik@cutebit.org>
Signed-off-by: Martin Povišer <povik@cutebit.org>
There was a problem hiding this comment.
Code Review
This pull request updates the elaboration and target import flow to correctly handle macro cell connections when the Verilog instantiation port order does not match the Liberty definition. It introduces port-name-based mapping using offset maps, adds robust validation for port existence and width mismatches, and includes a new integration test with a dummy RAM macro. Additionally, elaborateText now accepts an optional sta::dbSta pointer, and combinational mapping tests are updated. The review feedback suggests replacing C-style casts with static_cast in import.cc to improve type safety and adhere to modern C++ standards.
|
@codex review |
seems familiar from a PR from @hzeller |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Signed-off-by: Martin Povišer <povik@cutebit.org>
Summary
Fix omitted mapping for feedthrough inverters, and port order confusion if both
.liband.svsupply competing definitions for a given macroType of Change
Impact
Verification
./etc/Build.sh).Related Issues
Fixes #10745 #10746 #10747