diff options
Diffstat (limited to 'ice40/cells.cc')
-rw-r--r-- | ice40/cells.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ice40/cells.cc b/ice40/cells.cc index 610bf85e..5bdc7990 100644 --- a/ice40/cells.cc +++ b/ice40/cells.cc @@ -113,8 +113,8 @@ std::unique_ptr<CellInfo> create_ice_cell(Context *ctx, IdString type, std::stri add_port(ctx, new_cell.get(), "CLKLF", PORT_OUT); add_port(ctx, new_cell.get(), "CLKLF_FABRIC", PORT_OUT); } else if (type == ctx->id("ICESTORM_HFOSC")) { - new_cell->params[ctx->id("CLKHF_DIV")] = "0"; - new_cell->params[ctx->id("TRIM_EN")] = "0"; + new_cell->params[ctx->id("CLKHF_DIV")] = "0b00"; + new_cell->params[ctx->id("TRIM_EN")] = "0b0"; add_port(ctx, new_cell.get(), "CLKHFEN", PORT_IN); add_port(ctx, new_cell.get(), "CLKHFPU", PORT_IN); |