Unverified Commit a0096c6b authored by mergify[bot]'s avatar mergify[bot] Committed by GitHub
Browse files

[chiselsim] Better fix for CIRCT 1.66- and 1.66+ (backport #3893) (#3899)



* [chiselsim] Better fix for CIRCT 1.66- and 1.66+ (#3893)

Change the way ChiselSim moves files to track and not move files which may
be duplicated in both the default black box filelist and in the main
CIRCT-produced filelist.  Previously, this was working because a java.nio
exception was being ignored.  However, this may have been hiding bugs
where the filelist was actually pointing at a file that did not exist.

This commit also does some heavy cleanup of the code for moving files to only
use java.nio methods as opposed to relying on doing string manipulations of
paths.  The logic is intended to be the exact same as before.

Signed-off-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
(cherry picked from commit 61df8bbf

)

* Help Scala 2.12 type inferencing with type annotations

---------

Co-authored-by: default avatarSchuyler Eldridge <schuyler.eldridge@sifive.com>
Co-authored-by: default avatarJack Koenig <koenig@sifive.com>
parent 7200da13
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment