diff options
author | Sahand Kashani <sahand.kashani@gmail.com> | 2020-04-09 21:16:02 +0200 |
---|---|---|
committer | Sahand Kashani <sahand.kashani@gmail.com> | 2020-04-09 21:16:02 +0200 |
commit | 959a00a46ff65ec0cf82b6803cf7dd01f2ec4d39 (patch) | |
tree | 614ecf2bd2064d4f5a8b54041e5445fdba614136 /backends | |
parent | ac388859e3a859ac6f8e1b219295e2ddfac0fd6b (diff) | |
download | yosys-959a00a46ff65ec0cf82b6803cf7dd01f2ec4d39.tar.gz yosys-959a00a46ff65ec0cf82b6803cf7dd01f2ec4d39.tar.bz2 yosys-959a00a46ff65ec0cf82b6803cf7dd01f2ec4d39.zip |
Fix indentation
Diffstat (limited to 'backends')
-rw-r--r-- | backends/firrtl/firrtl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/firrtl/firrtl.cc b/backends/firrtl/firrtl.cc index 21eade1fc..fd7f20cc6 100644 --- a/backends/firrtl/firrtl.cc +++ b/backends/firrtl/firrtl.cc @@ -504,8 +504,8 @@ struct FirrtlWorker 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), - 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($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))) { string a_expr = make_expr(cell->getPort(ID::A)); string b_expr = make_expr(cell->getPort(ID::B)); @@ -593,7 +593,7 @@ struct FirrtlWorker primop = "eq"; always_uint = true; firrtl_width = 1; - } + } else if ((cell->type == ID($ne)) | (cell->type == ID($nex))) { primop = "neq"; always_uint = true; |