| <h3 id='___fix_logic'>fix_logic</h3> | |
| <pre>ECO command. Fix listed points | |
| <b>Usage:</b> fix_logic(@pin_port_list,@options); | |
| @options: | |
| -force: Force the tool to replace the logic cone of the points in @pin_port_list | |
| @pin_port_list: | |
| List of the pins or ports whose logic will be fixed by the reference logic in Reference Netlist | |
| The format is "sic_cnt_reg_0/D","sic_cnt_reg_1/D",'\bbr_ccd_reg[0] /D',"out_port" | |
| '\' should be kept if the instance has '\' as prefix. | |
| E.G. '\bbr_ccd_reg[0] ' instance has '\' and last space in the name. | |
| <b>Examples:</b> | |
| #1. Fix state_regs's D inputs | |
| fix_logic("state_reg_0/D", "state_reg_1/D"); | |
| #2. Fix state_regs's D inputs and one output port | |
| fix_logic("state_reg_0/D", "state_reg_1/D", "out_port"); | |
| #3. Add one new flop, input pins have the same connections as the Reference Netlist | |
| # and the output is floating, -recover option sets to 0 | |
| fix_logic('new_flop_reg/D', 'new_flop_reg/CK', 'new_flop_reg/RB'); | |
| </pre> |