OpenCores
URL https://opencores.org/ocsvn/ssbcc/ssbcc/trunk

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [peripherals/] [open_drain.py] - Diff between revs 6 and 9

Show entire file | Details | Blame | View Log

Rev 6 Rev 9
Line 58... Line 58...
    # Get the parameters.
    # Get the parameters.
    allowables = (
    allowables = (
      ( 'inport',       r'I_\w+$',      None,   ),
      ( 'inport',       r'I_\w+$',      None,   ),
      ( 'iosignal',     r'io_\w+$',     None,   ),
      ( 'iosignal',     r'io_\w+$',     None,   ),
      ( 'outport',      r'O_\w+$',      None,   ),
      ( 'outport',      r'O_\w+$',      None,   ),
      ( 'width',        r'[1-9]\d*$',   lambda v : self.PosInt(v,maxValue=config.Get('data_width')), ),
      ( 'width',        r'\S+$',        lambda v : self.IntMethod(config,v,lowLimit=1,highLimit=config.Get('data_width')), ),
    );
    );
    names = [a[0] for a in allowables];
    names = [a[0] for a in allowables];
    for param_tuple in param_list:
    for param_tuple in param_list:
      param = param_tuple[0];
      param = param_tuple[0];
      if param not in names:
      if param not in names:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.