File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -85,9 +85,7 @@ struct QlDspIORegs : public Pass {
8585
8686 // If the cell does not have the "is_inferred" attribute set
8787 // then don't touch it.
88- if (!dsp->has_attribute (RTLIL::escape_id (" is_inferred" )) ||
89- dsp->get_bool_attribute (RTLIL::escape_id (" is_inferred" )) == false )
90- {
88+ if (!dsp->has_attribute (RTLIL::escape_id (" is_inferred" )) || dsp->get_bool_attribute (RTLIL::escape_id (" is_inferred" )) == false ) {
9189 continue ;
9290 }
9391
Original file line number Diff line number Diff line change @@ -263,13 +263,12 @@ struct QlDspSimdPass : public Pass {
263263
264264 // Handle the "is_inferred" attribute. If one of the fragments
265265 // is not inferred mark the whole DSP as not inferred
266- bool is_inferred_a = dsp_a-> has_attribute ( RTLIL::escape_id ( " is_inferred " )) ?
267- dsp_a->get_bool_attribute (RTLIL::escape_id (" is_inferred" )) : false ;
268- bool is_inferred_b = dsp_b-> has_attribute ( RTLIL::escape_id ( " is_inferred " )) ?
269- dsp_b->get_bool_attribute (RTLIL::escape_id (" is_inferred" )) : false ;
266+ bool is_inferred_a =
267+ dsp_a-> has_attribute ( RTLIL::escape_id ( " is_inferred " )) ? dsp_a->get_bool_attribute (RTLIL::escape_id (" is_inferred" )) : false ;
268+ bool is_inferred_b =
269+ dsp_b-> has_attribute ( RTLIL::escape_id ( " is_inferred " )) ? dsp_b->get_bool_attribute (RTLIL::escape_id (" is_inferred" )) : false ;
270270
271- simd->set_bool_attribute (RTLIL::escape_id (" is_inferred" ),
272- is_inferred_a && is_inferred_b);
271+ simd->set_bool_attribute (RTLIL::escape_id (" is_inferred" ), is_inferred_a && is_inferred_b);
273272
274273 // Mark DSP parts for removal
275274 cellsToRemove.push_back (dsp_a);
You can’t perform that action at this time.
0 commit comments