Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update sta submodule #6606

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

eder-matheus
Copy link
Contributor

@eder-matheus eder-matheus commented Jan 28, 2025

Secure ci started in the branch secure-sta_fix.

Comment on lines 140 to 141
sta::VerilogReader* verilog_reader = new sta::VerilogReader(verilog_network);
verilog_reader->read(filename);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wont this leak memory?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm trying to figure this out. If I delete the pointer, a bunch of tests fail with the error [ERROR STA-1398] top is not a verilog module.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gadfort my last commit fix the leak by mimic the old behavior. I had to make the verilog reader a class member, in order to avoid creating multiple readers, and I delete it once the link design is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants