Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
umarcor committed Sep 14, 2023
1 parent 31e33af commit a413531
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mods/pyOSVDE/topwrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,13 @@ def parseDir(self, dirName: Path):
ignoreItem = True
break
if not ignoreItem:
print(item)
#self.parseFile(item)
self.parseFile(item)

def parseFile(self, sourceFile: Path, library: str = "lib"):
"""
Add a VHDL source to the pyVHDLModel Design.
"""
print("parseFile: {}".format(sourceFile))
print(f"parseFile: {sourceFile}")
lib = self.Design.GetLibrary(library)
self.Design.AddDocument(Document(sourceFile), lib)

Expand Down

0 comments on commit a413531

Please sign in to comment.