Skip to content

Commit

Permalink
ftest
Browse files Browse the repository at this point in the history
  • Loading branch information
olofk committed Nov 18, 2024
1 parent 1978d53 commit 8f4ee1d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions tests/tools/vcs/basic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ all: design

work: sv_file.sv vlog_file.v vlog_with_define.v vlog05_file.v vhdl_file.vhd vhdl2008_file another_sv_file.sv vlog_incfile
$(EDALIZE_LAUNCHER) mkdir work
$(EDALIZE_LAUNCHER) vlogan a few vlogan options +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +incdir+. -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv
$(EDALIZE_LAUNCHER) vlogan a few vlogan options +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +define+FD_KEY=\"FD_VAL\" +incdir+. -work work vlog_with_define.v
$(EDALIZE_LAUNCHER) vhdlan also vhdlan options -work work vhdl_file.vhd vhdl2008_file
$(EDALIZE_LAUNCHER) vlogan -full64 -sverilog a few vlogan options +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +incdir+. -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv
$(EDALIZE_LAUNCHER) vlogan -full64 -sverilog a few vlogan options +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +define+FD_KEY=\"FD_VAL\" +incdir+. -work work vlog_with_define.v
$(EDALIZE_LAUNCHER) vhdlan -full64 also vhdlan options -work work vhdl_file.vhd vhdl2008_file

libx: vhdl_lfile
$(EDALIZE_LAUNCHER) mkdir libx
$(EDALIZE_LAUNCHER) vhdlan also vhdlan options -work libx vhdl_lfile
$(EDALIZE_LAUNCHER) vhdlan -full64 also vhdlan options -work libx vhdl_lfile

design: work libx user_file
$(EDALIZE_LAUNCHER) vcs -o design -top top_module some vcs options -pvalue+vlogparam_bool=1 -pvalue+vlogparam_int=42 -pvalue+vlogparam_str=hello
$(EDALIZE_LAUNCHER) vcs -o design -top top_module -full64 some vcs options -pvalue+vlogparam_bool=1 -pvalue+vlogparam_int=42 -pvalue+vlogparam_str=hello

run: design
$(EDALIZE_LAUNCHER) ./design and some run options
10 changes: 5 additions & 5 deletions tests/tools/vcs/minimal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ all: design

work: sv_file.sv vlog_file.v vlog_with_define.v vlog05_file.v vhdl_file.vhd vhdl2008_file another_sv_file.sv vlog_incfile
$(EDALIZE_LAUNCHER) mkdir work
$(EDALIZE_LAUNCHER) vlogan +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +incdir+. -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv
$(EDALIZE_LAUNCHER) vlogan +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +define+FD_KEY=\"FD_VAL\" +incdir+. -work work vlog_with_define.v
$(EDALIZE_LAUNCHER) vhdlan -work work vhdl_file.vhd vhdl2008_file
$(EDALIZE_LAUNCHER) vlogan -full64 -sverilog +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +incdir+. -work work sv_file.sv vlog_file.v vlog05_file.v another_sv_file.sv
$(EDALIZE_LAUNCHER) vlogan -full64 -sverilog +define+vlogdefine_bool=1 +define+vlogdefine_int=42 +define+vlogdefine_str=\"hello\" +define+FD_KEY=\"FD_VAL\" +incdir+. -work work vlog_with_define.v
$(EDALIZE_LAUNCHER) vhdlan -full64 -work work vhdl_file.vhd vhdl2008_file

libx: vhdl_lfile
$(EDALIZE_LAUNCHER) mkdir libx
$(EDALIZE_LAUNCHER) vhdlan -work libx vhdl_lfile
$(EDALIZE_LAUNCHER) vhdlan -full64 -work libx vhdl_lfile

design: work libx user_file
$(EDALIZE_LAUNCHER) vcs -o design -top top_module -pvalue+vlogparam_bool=1 -pvalue+vlogparam_int=42 -pvalue+vlogparam_str=hello
$(EDALIZE_LAUNCHER) vcs -o design -top top_module -full64 -pvalue+vlogparam_bool=1 -pvalue+vlogparam_int=42 -pvalue+vlogparam_str=hello

run: design
$(EDALIZE_LAUNCHER) ./design

0 comments on commit 8f4ee1d

Please sign in to comment.