mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-20 23:56:38 +00:00
Merge branch 'YosysHQ:main' into main
This commit is contained in:
commit
66186f11fd
6
.mailmap
6
.mailmap
|
@ -1,6 +1,6 @@
|
|||
Marcelina Kościelnicka <mwk@0x04.net>
|
||||
Marcelina Kościelnicka <mwk@0x04.net> <koriakin@0x04.net>
|
||||
Marcelina Kościelnicka <mwk@0x04.net> <marcin@symbioticeda.com>
|
||||
Wanda Phinode <wanda@phinode.net> <mwk@0x04.net>
|
||||
Wanda Phinode <wanda@phinode.net> <koriakin@0x04.net>
|
||||
Wanda Phinode <wanda@phinode.net> <marcin@symbioticeda.com>
|
||||
Claire Xenia Wolf <claire@yosyshq.com> <claire@clairexen.net>
|
||||
Claire Xenia Wolf <claire@yosyshq.com> <claire@symbioticeda.com>
|
||||
Claire Xenia Wolf <claire@yosyshq.com> <clifford@symbioticeda.com>
|
||||
|
|
2
Makefile
2
Makefile
|
@ -171,7 +171,7 @@ ifeq ($(OS), Haiku)
|
|||
CXXFLAGS += -D_DEFAULT_SOURCE
|
||||
endif
|
||||
|
||||
YOSYS_VER := 0.49+3
|
||||
YOSYS_VER := 0.49+5
|
||||
|
||||
# Note: We arrange for .gitcommit to contain the (short) commit hash in
|
||||
# tarballs generated with git-archive(1) using .gitattributes. The git repo
|
||||
|
|
|
@ -1060,16 +1060,23 @@ void dump_cell_expr_print(std::ostream &f, std::string indent, const RTLIL::Cell
|
|||
void dump_cell_expr_check(std::ostream &f, std::string indent, const RTLIL::Cell *cell)
|
||||
{
|
||||
std::string flavor = cell->getParam(ID(FLAVOR)).decode_string();
|
||||
std::string label = "";
|
||||
if (cell->name.isPublic()) {
|
||||
label = stringf("%s: ", id(cell->name).c_str());
|
||||
}
|
||||
|
||||
if (flavor == "assert")
|
||||
f << stringf("%s" "assert (", indent.c_str());
|
||||
f << stringf("%s" "%s" "assert (", indent.c_str(), label.c_str());
|
||||
else if (flavor == "assume")
|
||||
f << stringf("%s" "assume (", indent.c_str());
|
||||
f << stringf("%s" "%s" "assume (", indent.c_str(), label.c_str());
|
||||
else if (flavor == "live")
|
||||
f << stringf("%s" "assert (eventually ", indent.c_str());
|
||||
f << stringf("%s" "%s" "assert (eventually ", indent.c_str(), label.c_str());
|
||||
else if (flavor == "fair")
|
||||
f << stringf("%s" "assume (eventually ", indent.c_str());
|
||||
f << stringf("%s" "%s" "assume (eventually ", indent.c_str(), label.c_str());
|
||||
else if (flavor == "cover")
|
||||
f << stringf("%s" "cover (", indent.c_str());
|
||||
f << stringf("%s" "%s" "cover (", indent.c_str(), label.c_str());
|
||||
else
|
||||
log_abort();
|
||||
dump_sigspec(f, cell->getPort(ID::A));
|
||||
f << stringf(");\n");
|
||||
}
|
||||
|
|
|
@ -280,7 +280,7 @@ struct WreduceWorker
|
|||
{
|
||||
bool did_something = false;
|
||||
|
||||
if (!cell->type.in(config->supported_cell_types))
|
||||
if (!config->supported_cell_types.count(cell->type))
|
||||
return;
|
||||
|
||||
if (cell->type.in(ID($mux), ID($pmux)))
|
||||
|
|
Loading…
Reference in a new issue