Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SDC file type to radiant #439

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ jobs:
pip install tox

- name: 🚧 Build package and run tests with tox
run: tox -e py
run: tox -e py -- -vv
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