d-m-bailey / cvc

CVC: Circuit Validity Checker. Check for errors in CDL netlist.
GNU General Public License v3.0
21 stars 3 forks source link

check_cvc: control click grabs array indices as references. #231

Open d-m-bailey opened 2 years ago

d-m-bailey commented 2 years ago

ctrl-click in the check_cvc GUI looks for a reference name in between brackets. e.g. [A001] -> A001

The current version will also incorrectly select array indices. e.g. /Xinv/A[10] -> 10 These should be ignored.

In summaryGUI.py subroutine SetCellFilter, change the regex to "(?:\s|^)[([^]]*)"