mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
Merge pull request #86 from pgielda/patch-1
Fix generating csr.csv file
This commit is contained in:
commit
e07ca05749
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class Builder:
|
|||
csr_regions = self.soc.get_csr_regions()
|
||||
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)
|
||||
write_to_file(
|
||||
self.csr_csv,
|
||||
|
|
Loading…
Reference in a new issue