mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-12 20:18:20 +00:00
Fix indentation
This commit is contained in:
parent
ac388859e3
commit
959a00a46f
|
@ -504,8 +504,8 @@ struct FirrtlWorker
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (cell->type.in(ID($add), ID($sub), ID($mul), ID($div), ID($mod), ID($xor), ID($xnor), ID($and), ID($or), ID($eq), ID($eqx),
|
if (cell->type.in(ID($add), ID($sub), ID($mul), ID($div), ID($mod), ID($xor), ID($xnor), ID($and), ID($or), ID($eq), ID($eqx),
|
||||||
ID($gt), ID($ge), ID($lt), ID($le), ID($ne), ID($nex), ID($shr), ID($sshr), ID($sshl), ID($shl),
|
ID($gt), ID($ge), ID($lt), ID($le), ID($ne), ID($nex), ID($shr), ID($sshr), ID($sshl), ID($shl),
|
||||||
ID($logic_and), ID($logic_or), ID($pow)))
|
ID($logic_and), ID($logic_or), ID($pow)))
|
||||||
{
|
{
|
||||||
string a_expr = make_expr(cell->getPort(ID::A));
|
string a_expr = make_expr(cell->getPort(ID::A));
|
||||||
string b_expr = make_expr(cell->getPort(ID::B));
|
string b_expr = make_expr(cell->getPort(ID::B));
|
||||||
|
@ -593,7 +593,7 @@ struct FirrtlWorker
|
||||||
primop = "eq";
|
primop = "eq";
|
||||||
always_uint = true;
|
always_uint = true;
|
||||||
firrtl_width = 1;
|
firrtl_width = 1;
|
||||||
}
|
}
|
||||||
else if ((cell->type == ID($ne)) | (cell->type == ID($nex))) {
|
else if ((cell->type == ID($ne)) | (cell->type == ID($nex))) {
|
||||||
primop = "neq";
|
primop = "neq";
|
||||||
always_uint = true;
|
always_uint = true;
|
||||||
|
|
Loading…
Reference in a new issue