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

Subversion Repositories mips_enhanced

[/] [mips_enhanced/] [trunk/] [grlib-gpl-1.0.19-b3188/] [lib/] [gaisler/] [usb/] [grusbhc.in] - Rev 2

Compare with Previous | Blame | View Log

bool 'Gaisler Research USB 2.0 Host Controller ' CONFIG_GRUSBHC_ENABLE
if [ "$CONFIG_GRUSBHC_ENABLE" = "y" ]; then
  bool 'Enable Enhanced Host Controller ' CONFIG_GRUSBHC_EHC
  bool 'Enable Universal Host Controller ' CONFIG_GRUSBHC_UHC
  if [ "$CONFIG_GRUSBHC_UHC" = "y" ]; then
    int 'Number of Universal Host Controllers (1-15)' CONFIG_GRUSBHC_NCC 1
  fi
  int 'Total number of ports  (1-15)' CONFIG_GRUSBHC_NPORTS 1
  choice 'Transceiver interface' \
   "ULPI        CONFIG_GRUSBHC_ULPI \
    UTMI+16-bit CONFIG_GRUSBHC_UTMI16 \
    UTMI+8-bit  CONFIG_GRUSBHC_UTMI8" ULPI
  if [ "$CONFIG_GRUSBHC_ULPI" = "y" ]; then
    choice 'Bus power generation' \
      "External  CONFIG_GRUSBHC_VBUSEXT \
       Internal  CONFIG_GRUSBHC_VBUSINT"
       if [ "$CONFIG_GRUSBHC_VBUSEXT" = "y" ]; then 
         choice 'External bus fault indicator' \
          "ActiveLow  CONFIG_GRUSBHC_FAULTL \
           ActiveHigh CONFIG_GRUSBHC_FAULTH \
           None       CONFIG_GRUSBHC_FAULTN" ActiveLow
       fi
  else
    choice 'Bus power enable signal' \
      "ActiveHigh CONFIG_GRUSBHC_ENABLEH \
       ActiveLow  CONFIG_GRUSBHC_ENABLEL" ActiveHigh
    choice 'Bus power fault indicator' \
      "ActiveHigh CONFIG_GRUSBHC_FAULT2H \
       ActiveLow  CONFIG_GRUSBHC_FAULT2L" ActiveHigh
  fi
  comment 'Memory interface'
# Endian conversion must be enabled if the core is going to work in GRLIB.
# Thereby we do not give the user a choice, for now.
#     bool 'Endian conversion enable    ' CONFIG_GRUSBHC_ENDIAN 
  bool 'Enable big endian register interface' CONFIG_GRUSBHC_BEREGS      
  bool 'Enable big endian descriptors' CONFIG_GRUSBHC_BEDESC
  int  'Maximum burst length in words (1-256)' CONFIG_GRUSBHC_BWRD 16
  comment 'Port routing'
  bool 'Port routing rules' CONFIG_GRUSBHC_PRR
  if [ "$CONFIG_GRUSBHC_PRR" = "n" ]; then
    int 'Number of ports per companion controller (1-15)' CONFIG_GRUSBHC_NPCC 1  
  else
    int 'Route port 1 to companion controller ' CONFIG_GRUSBHC_PR1 0
    int 'Route port 2 to companion controller ' CONFIG_GRUSBHC_PR2 0
    int 'Route port 3 to companion controller ' CONFIG_GRUSBHC_PR3 0
    int 'Route port 4 to companion controller ' CONFIG_GRUSBHC_PR4 0
    int 'Route port 5 to companion controller ' CONFIG_GRUSBHC_PR5 0
    int 'Route port 6 to companion controller ' CONFIG_GRUSBHC_PR6 0
    int 'Route port 7 to companion controller ' CONFIG_GRUSBHC_PR7 0
    int 'Route port 8 to companion controller ' CONFIG_GRUSBHC_PR8 0
    int 'Route port 9 to companion controller ' CONFIG_GRUSBHC_PR9 0
    int 'Route port 10 to companion controller ' CONFIG_GRUSBHC_PR10 0
    int 'Route port 11 to companion controller ' CONFIG_GRUSBHC_PR11 0
    int 'Route port 12 to companion controller ' CONFIG_GRUSBHC_PR12 0
    int 'Route port 13 to companion controller ' CONFIG_GRUSBHC_PR13 0
    int 'Route port 14 to companion controller ' CONFIG_GRUSBHC_PR14 0
    int 'Route port 15 to companion controller ' CONFIG_GRUSBHC_PR15 0
  fi
fi

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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