Skip to content

Commit a3c102e

Browse files
committed
improved candidate search
1 parent 8f1d845 commit a3c102e

File tree

2 files changed

+350
-133
lines changed

2 files changed

+350
-133
lines changed

plugins/hawkeye/include/hawkeye/candidate_search.h

+7
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525

2626
#pragma once
2727

28+
#include "hal_core/utilities/enums.h"
2829
#include "hal_core/utilities/result.h"
2930
#include "hawkeye/candidate.h"
3031

@@ -65,4 +66,10 @@ namespace hal
6566
*/
6667
Result<std::vector<Candidate>> detect_candidates(Netlist* nl, const std::vector<DetectionConfiguration>& configs, u32 min_state_size = 40, const std::vector<Gate*>& start_ffs = {});
6768
} // namespace hawkeye
69+
70+
template<>
71+
std::map<hawkeye::DetectionConfiguration::Control, std::string> EnumStrings<hawkeye::DetectionConfiguration::Control>::data;
72+
73+
template<>
74+
std::map<hawkeye::DetectionConfiguration::Components, std::string> EnumStrings<hawkeye::DetectionConfiguration::Components>::data;
6875
} // namespace hal

0 commit comments

Comments
 (0)