Commit 21d32628 authored by Tristan Gingold's avatar Tristan Gingold

makefilevsim.py: add more determinism.

parent 9f8c7189
......@@ -166,8 +166,9 @@ class MakefileVsim(MakefileSim):
lib, purename, "." + purename + "_" + vhdl.extension()),
vhdl.rel_path()))
# list dependencies, do not include the target file
for dep_file in [dfile for dfile in vhdl.depends_on
if dfile is not vhdl]:
for dep_file in sorted([dfile for dfile in vhdl.depends_on
if dfile is not vhdl],
key=(lambda x: x.path)):
if dep_file in fileset:
name = dep_file.purename
extension = dep_file.extension()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment