Skip to content

Placement delay lookup can not be readback  #2840

@tangxifan

Description

@tangxifan

The placement delay lookup is a useful binary file which saves computing timing for a fixed device.

Expected Behaviour

Similar to the routing resource graph (RRGraph), its usage is expected to be simple.
Users can enable the option, e.g., --write_placement_delay_lookup pdlylkup.bin, to output the data into a binary file.
When in later VPR runs, users can enable the option, e.g., --read_placement_delay_lookup pdlylkup.bin, to readback the data from the binary file.

Current Behaviour

The binary file written out cannot be read back. A segmentation fault is shown.

Possible Solution

Should fix this bug if verified. Readback is the simplest case.
Expect to have a dedicated testcase in strong regression tests, to avoid the bug to occur later

Steps to Reproduce

  1. Download the latest VPR
  2. Compile with make all -j32
  3. python3 run_quick_test.py
  4. cd vtr_flow/tasks/regression_tests/vtr_reg_basic/basic_timing/run001/k6_N10_mem32K_40nm.xml/ch_intrinsics.v/common
  5. <YOUR_VTR_ROOT>/vtr-verilog-to-routing/vpr/vpr k6_N10_mem32K_40nm.xml ch_intrinsics --circuit_file ch_intrinsics.pre-vpr.blif --route_chan_width 60 --write_placement_delay_lookup pdlylkup.bin
  6. <YOUR_VTR_ROOT>/vtr-verilog-to-routing/vpr/vpr k6_N10_mem32K_40nm.xml ch_intrinsics --circuit_file ch_intrinsics.pre-vpr.blif --route_chan_width 60 --read_placement_delay_lookup pdlylkup.bin
  7. You should see the same error as I do

image

Context

Your Environment

  • VTR revision used: ce706d5

  • Operating System and version: Ubuntu 22.04

  • Compiler version: GCC-12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions