mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Add "#ifdef __FreeBSD__"
This commit is contained in:
parent
145c685de0
commit
e3575a86c5
5 changed files with 52 additions and 9 deletions
|
@ -128,7 +128,7 @@ struct CoverPass : public Pass {
|
|||
log("\n");
|
||||
}
|
||||
|
||||
#if defined(YOSYS_ENABLE_COVER) && defined(__linux__)
|
||||
#if defined(YOSYS_ENABLE_COVER) && (defined(__linux__) || defined(__FreeBSD__))
|
||||
for (auto &it : get_coverage_data()) {
|
||||
if (!patterns.empty()) {
|
||||
for (auto &p : patterns)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue