mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-04 12:40:25 +00:00
read_liberty: fix for msvc
This commit is contained in:
parent
5b4603c54f
commit
126492742b
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue