Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ipbb/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '1.0.a0+2022.dev8'
__version__ = '1.0.a0+2023.dev1'


6 changes: 3 additions & 3 deletions src/ipbb/generators/vivadoproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def fileset(aSrcCmd):
name, ext = splitext(aSrcCmd.filepath)

lFileSet = None
if ext in ('.xci', '.xcix'):
if ext in ('.xci', '.xcix', '.coe' ):
lFileSet = 'sources_1'

elif ext in ('.xdc', '.tcl'):
Expand Down Expand Up @@ -114,7 +114,7 @@ def write(self, aOutput, aSettings, aComponentPaths, aCommandList, aLibs):
# local list of commands
lCommands = []

if ext in ('.xci', '.xcix'):
if ext in ('.xci', '.xcix' , '.coe'):

t = 'ip'
c = f'import_files -norecurse -fileset {self.fileset(src)} $files'
Expand Down Expand Up @@ -174,7 +174,7 @@ def write(self, aOutput, aSettings, aComponentPaths, aCommandList, aLibs):
if not set(lSrcCommandGroups.keys()).issubset(cmd_types):
raise RuntimeError(f"Command group mismatch {' '.join(lSrcCommandGroups.keys())}")
for t in cmd_types:
for c, f in lSrcCommandGroups[t].items():
for c, f in lSrcCommandGroups.get(t,{}).items():
write(tmpl(c).substitute(files=' '.join(f)))

write(f'set_property top {lTopEntity} [get_filesets sources_1]')
Expand Down