Conversation
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to 77785f8 in 22 seconds. Click for details.
- Reviewed
83lines of code in2files - Skipped
0files when reviewing. - Skipped posting
0draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
Workflow ID: wflow_pnuM4x9K4eEKjGRm
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Greptile OverviewGreptile SummaryThis PR refactors generated clock handling by extracting duplicated logic into a helper function Key Changes:
Impact:
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant VR as VerilogReader
participant Net as Network
participant LC as LibertyCell
alt Module Instance Path
VR->>VR: makeModuleInstNetwork()
VR->>Net: makeInstance(cell, name, parent)
VR->>VR: makeGeneratedClocks(lib_cell, inst)
else Liberty Instance Path
VR->>VR: makeLibertyInst()
VR->>Net: makeInstance(cell, name, parent)
VR->>VR: makeGeneratedClocks(lib_cell, inst)
end
VR->>LC: generatedClocks()
LC-->>VR: clock list
loop for each GeneratedClock
VR->>Net: pathName(inst)
Net-->>VR: original_inst_path
VR->>VR: strip top-level prefix
VR->>LC: masterPin()
LC-->>VR: pin name
VR->>VR: construct pinPath
VR->>Net: addGeneratedClockPinToCell(pinPath, lib_cell)
end
|
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed 945aa18 in 37 seconds. Click for details.
- Reviewed
22lines of code in1files - Skipped
0files when reviewing. - Skipped posting
0draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
Workflow ID: wflow_f0awlDDfUiMbjmYb
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
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.
Generated clock liberty fixes
One area of code is not covered at all when handling liberty defined macros, leads to no logging of data structure for generated clocks.
Therefore, created helper function and populated relevant areas
Important
Introduces
makeGeneratedClocksinVerilogReaderto handle generated clocks, improving code modularity by refactoring existing logic inmakeModuleInstNetworkandmakeLibertyInst.makeGeneratedClocksfunction inVerilogReaderto map clock pin paths to liberty cells for generated clocks.makeGeneratedClocksinmakeModuleInstNetworkandmakeLibertyInstto handle generated clocks.makeLibertyInstandmakeModuleInstNetwork.VerilogReader.hhto declaremakeGeneratedClocks.This description was created by
for 945aa18. You can customize this summary. It will automatically update as commits are pushed.