Conversation
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to ccd1b2e in 16 seconds. Click for details.
- Reviewed
60lines 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_P0S5Y3IQfM3aWYQD
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Greptile OverviewGreptile SummaryFixes a critical string corruption bug in generated clock processing by ensuring
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Sdc
participant Network
participant VerilogReader
participant Clock
participant stringPrintTmp as stringPrintTmp Buffer
participant stringCopy as stringCopy
Note over VerilogReader: makeGeneratedClocks()
VerilogReader->>stringPrintTmp: Format pin path
stringPrintTmp-->>VerilogReader: Temporary buffer
VerilogReader->>stringCopy: Copy temp buffer
stringCopy-->>VerilogReader: Persistent copy
VerilogReader->>Network: addGeneratedClockPinToCell(pinPath, cell)
VerilogReader->>VerilogReader: reportLine (logging)
Note over Sdc: makeClock()
Sdc->>Sdc: Check generatedClockPinsToCellMap size
alt Map not empty
Sdc->>Sdc: createLibertyGeneratedClocks(clk)
Note over Sdc: createLibertyGeneratedClocks()
Sdc->>Network: Get generatedClockPinsToCellMap
Network-->>Sdc: Map of pins to cells
loop For each pin in map
Sdc->>Network: findPin(pinName)
Network-->>Sdc: Pin object
alt Pin in clock network
Sdc->>Sdc: reportLine "Found pin..." (logging)
loop For each generated clock
Sdc->>stringPrintTmp: Format generated clock name
stringPrintTmp-->>Sdc: Temporary buffer
Sdc->>stringCopy: Copy temp buffer
stringCopy-->>Sdc: Persistent copy (generatedClockName)
Sdc->>Sdc: reportLine "Creating generated clock..." (logging)
Sdc->>Sdc: makeGeneratedClock(generatedClockName, ...)
Sdc->>Clock: new Clock(generatedClockName, ...)
Clock->>stringCopy: Copy name internally
stringCopy-->>Clock: Owned copy
end
end
end
end
|
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed 4a1078c in 17 seconds. Click for details.
- Reviewed
52lines of code in3files - 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_ZN4QlIMwgsryMAC6
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed 4df9d68 in 27 seconds. Click for details.
- Reviewed
69lines of code in3files - 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_5iTlRLoi1uw9lk7x
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
Small bug where strings get corrupted due to stringPrintTmp. May interfere with generated clock lookup. Fixed by making a copy of the string instead of using a temporary buffer.
Added more verbosity since it is an additional feature for debug help
Important
Fix string corruption in generated clock lookup and add verbose debug logging.
stringPrintTmpwithstringCopy(stringPrintTmp(...))increateLibertyGeneratedClocks()inSdc.ccandmakeGeneratedClocks()inVerilogReader.ccto prevent string corruption.createLibertyGeneratedClocks()inSdc.ccto log found generated clock pins and creation of generated clocks.makeGeneratedClocks()inVerilogReader.ccto log addition of generated clock pins to liberty cells.This description was created by
for 4df9d68. You can customize this summary. It will automatically update as commits are pushed.