File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -914,6 +914,17 @@ class SdcParseCallback : public sdcparse::Callback {
914
914
for (tatum::DomainId domain : tc_.clock_domains ()) {
915
915
const auto & clock_name = tc_.clock_domain_name (domain);
916
916
917
+ // Clock net aliases are built when reading the input circuit file.
918
+ // These aliases represent only real clock net names.
919
+ //
920
+ // If the SDC contains virtual clocks, the name of these does not
921
+ // appear in the net aliases data structure, therefore there is no
922
+ // need to iterate through the vector and a direct regex match can
923
+ // be applied.
924
+ //
925
+ // Furthermore, a virtual clock name would cause an error as there
926
+ // is no net associated with that when getting the net aliases from
927
+ // the netlist.
917
928
if (tc_.is_virtual_clock (domain)) {
918
929
if (std::regex_match (clock_name, clock_regex)) {
919
930
found = true ;
You can’t perform that action at this time.
0 commit comments