-
Notifications
You must be signed in to change notification settings - Fork 396
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
Simple Place Delay Model Read/Write #2844
Conversation
void write(const std::string& /*file*/) const override {} | ||
void read(const std::string& /*file*/) override; | ||
void write(const std::string& /*file*/) const override; | ||
const vtr::NdMatrix<float, 5>& delays() const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reasonable n why this is always a template parameter of 5 rather than a passed one n template parameter?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doxygen comment would be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The underlying array that stores the delay is a 5D array, and its dimension size remains constant across all instances of this class. So, I don’t think we need to pass a template parameter for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates.
Description
This PR implements the read/write functionality for the simple placement delay model. The feature was tested on the Titan
murax_stratixiv_arch_timing
circuit, and the resulting placement was consistent with the placement delay model read from the previously written file.Related Issue
This PR addresses Issue #2840