Skip to content

Commit

Permalink
vcs: Use -file instead of -f
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Jan 22, 2025
1 parent d6beb67 commit ac8e931
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion edalize/tools/vcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def setup(self, edam):
if l in libs:
libdepfiles.append(l + "/AN.DB/make.vlogan")
self.commands.add(
[cmd] + full64 + ["-f", f_file, "-work", workdir] + fnames,
[cmd] + full64 + ["-file", f_file, "-work", workdir] + fnames,
[workdir + "/" + target_file],
depfiles + [f_file] + libdepfiles,
)
Expand Down
8 changes: 4 additions & 4 deletions tests/tools/vcs/basic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
all: design.simv

work/AN.DB/make.vlogan: sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv vlog_incfile work.f
$(EDALIZE_LAUNCHER) vlogan -full64 -f work.f -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv
$(EDALIZE_LAUNCHER) vlogan -full64 -file work.f -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv

work_1/AN.DB/make.vlogan: vlog_with_define.v vlog_incfile work_1.f
$(EDALIZE_LAUNCHER) vlogan -full64 -f work_1.f -work work_1 vlog_with_define.v
$(EDALIZE_LAUNCHER) vlogan -full64 -file work_1.f -work work_1 vlog_with_define.v

work_2/64/vhmra.sdb: vhdl_file.vhd vhdl2008_file vlog_incfile work_2.f
$(EDALIZE_LAUNCHER) vhdlan -full64 -f work_2.f -work work_2 vhdl_file.vhd vhdl2008_file
$(EDALIZE_LAUNCHER) vhdlan -full64 -file work_2.f -work work_2 vhdl_file.vhd vhdl2008_file

libx/64/vhmra.sdb: vhdl_lfile libx.f
$(EDALIZE_LAUNCHER) vhdlan -full64 -f libx.f -work libx vhdl_lfile
$(EDALIZE_LAUNCHER) vhdlan -full64 -file libx.f -work libx vhdl_lfile

design.simv: work/AN.DB/make.vlogan work_1/AN.DB/make.vlogan work_2/64/vhmra.sdb libx/64/vhmra.sdb user_file vcs.f parameters.txt
$(EDALIZE_LAUNCHER) vcs -full64 -o design.simv -file vcs.f -parameters parameters.txt
Expand Down
8 changes: 4 additions & 4 deletions tests/tools/vcs/minimal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
all: design.simv

work/AN.DB/make.vlogan: sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv vlog_incfile work.f
$(EDALIZE_LAUNCHER) vlogan -full64 -f work.f -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv
$(EDALIZE_LAUNCHER) vlogan -full64 -file work.f -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv

work_1/AN.DB/make.vlogan: vlog_with_define.v vlog_incfile work_1.f
$(EDALIZE_LAUNCHER) vlogan -full64 -f work_1.f -work work_1 vlog_with_define.v
$(EDALIZE_LAUNCHER) vlogan -full64 -file work_1.f -work work_1 vlog_with_define.v

work_2/64/vhmra.sdb: vhdl_file.vhd vhdl2008_file vlog_incfile work_2.f
$(EDALIZE_LAUNCHER) vhdlan -full64 -f work_2.f -work work_2 vhdl_file.vhd vhdl2008_file
$(EDALIZE_LAUNCHER) vhdlan -full64 -file work_2.f -work work_2 vhdl_file.vhd vhdl2008_file

libx/64/vhmra.sdb: vhdl_lfile libx.f
$(EDALIZE_LAUNCHER) vhdlan -full64 -f libx.f -work libx vhdl_lfile
$(EDALIZE_LAUNCHER) vhdlan -full64 -file libx.f -work libx vhdl_lfile

design.simv: work/AN.DB/make.vlogan work_1/AN.DB/make.vlogan work_2/64/vhmra.sdb libx/64/vhmra.sdb user_file vcs.f parameters.txt
$(EDALIZE_LAUNCHER) vcs -full64 -o design.simv -file vcs.f -parameters parameters.txt
Expand Down

0 comments on commit ac8e931

Please sign in to comment.