Skip to content

Commit

Permalink
add SDC file type to radiant
Browse files Browse the repository at this point in the history
  • Loading branch information
johnathan-convertino-afrl authored and olofk committed Nov 11, 2024
1 parent 87b684b commit d0c014b
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -114,6 +114,7 @@ def _work_source(f):
"systemVerilogSource": "prj_add_source ",
"vhdlSource": "prj_add_source ",
"PDC": "prj_add_source ",
"SDC": "prj_add_source ",
}
_file_type = get_file_type(f)
if _file_type in file_types:
Expand Down
1 change: 1 addition & 0 deletions tests/test_radiant/test_radiant_0.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ 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 sdc_file -work work
prj_add_source sv_file.sv -work work
source tcl_file.tcl
prj_add_source vlog_file.v -work work
Expand Down

0 comments on commit d0c014b

Please sign in to comment.