mirror of https://github.com/YosysHQ/yosys.git
ql_dsp_macc: whitespace. NFC
This commit is contained in:
parent
c1d2107fe0
commit
434334ba63
|
@ -98,8 +98,7 @@ static void create_ql_macc_dsp(ql_dsp_macc_pm &pm, int dsp_version)
|
|||
log_assert(false);
|
||||
}
|
||||
if (reject) {
|
||||
log_debug("\trejected: too wide (%zd %zd %zd) for v%d\n",
|
||||
min_width, max_width, z_width, dsp_version);
|
||||
log_debug("\trejected: too wide (%zd %zd %zd) for v%d\n", min_width, max_width, z_width, dsp_version);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -132,7 +131,7 @@ static void create_ql_macc_dsp(ql_dsp_macc_pm &pm, int dsp_version)
|
|||
cell->setPort(ID(b_i), sig_b);
|
||||
|
||||
// Connect output data port, pad if needed
|
||||
if ((size_t) GetSize(sig_z) < tgt_z_width) {
|
||||
if ((size_t)GetSize(sig_z) < tgt_z_width) {
|
||||
auto *wire = pm.module->addWire(NEW_ID, tgt_z_width - GetSize(sig_z));
|
||||
sig_z.append(wire);
|
||||
}
|
||||
|
@ -241,7 +240,7 @@ struct QlDspMacc : public Pass {
|
|||
}
|
||||
extra_args(a_Args, argidx, a_Design);
|
||||
|
||||
auto l = [dsp_version](ql_dsp_macc_pm& pm) { create_ql_macc_dsp(pm, dsp_version); };
|
||||
auto l = [dsp_version](ql_dsp_macc_pm &pm) { create_ql_macc_dsp(pm, dsp_version); };
|
||||
for (auto module : a_Design->selected_modules())
|
||||
ql_dsp_macc_pm(module, module->selected_cells()).run_ql_dsp_macc(l);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue