diff options
| -rw-r--r-- | ecp5/arch.h | 4 | ||||
| -rw-r--r-- | ice40/bitstream.cc | 5 | 
2 files changed, 5 insertions, 4 deletions
diff --git a/ecp5/arch.h b/ecp5/arch.h index f53817fd..aada2079 100644 --- a/ecp5/arch.h +++ b/ecp5/arch.h @@ -392,8 +392,8 @@ struct Arch : BaseCtx      int getGridDimX() const { return chip_info->width; };      int getGridDimY() const { return chip_info->height; }; -    int getTileDimZ(int,int) const { return 4; }; -     +    int getTileDimZ(int, int) const { return 4; }; +      // -------------------------------------------------      BelId getBelByName(IdString name) const; diff --git a/ice40/bitstream.cc b/ice40/bitstream.cc index 5559c2ce..9ac8e857 100644 --- a/ice40/bitstream.cc +++ b/ice40/bitstream.cc @@ -482,8 +482,9 @@ void write_asc(const Context *ctx, std::ostream &out)                              set_config(ti, config.at(y).at(x),
                                         "Cascade.IPCON_LC0" + std::to_string(lc_idx) + "_inmux02_5", true);
                          else
 -                            set_config(ti, config.at(y).at(x), "Cascade.MULT" + std::to_string(int(tile - TILE_DSP0)) +
 -                                                                       "_LC0" + std::to_string(lc_idx) + "_inmux02_5",
 +                            set_config(ti, config.at(y).at(x),
 +                                       "Cascade.MULT" + std::to_string(int(tile - TILE_DSP0)) + "_LC0" +
 +                                               std::to_string(lc_idx) + "_inmux02_5",
                                         true);
                      }
                  }
  | 
