read_liberty: fix for msvc

This commit is contained in:
Emil J. Tywoniak 2026-03-03 17:34:58 +01:00
parent 5b4603c54f
commit 126492742b
1 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#include "passes/techmap/libparse.h"
#include "kernel/register.h"
#include "kernel/log.h"
#include <array>
YOSYS_NAMESPACE_BEGIN
@ -303,7 +304,7 @@ static void create_ff(RTLIL::Module *module, const LibertyAst *node)
if (*cp_var == 'L') {
set_dominates = neg;
} else if (*cp_var == 'H') {
set_dominates = not neg;
set_dominates = !neg;
} else {
log_error("FF cell %s has unsupported clear&preset behavior \'%c\'.\n", name, *cp_var);
}