URL
https://opencores.org/ocsvn/usbhostslave/usbhostslave/trunk
Subversion Repositories usbhostslave
[/] [usbhostslave/] [trunk/] [RTL/] [hostController/] [softransmit.asf] - Rev 40
Compare with Previous | Blame | View Log
VERSION=1.15
HEADER
FILE="softransmit.asf"
FID=405c2645
LANGUAGE=VERILOG
ENTITY="SOFTransmit"
FRAMES=ON
FREEOID=95
"LIBRARIES=//////////////////////////////////////////////////////////////////////\n//// ////\n//// softransmit\n//// ////\n//// This file is part of the usbhostslave opencores effort.\n//// http://www.opencores.org/cores/usbhostslave/ ////\n//// ////\n//// Module Description: ////\n//// \n//// ////\n//// To Do: ////\n//// \n//// ////\n//// Author(s): ////\n//// - Steve Fielding, sfielding@base2designs.com ////\n//// ////\n//////////////////////////////////////////////////////
////////////////\n//// ////\n//// Copyright (C) 2004 Steve Fielding and OPENCORES.ORG ////\n//// ////\n//// This source file may be used and distributed without ////\n//// restriction provided that this copyright statement is not ////\n//// removed from the file and that any derivative work contains ////\n//// the original copyright notice and the associated disclaimer. ////\n//// ////\n//// This source file is free software; you can redistribute it ////\n//// and/or modify it under the terms of the GNU Lesser General ////\n//// Public License as published by the Free Software Foundation; ////\n//// either version 2.1 of the License, or (at your option) any ////\n//// later version. ////\n//// ///
/\n//// This source is distributed in the hope that it will be ////\n//// useful, but WITHOUT ANY WARRANTY; without even the implied ////\n//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR ////\n//// PURPOSE. See the GNU Lesser General Public License for more ////\n//// details. ////\n//// ////\n//// You should have received a copy of the GNU Lesser General ////\n//// Public License along with this source; if not, download it ////\n//// from http://www.opencores.org/lgpl.shtml ////\n//// ////\n//////////////////////////////////////////////////////////////////////\n//\n`include \"timescale.v\"\n`include \"usbHostControl_h.v\"\n\n"
END
BUNDLES
B T "Declarations" 0,0,255 0 0 1 255,255,255 0 3333 0 0000 1 "Arial" 0
B T "Conditions" 0,0,0 0 0 0 255,255,255 0 3333 0 0110 1 "Arial" 0
B F "States" 0,0,0 0 0 1 0,255,0 1 3527 1480 0000 0 "Arial" 0
B T "Actions" 0,0,0 0 0 1 255,255,255 0 3333 0 0000 1 "Arial" 0
B T "Labels" 0,0,0 0 0 0 255,255,255 0 3333 0 0000 1 "Arial" 0
B L "Transitions" 0,0,0 0 0 1 0,0,0 1 3527 1480 0000 0 "Arial" 0
B F "Ports" 0,0,0 0 0 1 0,255,255 1 3527 1480 0000 0 "Arial" 0
B L "Errors" 255,0,0 0 3 1 255,255,255 1 3527 1480 0000 0 "Arial" 0
B T "State Labels" 0,0,0 0 0 0 255,255,255 0 3333 0 0000 1 "Arial" 4
B F "Current State" 255,255,0 0 0 1 255,255,0 1 3527 1480 0000 0 "Arial" 0
B T "Comments" 157,157,157 0 0 1 255,255,255 0 3333 0 0000 0 "Arial" 0
B L "Info" 0,255,0 0 3 1 255,255,255 1 3527 1480 0000 0 "Arial" 0
B F "Junction" 0,0,0 0 0 1 255,0,0 1 3527 1480 0000 0 "Arial" 0
B F "Initial State Indicator" 0,0,0 0 0 1 240,140,40 1 3527 1480 0000 0 "Arial" 0
END
INSTHEADER 1
PAGE 25400,0 215900,279400
UPPERLEFT 0,0
GRID=OFF
GRIDSIZE 5000,5000 10000,10000
END
OBJECTS
G 1 0 0 TEXT 0,0,0 0 0 0 255,255,255 0 3527 1480 0000 0 "Arial" 0 | 110650,251000 1 0 0 "Module: SOFTransmit"
F 6 0 671089152 54 0 RECT 0,0,0 0 0 1 255,255,255 0 | 28222,2382 211664,199561
L 7 6 0 TEXT "Labels" | 56120,190808 1 0 0 "SOFTx"
L 8 9 0 TEXT "State Labels" | 118204,174817 1 0 0 "START_STX\n/0/"
S 9 6 0 ELLIPSE "States" | 118204,174817 6500 6500
L 10 11 0 TEXT "State Labels" | 120061,145105 1 0 0 "WAIT_SOF_NEAR\n/1/"
S 11 6 4096 ELLIPSE "States" | 120061,145105 6500 6500
L 12 13 0 TEXT "State Labels" | 121510,105827 1 0 0 "WAIT_SP_GNT\n/2/"
S 13 6 8192 ELLIPSE "States" | 121510,105827 6500 6500
L 14 15 0 TEXT "State Labels" | 122537,67111 1 0 0 "WAIT_SOF_NOW\n/3/"
S 15 6 12288 ELLIPSE "States" | 122537,67111 6500 6500
I 31 0 130 Builtin InPort | 86106,205240 "" ""
L 30 31 0 TEXT "Labels" | 92106,205240 1 0 0 "SOFTimer[15:0]"
I 16 6 0 Builtin Reset | 76112,190530
W 17 6 0 16 9 BEZIER "Transitions" | 76112,190530 85242,187531 103162,180515 112292,177516
W 18 6 0 9 11 BEZIER "Transitions" | 118406,168343 118715,164010 119133,156247 119287,154003\
119442,151760 119430,151725 119430,151571
W 19 6 0 11 13 BEZIER "Transitions" | 120145,138606 120299,132262 120897,118647 121051,112303
W 20 6 0 13 15 BEZIER "Transitions" | 121100,99349 121564,91767 121564,81165 122028,73583
C 22 19 0 TEXT "Conditions" | 121150,136806 1 0 0 "SOFTimer >= `SOF_TX_TIME - `SOF_TX_MARGIN ||\n(SOFSyncEn == 1'b1 &&\nSOFEnable == 1'b1)"
C 23 20 0 TEXT "Conditions" | 123101,97583 1 0 0 "sendPacketArbiterGnt == 1'b1 && sendPacketRdy == 1'b1"
L 25 26 0 TEXT "State Labels" | 123851,14954 1 0 0 "SOF_FIN\n/4/"
S 26 6 16384 ELLIPSE "States" | 123851,14954 6500 6500
W 27 6 8193 15 26 BEZIER "Transitions" | 127758,63214 198581,44766 138746,22583 123372,21429
C 28 27 0 TEXT "Conditions" | 141873,64536 1 0 0 "SOFTimer >= `SOF_TX_TIME"
A 29 27 16 TEXT "Actions" | 136781,44343 1 0 0 "sendPacketWEn <= 1'b1;\nSOFTimerClr <= 1'b1;\nSOFSent <= 1'b1;"
I 47 0 2 Builtin OutPort | 83987,210042 "" ""
L 46 47 0 TEXT "Labels" | 89987,210042 1 0 0 "SOFTimerClr"
A 45 9 2 TEXT "Actions" | 136108,187846 1 0 0 "SOFSent <= 1'b0;\nSOFTimerClr <= 1'b0;\nsendPacketArbiterReq <= 1'b0;\nsendPacketWEn <= 1'b0;\ni <= 8'h00;"
K 44 41 0 TEXT "Comments" | 107898,214935 1 0 0 "single cycle pulse"
I 41 0 2 Builtin OutPort | 83735,214646 "" ""
L 40 41 0 TEXT "Labels" | 89735,214646 1 0 0 "SOFSent"
L 35 34 0 TEXT "Labels" | 91672,219426 1 0 0 "SOFSyncEn"
I 34 0 2 Builtin InPort | 85672,219426 "" ""
L 33 32 0 TEXT "Labels" | 35866,205279 1 0 0 "sendPacketWEn"
I 32 0 2 Builtin OutPort | 29866,205279 "" ""
L 63 62 0 TEXT "Labels" | 35880,214737 1 0 0 "sendPacketArbiterReq"
I 62 0 2 Builtin OutPort | 29880,214737 "" ""
L 61 60 0 TEXT "Labels" | 91642,229951 1 0 0 "SOFEnable"
I 60 0 2 Builtin InPort | 85642,229951 "" ""
L 59 58 0 TEXT "Labels" | 38035,210006 1 0 0 "sendPacketRdy"
I 58 0 2 Builtin InPort | 32035,210006 "" ""
L 57 56 0 TEXT "Labels" | 206475,245251 1 0 0 "rst"
I 56 0 130 Builtin InPort | 200475,245251 "" ""
C 55 17 0 TEXT "Conditions" | 98239,182492 1 0 0 "rst"
I 54 0 1 Builtin InPort | 200335,250729 "" ""
L 53 54 0 TEXT "Labels" | 206335,250729 1 0 0 "clk"
A 50 26 4 TEXT "Actions" | 141965,16918 1 0 0 "sendPacketWEn <= 1'b0;\nSOFTimerClr <= 1'b0;\nSOFSent <= 1'b0;"
K 49 47 0 TEXT "Comments" | 111272,209575 1 0 0 "Single cycle pulse"
S 79 6 24576 ELLIPSE "States" | 54655,123733 6500 6500
L 78 79 0 TEXT "State Labels" | 54655,123733 1 0 0 "DLY_SOF_CHK2\n/6/"
A 72 70 16 TEXT "Actions" | 88430,42600 1 0 0 "SOFTimerClr <= 1'b1;"
C 71 70 0 TEXT "Conditions" | 81824,61424 1 0 0 "SOFEnable == 1'b0"
W 70 6 8194 15 26 BEZIER "Transitions" | 117343,63205 114476,60245 108317,54810 106883,51064\
105450,47318 105450,38252 107207,34228 108965,30205\
115846,23167 119361,19652
A 68 19 16 TEXT "Actions" | 101850,122190 1 0 0 "sendPacketArbiterReq <= 1'b1;"
L 65 64 0 TEXT "Labels" | 38202,219273 1 0 0 "sendPacketArbiterGnt"
I 64 0 2 Builtin InPort | 32202,219273 "" ""
K 69 60 0 TEXT "Comments" | 78222,224799 1 0 0 "After host software asserts SOFEnable, must wait TBD time before asserting SOFSyncEn"
L 73 74 0 TEXT "State Labels" | 63408,80448 1 0 0 "DLY_SOF_CHK1\n/5/"
S 74 6 20480 ELLIPSE "States" | 63408,80448 6500 6500
W 75 6 0 26 74 BEZIER "Transitions" | 117387,14280 106719,14616 86172,13920 78234,17868\
70296,21816 59880,36936 57948,44622 56016,52308\
59778,66554 61122,74366
A 76 75 16 TEXT "Actions" | 55404,31002 1 0 0 "i <= 8'h00;"
C 94 92 0 TEXT "Conditions" | 68357,136883 1 0 0 "i==8'hff"
A 93 79 4 TEXT "Actions" | 72777,123623 1 0 0 "i <= i + 1'b1;"
W 92 6 0 79 11 BEZIER "Transitions" | 60486,126602 74574,130193 99716,139754 113804,143345
A 91 82 16 TEXT "Actions" | 49949,109037 1 0 0 "sendPacketArbiterReq <= 1'b0;\ni <= 8'h00;"
C 90 82 0 TEXT "Conditions" | 61793,96219 1 0 0 "i==8'hff"
A 88 74 4 TEXT "Actions" | 81838,80970 1 0 0 "i <= i + 1'b1;"
I 87 0 130 Builtin Signal | 47362,241979 "" ""
L 86 87 0 TEXT "Labels" | 50362,241979 1 0 0 "i[7:0]"
C 85 75 0 TEXT "Conditions" | 66368,14007 1 0 0 "sendPacketRdy == 1'b1"
W 82 6 0 74 79 BEZIER "Transitions" | 61272,86583 60002,89345 56169,113512 55585,117302
END