Skip to content

Commit

Permalink
Support SystemVerilog sources with radiant tool
Browse files Browse the repository at this point in the history
  • Loading branch information
bwitherspoon authored and olofk committed Nov 19, 2023
1 parent 18dadce commit c3e9a54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions edalize/radiant.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ def _work_source(f):

file_types = {
"verilogSource": "prj_add_source ",
"systemVerilogSource": "prj_add_source ",
"vhdlSource": "prj_add_source ",
"PDC": "prj_add_source ",
}
Expand Down
2 changes: 2 additions & 0 deletions tests/test_radiant/test_radiant_0.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ prj_set_impl_opt {include path} {.}
prj_set_impl_opt HDL_PARAM {generic_bool=True;generic_int=42;generic_str=hello}
prj_set_impl_opt HDL_PARAM {vlogparam_bool=1;vlogparam_int=42;vlogparam_str="hello"}
prj_set_impl_opt VERILOG_DIRECTIVES {vlogdefine_bool=True;vlogdefine_int=42;vlogdefine_str=hello}
prj_add_source sv_file.sv -work work
source tcl_file.tcl
prj_add_source vlog_file.v -work work
prj_add_source vlog05_file.v -work work
prj_add_source vhdl_file.vhd -work work
prj_add_source vhdl_lfile -work libx
prj_add_source vhdl2008_file -work work
prj_add_source another_sv_file.sv -work work
prj_add_source pdc_constraint_file.pdc -work work
prj_save
prj_close

0 comments on commit c3e9a54

Please sign in to comment.