亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? usbf_defines.v

?? usb的verilog 代碼。對理解usb的原理有很大幫助
?? V
字號:
/////////////////////////////////////////////////////////////////////////                                                             ////////  USB function defines file                                  ////////                                                             ////////                                                             ////////  Author: Rudolf Usselmann                                   ////////          rudi@asics.ws                                      ////////                                                             ////////                                                             ////////  Downloaded from: http://www.opencores.org/cores/usb/       ////////                                                             /////////////////////////////////////////////////////////////////////////////                                                             //////// Copyright (C) 2000 Rudolf Usselmann                         ////////                    rudi@asics.ws                            ////////                                                             //////// This source file may be used and distributed without        //////// restriction provided that this copyright statement is not   //////// removed from the file and that any derivative work contains //////// the original copyright notice and the associated disclaimer.////////                                                             ////////     THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY     //////// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED   //////// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS   //////// FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR      //////// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,         //////// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES    //////// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE   //////// GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR        //////// BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF  //////// LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT  //////// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT  //////// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE         //////// POSSIBILITY OF SUCH DAMAGE.                                 ////////                                                             ///////////////////////////////////////////////////////////////////////////  CVS Log////  $Id: usbf_defines.v,v 1.2 2001/08/10 08:48:33 rudi Exp $////  $Date: 2001/08/10 08:48:33 $//  $Revision: 1.2 $//  $Author: rudi $//  $Locker:  $//  $State: Exp $//// Change History://               $Log: usbf_defines.v,v $//               Revision 1.2  2001/08/10 08:48:33  rudi////               - Changed IO names to be more clear.//               - Uniquifyed define names to be core specific.////               Revision 1.1  2001/08/03 05:30:09  rudi//////               1) Reorganized directory structure////               Revision 1.2  2001/03/31 13:00:52  rudi////               - Added Core configuration//               - Added handling of OUT packets less than MAX_PL_SZ in DMA mode//               - Modified WISHBONE interface and sync logic//               - Moved SSRAM outside the core (added interface)//               - Many small bug fixes ...////               Revision 1.0  2001/03/07 09:17:12  rudi//////               Changed all revisions to revision 1.0. This is because OpenCores CVS//               interface could not handle the original '0.1' revision ....////               Revision 0.2  2001/03/07 09:08:13  rudi////               Added USB control signaling (Line Status) block. Fixed some minor//               typos, added resume bit and signal.////               Revision 0.1.0.1  2001/02/28 08:11:35  rudi//               Initial Release////`timescale 1ns / 10ps// For each endpoint that should actually be instantiated,// set the below define value to a one. Uncomment the define// statement for unused endpoints. The endpoints should be// sequential, e.q. 1,2,3. I have not tested what happens if// you select endpoints in a non sequential manner e.g. 1,4,6// Actual (logical) endpoint IDs are set by the software. There// is no correlation between the physical endpoint number (below)// and the actual (logical) endpoint number.`define	USBF_HAVE_EP1	1`define	USBF_HAVE_EP2	1`define	USBF_HAVE_EP3	1//`define	USBF_HAVE_EP4	1//`define	USBF_HAVE_EP5	1//`define	USBF_HAVE_EP6	1//`define	USBF_HAVE_EP7	1//`define	USBF_HAVE_EP8	1//`define	USBF_HAVE_EP9	1//`define	USBF_HAVE_EP10	1//`define	USBF_HAVE_EP11	1//`define	USBF_HAVE_EP12	1//`define	USBF_HAVE_EP13	1//`define	USBF_HAVE_EP14	1//`define	USBF_HAVE_EP15	1// Highest address line number that goes to the USB core// Typically only A0 through A17 are needed, where A17// selects between the internal buffer memory and the// register file.// Implementations may choose to have a more complex address// decoding ....`define USBF_UFC_HADR	17// Address Decoding for Register File select`define USBF_RF_SEL	(!wb_addr_i[17])// Address Decoding for Buffer Memory select`define USBF_MEM_SEL	(wb_addr_i[17])`define USBF_SSRAM_HADR	14///////////////////////////////////////////////////////////////////////// Items below this point should NOT be modified by the end user// UNLESS you know exactly what you are doing !// Modify at you own risk !!!///////////////////////////////////////////////////////////////////////// PID Encodings`define USBF_T_PID_OUT		4'b0001`define USBF_T_PID_IN		4'b1001`define USBF_T_PID_SOF		4'b0101`define USBF_T_PID_SETUP	4'b1101`define USBF_T_PID_DATA0	4'b0011`define USBF_T_PID_DATA1	4'b1011`define USBF_T_PID_DATA2	4'b0111`define USBF_T_PID_MDATA	4'b1111`define USBF_T_PID_ACK		4'b0010`define USBF_T_PID_NACK		4'b1010`define USBF_T_PID_STALL	4'b1110`define USBF_T_PID_NYET		4'b0110`define USBF_T_PID_PRE		4'b1100`define USBF_T_PID_ERR		4'b1100`define USBF_T_PID_SPLIT	4'b1000`define USBF_T_PID_PING		4'b0100`define USBF_T_PID_RES		4'b0000// The HMS_DEL is a constant for the "Half Micro Second"// Clock pulse generator. This constant specifies how many// Phy clocks there are between two hms_clock pulses. This// constant plus 2 represents the actual delay.// Example: For a 60 Mhz (16.667 nS period) Phy Clock, the// delay must be 30 phy clock: 500ns / 16.667nS = 30 clocks`define USBF_HMS_DEL		28// After sending Data in response to an IN token from host, the// host must reply with an ack. The host has 622nS in Full Speed// mode and 400nS in High Speed mode to reply. RX_ACK_TO_VAL_FS// and RX_ACK_TO_VAL_HS are the numbers of UTMI clock cycles// minus 2 for Full and High Speed modes.`define USBF_RX_ACK_TO_VAL_FS	8'd36`define USBF_RX_ACK_TO_VAL_HS	8'd22// After sending a OUT token the host must send a data packet.// The host has 622nS in Full Speed mode and 400nS in High Speed// mode to send the data packet.// TX_DATA_TO_VAL_FS and TX_DATA_TO_VAL_HS are is the numbers of// UTMI clock cycles minus 2.`define USBF_TX_DATA_TO_VAL_FS	8'd36`define USBF_TX_DATA_TO_VAL_HS	8'd22// --------------------------------------------------// USB Line state & Speed Negotiation Time Values// Prescaler Clear value.// The prescaler generates a 0.25uS pulse, from a nominal PHY clock of// 60 Mhz. 250nS/16.667ns=15. The prescaler has to be cleared every 15// cycles. Due to the pipeline, subtract 2 from 15, resulting in 13 cycles.// !!! This is the only place that needs to be changed if a PHY with different// !!! clock output is used.`define	USBF_T1_PS_250_NS	4'd13// uS counter representation of 2.5uS (2.5/0.25=10)`define	USBF_T1_C_2_5_US	8'd10// uS counter clear value// The uS counter counts the time in 0.25uS intervals. It also generates// a count enable to the mS counter, every 62.5 uS.// The clear value is 62.5uS/0.25uS=250 cycles.`define USBF_T1_C_62_5_US	8'd250// mS counter representation of 100uS (100/62.5=1.6 -> 2)`define	USBF_T1_C_100_US	7'd2// mS counter representation of 3.0mS (3.0/0.0625=48)`define USBF_T1_C_3_0_MS	7'd48// mS counter representation of 3.125mS (3.125/0.0625=50)`define USBF_T1_C_3_125_MS	7'd50// mS counter representation of 5mS (5/0.0625=80)`define USBF_T1_C_5_MS	7'd50// Multi purpose Counter Prescaler, generate 2.5 uS period// 2500/16.667ns=150 (minus 2 for pipeline)`define	USBF_T2_C_2_5_US	8'd148// Generate 0.5mS period from the 2.5 uS clock// 500/2.5 = 200`define	USBF_T2_C_0_5_MS	8'd200// Indicate when internal wakeup has completed// me_cnt counts 0.5 mS intervals. E.g.: 5.0mS are (5/0.5) 10 ticks// Must be 0 =< 10 mS`define USBF_T2_C_WAKEUP	10// Indicate when 100uS have passed// me_ps2 counts 2.5uS intervals. 100uS are (100/2.5) 40 ticks`define USBF_T2_C_100_US	40// Indicate when 1.0 mS have passed// me_cnt counts 0.5 mS intervals. 1.0mS are (1/0.5) 2 ticks`define USBF_T2_C_1_0_MS	2// Indicate when 1.2 mS have passed// me_cnt counts 0.5 mS intervals. 1.2mS are (1.2/0.5) 2 ticks`define USBF_T2_C_1_2_MS	2// Indicate when 100 mS have passed// me_cnt counts 0.5 mS intervals. 100mS are (100/0.5) 200 ticks`define USBF_T2_C_100_MS	200

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品高清视频在线观看| 99国产一区二区三精品乱码| 99亚偷拍自图区亚洲| 9191成人精品久久| 亚洲男同性恋视频| 国产一区二区在线影院| 欧美日韩黄色一区二区| 中文字幕一区二区三区四区不卡| 久久国产精品无码网站| 欧美福利一区二区| 一区二区三区日韩| www.亚洲人| 亚洲国产精品精华液ab| 国产一区二区不卡在线| 日韩视频免费观看高清完整版 | 免费高清不卡av| 欧洲一区在线电影| 亚洲欧美日韩国产成人精品影院 | 日韩电影免费在线看| 欧美在线色视频| 亚洲色图欧洲色图| 色综合天天狠狠| 国产精品视频看| 99综合电影在线视频| 国产欧美精品一区二区色综合 | 亚洲免费资源在线播放| 国产成人精品免费一区二区| 精品99一区二区| 美脚の诱脚舐め脚责91| 日韩一级大片在线观看| 蜜桃视频在线观看一区| 日韩三级中文字幕| 九九在线精品视频| 久久综合色8888| 国产高清不卡二三区| 中文字幕乱码亚洲精品一区| eeuss鲁片一区二区三区在线观看| 日本一区二区在线不卡| 91在线播放网址| 亚洲一区二区av电影| 在线观看亚洲专区| 三级精品在线观看| 精品国产99国产精品| 国产成人日日夜夜| 亚洲日韩欧美一区二区在线| 91精品福利视频| 日本在线播放一区二区三区| 欧美成人精品二区三区99精品| 国内精品伊人久久久久av一坑| 国产午夜一区二区三区| 91影院在线免费观看| 五月综合激情婷婷六月色窝| 精品黑人一区二区三区久久| 成人一区二区三区在线观看| 一区二区国产视频| 日韩精品在线一区| 成人污污视频在线观看| 亚洲一区二区三区视频在线| 精品国产露脸精彩对白| 91视频在线观看| 蜜臀精品一区二区三区在线观看 | 色老综合老女人久久久| 青青草成人在线观看| 国产欧美一区二区精品性色| 欧美专区亚洲专区| 国产一区二区主播在线| 亚洲一级电影视频| 国产色产综合色产在线视频 | 丝袜美腿亚洲综合| 亚洲国产精品二十页| 91久久国产最好的精华液| 激情图片小说一区| 亚洲一区中文在线| 久久久久国产精品麻豆| 欧美日韩国产免费一区二区| 国产成人在线网站| 亚洲成人动漫av| 国产精品国产三级国产aⅴ中文| 欧美高清视频在线高清观看mv色露露十八 | 久久99久久久久久久久久久| 综合久久国产九一剧情麻豆| 欧美一级一区二区| 99国产精品国产精品久久| 美女视频黄 久久| 一区二区三区四区视频精品免费 | 亚洲午夜视频在线| 中文字幕成人av| 日韩欧美一级在线播放| 欧美性大战xxxxx久久久| 成人污污视频在线观看| 国产一区二区在线视频| 日本女优在线视频一区二区| 亚洲欧美另类久久久精品2019| 国产丝袜美腿一区二区三区| 欧美成人一区二区| 日韩欧美在线网站| 欧美日韩高清在线| 91成人在线观看喷潮| 99精品一区二区三区| 成人深夜福利app| 国产成人亚洲综合a∨婷婷图片 | 久久久久久电影| 日韩免费一区二区| 在线播放国产精品二区一二区四区 | 欧美一区二区三区免费大片 | 色一情一乱一乱一91av| 不卡高清视频专区| a在线播放不卡| 97久久精品人人做人人爽| a级高清视频欧美日韩| 成人av在线一区二区| 国产福利精品导航| 成人午夜免费视频| 成人av动漫在线| aaa亚洲精品| 色嗨嗨av一区二区三区| 91网站在线观看视频| 色哟哟一区二区三区| 欧美性生交片4| 欧美精品久久天天躁| 日韩无一区二区| 久久久99免费| 中文字幕一区视频| 一级精品视频在线观看宜春院| 亚洲精品国产精品乱码不99| 亚洲综合小说图片| 日本亚洲一区二区| 国产在线国偷精品产拍免费yy| 国产一区在线视频| 99国产精品久| 91精品国产欧美日韩| 精品嫩草影院久久| 欧美国产1区2区| 亚洲视频你懂的| 石原莉奈在线亚洲二区| 国产一区二区三区在线观看免费视频| 国产99久久久久久免费看农村| 99国产精品国产精品久久| 欧美久久一区二区| 欧美大胆人体bbbb| 中文字幕一区在线| 日韩avvvv在线播放| 成人性生交大片| 欧美久久婷婷综合色| 国产日韩欧美激情| 亚洲成年人影院| 高清国产一区二区| 欧美伦理视频网站| 国产欧美精品在线观看| 午夜欧美大尺度福利影院在线看| 久色婷婷小香蕉久久| 91在线看国产| 精品国产免费一区二区三区四区| 国产精品美女一区二区三区| 丝袜亚洲另类欧美| 色综合久久六月婷婷中文字幕| 91麻豆精品91久久久久久清纯 | 99久久er热在这里只有精品66| 7777精品伊人久久久大香线蕉完整版 | 国产一区二区在线影院| 在线国产电影不卡| 国产日产欧产精品推荐色| 亚洲最新视频在线观看| 国产成人亚洲精品青草天美| 7777精品伊人久久久大香线蕉经典版下载 | 亚洲一二三专区| 国产成人综合网| 欧美一区二区三区在线视频| 自拍偷拍国产精品| 国产精品88av| 欧美一二三四区在线| 一区二区三区在线视频观看58| 国产成人综合在线| 精品乱码亚洲一区二区不卡| 亚洲国产视频在线| 色综合久久99| 成人欧美一区二区三区黑人麻豆 | 欧美一区二区在线不卡| 亚洲欧美一区二区三区极速播放| 国产一区999| 精品国产免费久久| 亚洲成人综合在线| 欧美色区777第一页| 亚洲情趣在线观看| 91在线观看美女| 国产精品五月天| 成人毛片在线观看| 中文字幕的久久| 国产成人亚洲综合色影视| 久久综合色一综合色88| 久久av资源站| 精品国产免费人成在线观看| 免费视频最近日韩| 欧美一区二区免费视频| 日韩精品福利网| 日韩一区二区三区四区五区六区| 日本视频一区二区三区| 日韩一区二区电影在线| 美国十次综合导航| 久久精品一级爱片|