mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-19 20:33:39 +00:00
Added SAT generator and simple sat_solve command
This commit is contained in:
parent
3371563f2f
commit
46fbe9d262
7 changed files with 400 additions and 3 deletions
|
@ -186,12 +186,11 @@ AstNode *VERILOG_FRONTEND::const2ast(std::string code, char case_type)
|
|||
my_strtobin(data, endptr+2, len_in_bits, 16, case_type);
|
||||
break;
|
||||
default:
|
||||
goto error;
|
||||
return NULL;
|
||||
}
|
||||
return AstNode::mkconst_bits(data, is_signed);
|
||||
}
|
||||
|
||||
error:
|
||||
log_error("Value conversion failed: `%s'\n", code.c_str());
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue