Skip to content

Commit

Permalink
test_cell: bloat $sop depth too
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed May 9, 2024
1 parent 9e67d5c commit 8ea285e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passes/tests/test_cell.cc
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ static RTLIL::Cell* create_gold_module(RTLIL::Design *design, RTLIL::IdString ce
if (cell_type == ID($sop))
{
int width = 1 + xorshift32(8 * bloat_factor);
int depth = 1 + xorshift32(8);
int depth = 1 + xorshift32(8 * bloat_factor);

wire = module->addWire(ID::A);
wire->width = width;
Expand Down

0 comments on commit 8ea285e

Please sign in to comment.