Repository navigation
Conversation
After synthesis, the check a flow wants is the RTL against the netlist made from it. -sv elaborates both sides with slang, which knows no liberty cells, and -verilog reads no RTL expressions, so that takes a synthesis step on the gold side today. SvRtlAgainstALibertyGateNetlist asks for it in one run. It fails today; this is the request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A request with a failing test, not a fix.
After synthesis, the check a flow wants is the SystemVerilog RTL against the gate netlist made from it, in one run. Today:
-svelaborates both sides with slang, which knows no liberty cells, so the gate netlist fails to elaborate.-verilogreads gate netlists, but not RTL expressions.So the gold side needs a synthesis step first. bazel-orfs runs yosys with flops renamed after the RTL registers, so that LEC can pair them by name.
KeplerCliSubprocessTests.SvRtlAgainstALibertyGateNetlistinMiterTestschecksassign y = a & bagainstAND2 u (...), with a tiny inline liberty, using-sv -v sec --design1 rtl.sv --design2 gates.v --liberty tiny.lib. It fails today: slang reports one error and the netlist does not load. It runs in milliseconds.A possible shape:
--libertycells are made known to the-svfrontend as black-box modules with their liberty function, so a design mixing RTL and cells elaborates.🤖 Generated with Claude Code