Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str While NameLoad body Assign NameStore Call NameLoad Lambda arguments args defaults Call NameLoad Lambda arguments args defaults Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Break Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If CompareEq Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Num body Break Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str For TupleStore NameStore NameStore Call NameLoad Call AttributeLoad NameLoad attr body TryExcept body If CompareEq NameLoad Str body Assign SubscriptStore NameLoad Index NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad Expr Call NameLoad NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Pass If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Call AttributeLoad Str attr keyword NameLoad keyword NameLoad keyword Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str Assign NameStore ListLoad TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str For TupleStore NameStore NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Break orelse Expr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad SubscriptLoad SubscriptLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad Expr Yield TupleLoad NameLoad NameLoad decorator_list
N/A __future__ absolute_import N/A csv N/A copy collections defaultdict common * kipart * psoc5lp_pin_name_process N/A N/A name N/A N/A N/A leading_paren N/A N/A re compile ^\s*(?P<paren>\([^)]*\))\s*(?P<pin_name>.+)$ N/A re IGNORECASE N/A m N/A N/A leading_paren match name N/A N/A m None N/A N/A name N/A N/A N/A N/A m group pin_name N/A N/A m group paren N/A name N/A N/A re sub ^\s+ name N/A name N/A N/A re sub \s+$ name N/A name N/A N/A re sub \s*([-@#$%^&*_=+|",.<>!;?]+)\s* \1 name N/A name N/A N/A re sub ([\[\{\(]+)\s* \1 name N/A name N/A N/A re sub \s*([\]\}\)]+) \1 name N/A name N/A N/A re sub \s+ _ name N/A name N/A psoc5lp_reader N/A N/A csv_file N/A N/A N/A Extract pin data from a Cypress PSoC5LP CSV file and return a dictionary of pin data.
       The CSV file contains one or more groups of rows formatted as follows:
           A row with a single field containing the part number.
           Zero or more blank rows.
           A row containing the column headers:
               'Pin', 'Unit', 'Type', 'Style', 'Side', and 'Name'.
               (Only 'Pin' and 'Name' are required. The order of
               the columns is not important.)
           Each succeeding row should contain:
               The 'Pin' column should contain the pin number.
               The 'Unit' column specifies the bank or unit number for the pin.
               The 'Type' column specifies the pin type (input, output,...).
               The 'Style' column specifies the pin's schematic style.
               The 'Side' column specifies the side of the symbol the pin is on.
               The 'Name' column contains the pin name.
           A blank row terminates the pin data for the part and begins
           a new group of rows for another part.
     N/A True N/A N/A pin_data N/A defaultdict N/A N/A N/A N/A N/A defaultdict N/A N/A N/A N/A N/A defaultdict list N/A csv_reader N/A N/A csv reader csv_file skipinitialspace True N/A part_num N/A get_part_num csv_reader N/A N/A part_num None N/A N/A N/A headers N/A clean_headers N/A get_nonblank_row csv_reader N/A dict_reader N/A N/A csv DictReader csv_file headers skipinitialspace True N/A N/A index row N/A enumerate dict_reader N/A N/A N/A N/A num_row_elements N/A list N/A N/A row values 0 N/A N/A N/A pin N/A N/A copy copy DEFAULT_PIN N/A N/A pin index index N/A N/A pin type N/A N/A c a N/A list N/A N/A COLUMN_NAMES items N/A N/A N/A N/A N/A c name N/A N/A N/A row N/A c N/A psoc5lp_pin_name_process N/A row N/A c N/A N/A setattr pin a N/A row N/A c N/A N/A N/A KeyError N/A N/A N/A N/A N/A pin num None N/A N/A N/A issue N/A N/A ERROR: No pin number on row {index} of {part_num} format index index part_num part_num level error N/A N/A N/A pin type N/A N/A DEFAULT_PIN_TYPE input N/A PIN_TYPE_PREFIXES N/A N/A P[0-9]+\[[0-9]+\] bidirectional N/A VCC power_out N/A VDD power_in N/A VSS power_in N/A IND passive N/A VBOOST input N/A VBAT power_in N/A XRES input N/A NC no_connect N/A N/A prefix typ PIN_TYPE_PREFIXES N/A N/A N/A N/A re match prefix N/A pin name N/A re IGNORECASE N/A N/A N/A pin type typ N/A N/A N/A N/A issue N/A N/A No match for pin {} on part {}, assigning as {} format N/A pin name part_num DEFAULT_PIN_TYPE N/A N/A pin type DEFAULT_PIN_TYPE N/A N/A N/A N/A N/A N/A pin_data N/A N/A pin unit N/A N/A pin side N/A N/A pin name append pin N/A N/A N/A part_num pin_data N/A