Merge pull request #86 from pgielda/patch-1

Fix generating csr.csv file
This commit is contained in:
enjoy-digital 2018-08-12 19:34:52 +02:00 committed by GitHub
commit e07ca05749
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,7 +106,7 @@ class Builder:
csr_regions = self.soc.get_csr_regions() csr_regions = self.soc.get_csr_regions()
constants = self.soc.get_constants() constants = self.soc.get_constants()
csr_dir = os.path.dirname(self.csr_csv) csr_dir = os.path.dirname(os.path.realpath(self.csr_csv))
os.makedirs(csr_dir, exist_ok=True) os.makedirs(csr_dir, exist_ok=True)
write_to_file( write_to_file(
self.csr_csv, self.csr_csv,