Skip to content

Conversation

@AlexandreSinger
Copy link
Contributor

Each pb_graph_node kept a void* called temp_scratch_pad. This was used to store temporary data during packing. This is incredibly dangerous and also very wasteful on space.

I found that this was only used by the prepacker, so it was easily replaced by an unordered map which accomplished the same thing.

Each pb_graph_node kept a void* called temp_scratch_pad. This was used
to store temporary data during packing. This is incredibly dangerous and
also very wasteful on space.

I found that this was only used by the prepacker, so it was easily
replaced by an unordered map which accomplished the same thing.
@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool libarchfpga Library for handling FPGA Architecture descriptions lang-cpp C/C++ code labels Nov 4, 2025
@AmirhosseinPoolad
Copy link
Contributor

LGTM

@AmirhosseinPoolad AmirhosseinPoolad merged commit 13f29e2 into verilog-to-routing:master Nov 4, 2025
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lang-cpp C/C++ code libarchfpga Library for handling FPGA Architecture descriptions VPR VPR FPGA Placement & Routing Tool

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants