projects
/
microwatt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7571416
)
VUnit: use Path.glob instead of glob.glob
author
umarcor
<unai.martinezcorral@ehu.eus>
Wed, 21 Jul 2021 17:52:24 +0000
(19:52 +0200)
committer
umarcor
<unai.martinezcorral@ehu.eus>
Sat, 31 Jul 2021 12:09:44 +0000
(14:09 +0200)
Signed-off-by: umarcor <unai.martinezcorral@ehu.eus>
run.py
patch
|
blob
|
history
diff --git
a/run.py
b/run.py
index 2ffbc9e47cf0a4c4e865d2228cad6f7351e433a3..a01c11dbe7b9078cc4f6e72329e821ef802c553c 100644
(file)
--- a/
run.py
+++ b/
run.py
@@
-1,6
+1,5
@@
from pathlib import Path
from vunit import VUnit
-from glob import glob
prj = VUnit.from_argv()
prj.add_osvvm()
@@
-11,7
+10,7
@@
lib.add_source_files(root / "litedram" / "extras" / "*.vhdl")
lib.add_source_files(root / "litedram" / "generated" / "sim" / "*.vhdl")
# Use multiply.vhd and not xilinx-mult.vhd. Use VHDL-based random.
-vhdl_files =
glob(str(root / "*.vhdl")
)
+vhdl_files =
root.glob("*.vhdl"
)
vhdl_files = [
src_file
for src_file in vhdl_files