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

Subversion Repositories usbhostslave

[/] [usbhostslave/] [tags/] [rel_01_01/] [RTL/] [hostController/] [usbHostControl.v] - Diff between revs 9 and 14

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

Rev 9 Rev 14
Line 158... Line 158...
wire sendPacketCPReadyOut;
wire sendPacketCPReadyOut;
wire [3:0] sendPacketCPPIDIn;
wire [3:0] sendPacketCPPIDIn;
wire [3:0] sendPacketCPPIDOut;
wire [3:0] sendPacketCPPIDOut;
wire sendPacketCPWEnIn;
wire sendPacketCPWEnIn;
wire sendPacketCPWEnOut;
wire sendPacketCPWEnOut;
wire sendPacketCPFSRate;
 
wire sendPacketCPFSPol;
 
wire sendPacketCPGrabLine;
 
wire [7:0] SOFCntlCntl;
wire [7:0] SOFCntlCntl;
wire [7:0] SOFCntlData;
wire [7:0] SOFCntlData;
wire SOFCntlGnt;
wire SOFCntlGnt;
wire SOFCntlReq;
wire SOFCntlReq;
wire SOFCntlWEn;
wire SOFCntlWEn;
Line 180... Line 177...
wire sendPacketWEn;
wire sendPacketWEn;
wire [15:0] SOFTimer;
wire [15:0] SOFTimer;
wire clrTxReq;
wire clrTxReq;
wire transDone;
wire transDone;
wire transReq;
wire transReq;
 
wire isoEn;
wire [1:0] transType;
wire [1:0] transType;
wire preAmbleEnable;
wire preAmbleEnable;
wire [1:0] directLineState;
wire [1:0] directLineState;
wire directLineCtrlEn;
wire directLineCtrlEn;
wire [6:0] TxAddr;
wire [6:0] TxAddr;
wire [3:0] TxEndP;
wire [3:0] TxEndP;
wire [7:0] RxPktStatus;
wire [7:0] RxPktStatus;
wire [3:0] RxPID;
wire [3:0] RxPID;
wire directCtrlRate;
 
wire directCtrlPol;
 
wire [1:0] connectStateOut;
wire [1:0] connectStateOut;
wire resumeIntFromRxStatusMon;
wire resumeIntFromRxStatusMon;
wire connectionEventFromRxStatusMon;
wire connectionEventFromRxStatusMon;
 
 
USBHostControlBI u_USBHostControlBI
USBHostControlBI u_USBHostControlBI
Line 224... Line 220...
  .clrTransReq(clrTxReq),
  .clrTransReq(clrTxReq),
  .preambleEn(preAmbleEnable),
  .preambleEn(preAmbleEnable),
  .SOFSync(SOFSyncEn),
  .SOFSync(SOFSyncEn),
  .TxLineState(directLineState),
  .TxLineState(directLineState),
  .LineDirectControlEn(directLineCtrlEn),
  .LineDirectControlEn(directLineCtrlEn),
  .fullSpeedPol(directCtrlPol),
  .fullSpeedPol(fullSpeedPol),
  .fullSpeedRate(directCtrlRate),
  .fullSpeedRate(fullSpeedRate),
  .transReq(transReq)
  .transReq(transReq),
 
  .isoEn(isoEn)
 
 
  );
  );
 
 
 
 
hostcontroller u_hostController
hostcontroller u_hostController
Line 245... Line 242...
  .sendPacketPID(HC_PID),
  .sendPacketPID(HC_PID),
  .sendPacketRdy(sendPacketCPReadyOut),
  .sendPacketRdy(sendPacketCPReadyOut),
  .sendPacketWEn(HC_SP_WEn),
  .sendPacketWEn(HC_SP_WEn),
  .transDone(transDone),
  .transDone(transDone),
  .transReq(transReq),
  .transReq(transReq),
  .transType(transType) );
  .transType(transType),
 
  .isoEn(isoEn) );
 
 
SOFController u_SOFController
SOFController u_SOFController
  (.HCTxPortCntl(SOFCntlCntl),
  (.HCTxPortCntl(SOFCntlCntl),
  .HCTxPortData(SOFCntlData),
  .HCTxPortData(SOFCntlData),
  .HCTxPortGnt(SOFCntlGnt),
  .HCTxPortGnt(SOFCntlGnt),
Line 290... Line 288...
  .sendPacketWEnable(sendPacketCPWEnIn) );
  .sendPacketWEnable(sendPacketCPWEnIn) );
 
 
sendPacketCheckPreamble u_sendPacketCheckPreamble
sendPacketCheckPreamble u_sendPacketCheckPreamble
  (.sendPacketCPPID(sendPacketCPPIDIn),
  (.sendPacketCPPID(sendPacketCPPIDIn),
  .clk(clk),
  .clk(clk),
  .fullSpeedBitRate(sendPacketCPFSRate),
 
  .fullSpeedPolarity(sendPacketCPFSPol),
 
  .grabLineControl(sendPacketCPGrabLine),
 
  .preAmbleEnable(preAmbleEnable),
  .preAmbleEnable(preAmbleEnable),
  .rst(rst),
  .rst(rst),
  .sendPacketCPReady(sendPacketCPReadyOut),
  .sendPacketCPReady(sendPacketCPReadyOut),
  .sendPacketCPWEn(sendPacketCPWEnIn),
  .sendPacketCPWEn(sendPacketCPWEnIn),
  .sendPacketPID(sendPacketCPPIDOut),
  .sendPacketPID(sendPacketCPPIDOut),
Line 318... Line 313...
  .fifoEmpty(TxFifoEmpty),
  .fifoEmpty(TxFifoEmpty),
  .fifoReadEn(TxFifoRE),
  .fifoReadEn(TxFifoRE),
  .frameNum(frameNum),
  .frameNum(frameNum),
  .rst(rst),
  .rst(rst),
  .sendPacketRdy(sendPacketCPReadyIn),
  .sendPacketRdy(sendPacketCPReadyIn),
  .sendPacketWEn(sendPacketCPWEnOut) );
  .sendPacketWEn(sendPacketCPWEnOut),
 
  .fullSpeedPolarity(fullSpeedPol) );
 
 
directControl u_directControl
directControl u_directControl
  (.HCTxPortCntl(directCntlCntl),
  (.HCTxPortCntl(directCntlCntl),
  .HCTxPortData(directCntlData),
  .HCTxPortData(directCntlData),
  .HCTxPortGnt(directCntlGnt),
  .HCTxPortGnt(directCntlGnt),
Line 369... Line 365...
  .SIERxTimeOut(SIERxTimeOut),
  .SIERxTimeOut(SIERxTimeOut),
  .clk(clk),
  .clk(clk),
  .getPacketEn(getPacketREn),
  .getPacketEn(getPacketREn),
  .rst(rst) );
  .rst(rst) );
 
 
speedCtrlMux u_speedCtrlMux
 
  (.directCtrlRate(directCtrlRate),
 
  .directCtrlPol(directCtrlPol),
 
  .sendPacketRate(sendPacketCPFSRate),
 
  .sendPacketPol(sendPacketCPFSPol),
 
  .sendPacketSel(sendPacketCPGrabLine),
 
  .fullSpeedRate(fullSpeedRate),
 
  .fullSpeedPol(fullSpeedPol) );
 
 
 
rxStatusMonitor  u_rxStatusMonitor
rxStatusMonitor  u_rxStatusMonitor
  (.connectStateIn(connectStateIn),
  (.connectStateIn(connectStateIn),
  .connectStateOut(connectStateOut),
  .connectStateOut(connectStateOut),
  .resumeDetectedIn(resumeDetectedIn),
  .resumeDetectedIn(resumeDetectedIn),
  .connectionEventOut(connectionEventFromRxStatusMon),
  .connectionEventOut(connectionEventFromRxStatusMon),

powered by: WebSVN 2.1.0

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