Merge pull request #1331 from cr1901/gowin-win

Gowin: Fix `copyfile` paths
This commit is contained in:
enjoy-digital 2022-06-20 11:32:47 +02:00 committed by GitHub
commit b8ee713dba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,8 +182,8 @@ class GowinToolchain:
# Copy Bitstream to from impl to gateware directory. # Copy Bitstream to from impl to gateware directory.
copyfile( copyfile(
os.path.join(build_dir, "impl", "pnr", "project.fs"), os.path.join("impl", "pnr", "project.fs"),
os.path.join(build_dir, build_name + ".fs") os.path.join(build_name + ".fs")
) )
os.chdir(cwd) os.chdir(cwd)