File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,28 +106,28 @@ static std::pair<std::optional<ClockGateCell>, std::optional<ClockGateCell>>
106106 if (pin->id != " pin" || pin->args .size () != 1 )
107107 continue ;
108108
109- if (auto clk = pin->find (" clock_gate_clock_pin" )) {
109+ if (pin->find (" clock_gate_clock_pin" )) {
110110 if (!icg_interface.clk_in_pin .empty ()) {
111111 log_warning (" Malformed liberty file - multiple clock_gate_clock_pin in cell %s\n " ,
112112 cell_name.c_str ());
113113 continue ;
114114 } else
115115 icg_interface.clk_in_pin = RTLIL::escape_id (pin->args [0 ]);
116- } else if (auto gclk = pin->find (" clock_gate_out_pin" )) {
116+ } else if (pin->find (" clock_gate_out_pin" )) {
117117 if (!icg_interface.clk_out_pin .empty ()) {
118118 log_warning (" Malformed liberty file - multiple clock_gate_out_pin in cell %s\n " ,
119119 cell_name.c_str ());
120120 continue ;
121121 } else
122122 icg_interface.clk_out_pin = RTLIL::escape_id (pin->args [0 ]);
123- } else if (auto en = pin->find (" clock_gate_enable_pin" )) {
123+ } else if (pin->find (" clock_gate_enable_pin" )) {
124124 if (!icg_interface.ce_pin .empty ()) {
125125 log_warning (" Malformed liberty file - multiple clock_gate_enable_pin in cell %s\n " ,
126126 cell_name.c_str ());
127127 continue ;
128128 } else
129129 icg_interface.ce_pin = RTLIL::escape_id (pin->args [0 ]);
130- } else if (auto se = pin->find (" clock_gate_test_pin" )) {
130+ } else if (pin->find (" clock_gate_test_pin" )) {
131131 icg_interface.tie_lo_pins .push_back (RTLIL::escape_id (pin->args [0 ]));
132132 } else {
133133 const LibertyAst *dir = pin->find (" direction" );
You can’t perform that action at this time.
0 commit comments