Skip to content

Conversation

@amin1377
Copy link
Contributor

@amin1377 amin1377 commented Dec 13, 2024

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

@amin1377 amin1377 linked an issue Dec 13, 2024 that may be closed by this pull request
@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Dec 13, 2024
@amin1377 amin1377 requested a review from vaughnbetz December 16, 2024 13:13
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 {
Copy link
Contributor

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@vaughnbetz vaughnbetz left a 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.

@vaughnbetz vaughnbetz merged commit 231438e into master Dec 16, 2024
37 checks passed
@vaughnbetz vaughnbetz deleted the read_write_simple_lookahead branch December 16, 2024 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Placement delay lookup can not be readback

3 participants