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

Subversion Repositories ssbcc

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

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 3 Rev 6
Line 1... Line 1...
################################################################################
################################################################################
#
#
# Copyright 2013, Sinclair R.F., Inc.
# Copyright 2013-2014, Sinclair R.F., Inc.
#
#
################################################################################
################################################################################
 
 
import re;
import re;
 
 
Line 58... Line 58...
  def __init__(self,peripheralFile,config,param_list,loc):
  def __init__(self,peripheralFile,config,param_list,loc):
    # Get the parameters.
    # Get the parameters.
    allowables = (
    allowables = (
      ('outport',       r'O_\w+$',              None,           ),
      ('outport',       r'O_\w+$',              None,           ),
      ('outsignal',     r'o_\w+$',              None,           ),
      ('outsignal',     r'o_\w+$',              None,           ),
      ('width',         r'(9|[1-9]\d*)$',       int,            ),
      ( 'width',        r'(9|[1-9]\d+)$',       int,    ),
    );
    );
    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.