Skip to content

Fix eSLIM crashes from non-contiguous delay selectors and unstrashed Gia export. - #536

Open
RyanAmaudruz wants to merge 1 commit into
berkeley-abc:masterfrom
RyanAmaudruz:fix/eslim-delay-selectors-and-gia-rehash
Open

Fix eSLIM crashes from non-contiguous delay selectors and unstrashed Gia export.#536
RyanAmaudruz wants to merge 1 commit into
berkeley-abc:masterfrom
RyanAmaudruz:fix/eslim-delay-selectors-and-gia-rehash

Conversation

@RyanAmaudruz

Copy link
Copy Markdown
  • Fix &eslim -D 2 abort in DelayEngine::reduceDelay: delay-selector keys (arrival + remaining + d) are not contiguous, so callers such as AreaDelayMinimizer (replacement_delay - 1) can request a value that is not present in delay_selectors. Replaced the exact find() assert with lower_bound (map ordered by std::greater) so iteration starts at the largest representable delay ≤ initial_delay.

  • Fix &eslim -D 0 / -D 3 aborts in Aig_ManDupDfs / Aig_ManDfs during inprocessing: eSLIMCirManToGia() returned an unstrashed Gia. After Gia_ManToAig, ANDs that hash to constants/existing nodes become unreachable from COs, violating DFS node-count assumptions used by DeepSyn/&dch. Rehash with Gia_ManRehash before returning the Gia.

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.

1 participant