Commit 7921a99c authored by Javier Díaz's avatar Javier Díaz

adding documentation files

parent c47c64b4
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="210mm"
height="297mm"
id="svg2"
version="1.1"
inkscape:version="0.48.3.1 r9886"
sodipodi:docname="memorymap2.png"
inkscape:export-filename="/home/seven/Escritorio/wr_nic recursos/dibujo.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<marker
inkscape:stockid="TriangleOutL"
orient="auto"
refY="0.0"
refX="0.0"
id="TriangleOutL"
style="overflow:visible">
<path
id="path4247"
d="M 5.77,0.0 L -2.88,5.0 L -2.88,-5.0 L 5.77,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
transform="scale(0.8)" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lend"
style="overflow:visible;">
<path
id="path4107"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none;"
transform="scale(0.8) rotate(180) translate(12.5,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Mstart"
style="overflow:visible">
<path
id="path4128"
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(0.6) translate(0,0)" />
</marker>
<marker
inkscape:stockid="Arrow2Lstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow2Lstart"
style="overflow:visible">
<path
id="path4122"
style="font-size:12.0;fill-rule:evenodd;stroke-width:0.62500000;stroke-linejoin:round"
d="M 8.7185878,4.0337352 L -2.2072895,0.016013256 L 8.7185884,-4.0017078 C 6.9730900,-1.6296469 6.9831476,1.6157441 8.7185878,4.0337352 z "
transform="scale(1.1) translate(1,0)" />
</marker>
<marker
inkscape:stockid="Arrow1Lstart"
orient="auto"
refY="0.0"
refX="0.0"
id="Arrow1Lstart"
style="overflow:visible">
<path
id="path4104"
d="M 0.0,0.0 L 5.0,-5.0 L -12.5,0.0 L 5.0,5.0 L 0.0,0.0 z "
style="fill-rule:evenodd;stroke:#000000;stroke-width:1.0pt;marker-start:none"
transform="scale(0.8) translate(12.5,0)" />
</marker>
<linearGradient
id="linearGradient3755"
osb:paint="solid">
<stop
style="stop-color:#000000;stop-opacity:1;"
offset="0"
id="stop3757" />
</linearGradient>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-3"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-0"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-7"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-9"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-9"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-06"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-6"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-7"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-0"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-96"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-1"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-8"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-02"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-88"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="Arrow2Mstart"
orient="auto"
refY="0"
refX="0"
id="Arrow2Mstart-72"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4128-09"
style="font-size:12px;fill-rule:evenodd;stroke-width:0.625;stroke-linejoin:round"
d="M 8.7185878,4.0337352 -2.2072895,0.01601326 8.7185884,-4.0017078 c -1.7454984,2.3720609 -1.7354408,5.6174519 -6e-7,8.035443 z"
transform="scale(0.6,0.6)" />
</marker>
<marker
inkscape:stockid="TriangleOutL"
orient="auto"
refY="0"
refX="0"
id="TriangleOutL-0"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4247-3"
d="m 5.77,0 -8.65,5 0,-10 8.65,5 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
transform="scale(0.8,0.8)" />
</marker>
<marker
inkscape:stockid="TriangleOutL"
orient="auto"
refY="0"
refX="0"
id="marker4684"
style="overflow:visible">
<path
inkscape:connector-curvature="0"
id="path4686"
d="m 5.77,0 -8.65,5 0,-10 8.65,5 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt;marker-start:none"
transform="scale(0.8,0.8)" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.98994949"
inkscape:cx="404.11952"
inkscape:cy="660.16591"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1215"
inkscape:window-height="1000"
inkscape:window-x="65"
inkscape:window-y="24"
inkscape:window-maximized="1" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Capa 1"
inkscape:groupmode="layer"
id="layer1">
<flowRoot
xml:space="preserve"
id="flowRoot3296"
style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:Sans;font-style:normal;font-weight:normal;font-size:40px;line-height:125%;letter-spacing:0px;word-spacing:0px"><flowRegion
id="flowRegion3298"><rect
id="rect3300"
width="285.87317"
height="109.09647"
x="589.92908"
y="728.10321" /></flowRegion><flowPara
id="flowPara3302" /></flowRoot> <text
xml:space="preserve"
style="font-size:17.91486931px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="624.22211"
y="540.85376"
id="text3795-4-4-9"
sodipodi:linespacing="125%"
transform="scale(1.0552099,0.94767875)"><tspan
sodipodi:role="line"
id="tspan3797-9-7-5"
x="624.22211"
y="540.85376" /></text>
<rect
style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect4668"
width="629.32501"
height="336.3808"
x="64.649765"
y="370.50922" />
<rect
style="opacity:0.98000004;fill:#f2ffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.26779008;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect2985-2"
width="150.8461"
height="230.83405"
x="175.79742"
y="378.19873" />
<path
style="fill:none;stroke:#000000;stroke-width:1.44912839;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 156.17253,426.02146 171.94986,0"
id="path3761-9"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1.44291496;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 156.41151,470.49659 170.47849,0"
id="path3761-0-5"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1.44498968;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 155.42795,516.88461 170.96908,0"
id="path3761-8-5"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1.45738244;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 152.97578,562.3162 173.91422,0"
id="path3761-6-7"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:23.2452774px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="221.84834"
y="401.73254"
id="text3795-6"
sodipodi:linespacing="125%"
transform="scale(0.9753691,1.0252529)"><tspan
sodipodi:role="line"
id="tspan3797-1"
x="221.84834"
y="401.73254">WRPC</tspan></text>
<text
xml:space="preserve"
style="font-size:22.48453712px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="230.95676"
y="454.49921"
id="text3799-4"
sodipodi:linespacing="125%"
transform="scale(0.99318969,1.006857)"><tspan
sodipodi:role="line"
id="tspan3801-1"
x="230.95676"
y="454.49921">NIC</tspan></text>
<text
xml:space="preserve"
style="font-size:20.14841461px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="201.42294"
y="468.35999"
id="text3803-0"
sodipodi:linespacing="125%"
transform="scale(0.93686583,1.0673887)"><tspan
sodipodi:role="line"
id="tspan3805-8"
x="201.42294"
y="468.35999">VIC (IRQ gen)</tspan></text>
<text
xml:space="preserve"
style="font-size:22.59154129px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="214.74455"
y="553.95721"
id="text3807-1"
sodipodi:linespacing="125%"
transform="scale(1.0105936,0.98951745)"><tspan
sodipodi:role="line"
id="tspan3809-7"
x="214.74455"
y="553.95721">TxTSU</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="63.240292"
y="423.70773"
id="text3815-5"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-06"
x="63.240292"
y="423.70773">0x00000000</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="63.242062"
y="475.75534"
id="text3815-1-7"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-2-5"
x="63.242062"
y="475.75534">0x00040000</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="63.242062"
y="524.49261"
id="text3815-3-8"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-0-8"
x="63.242062"
y="524.49261">0x00060000</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="63.242062"
y="574.26685"
id="text3815-2-4"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-3-8"
x="63.242062"
y="574.26685">0x00061000</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="63.242062"
y="624.55951"
id="text3815-6-4"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-03-3"
x="63.242062"
y="624.55951">0x00062000</tspan></text>
<path
style="fill:none;stroke:#000000;stroke-width:1.44912839;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 153.72256,377.78029 171.94988,0"
id="path3761-4-8"
inkscape:connector-curvature="0" />
<rect
style="opacity:0.98000004;fill:#fff6df;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:2.17334437;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
id="rect2985-8-9"
width="150.8461"
height="212.00751"
x="430.60855"
y="468.05643" />
<path
style="fill:none;stroke:#000000;stroke-width:0.85511899;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-start:none;marker-end:url(#TriangleOutL)"
d="m 327.12765,562.82431 98.89296,-91.71313"
id="path3028-1"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.75301689px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#TriangleOutL)"
d="m 327.36435,609.70228 98.25209,67.69404"
id="path3030-3"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.95033944px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 430.16852,526.21118 173.38014,0.43052"
id="path3032-61"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.95545727px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 428.76365,578.52221 175.25255,0.43054"
id="path3032-0-8"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.94819194px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 430.16851,627.17364 172.59747,0.43053"
id="path3032-6-8"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.88901538px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 451.75379,467.42854 151.72614,0.43053"
id="path3032-2-2"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="540.54492"
y="521.93579"
id="text3815-61-35"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-4-9"
x="540.54492"
y="521.93579">0x00000000</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="538.8172"
y="584.4848"
id="text3815-61-9-0"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-4-7-9"
x="538.8172"
y="584.4848">0x00000100</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="538.38525"
y="640.9657"
id="text3815-61-3-5"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-4-74-3"
x="538.38525"
y="640.9657">0x00000200</tspan></text>
<text
xml:space="preserve"
style="font-size:15.32482052px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="538.38525"
y="693.71222"
id="text3815-61-4-1"
sodipodi:linespacing="125%"
transform="scale(1.0841736,0.92236152)"><tspan
sodipodi:role="line"
id="tspan3817-4-4-4"
x="538.38525"
y="693.71222">0x00000300</tspan></text>
<text
xml:space="preserve"
style="font-size:21.20141792px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="427.31854"
y="539.59778"
id="text3795-4-49"
sodipodi:linespacing="125%"
transform="scale(1.0693966,0.93510677)"><tspan
sodipodi:role="line"
id="tspan3797-9-1"
x="427.31854"
y="539.59778">ONEWIRE</tspan></text>
<text
xml:space="preserve"
style="font-size:21.20141792px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="451.96222"
y="595.76923"
id="text3795-4-4-5"
sodipodi:linespacing="125%"
transform="scale(1.0693966,0.93510677)"><tspan
sodipodi:role="line"
id="tspan3797-9-7-7"
x="451.96222"
y="595.76923">I2C</tspan></text>
<text
xml:space="preserve"
style="font-size:21.20141792px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="446.7074"
y="652.40112"
id="text3795-4-9-1"
sodipodi:linespacing="125%"
transform="scale(1.0693966,0.93510677)"><tspan
sodipodi:role="line"
id="tspan3797-9-72-0"
x="446.7074"
y="652.40112">GPIO</tspan></text>
<text
xml:space="preserve"
style="font-size:15.26861382px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="394.14969"
y="734.51617"
id="text3795-4-6-7"
sodipodi:linespacing="125%"
transform="scale(1.1433129,0.8746512)"><tspan
sodipodi:role="line"
id="tspan3797-9-0-9"
x="394.14969"
y="734.51617">PULSE GEN </tspan><tspan
sodipodi:role="line"
x="394.14969"
y="753.60193"
id="tspan3204-5">&amp; STAMPER</tspan><tspan
sodipodi:role="line"
x="394.14969"
y="772.68768"
id="tspan7422-5">REGS &amp; FIFOs </tspan></text>
<rect
style="fill:#ffffda;fill-opacity:1;fill-rule:nonzero;stroke:none"
id="rect3181-6"
width="148.58609"
height="44.843193"
x="176.92862"
y="563.04266" />
<text
xml:space="preserve"
style="font-size:23.0274868px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="215.23459"
y="627.76746"
id="text3811-3-8"
sodipodi:linespacing="125%"
transform="scale(1.0600781,0.94332672)"><tspan
sodipodi:role="line"
id="tspan3813-5-5"
x="215.23459"
y="627.76746">DIO</tspan></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="448.50778"
y="442.23004"
id="text3073"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3075"
x="448.50778"
y="442.23004"
style="font-size:28px">Relative offsets</tspan></text>
</g>
</svg>
% readme
% Javier Díaz, UGR-7S
% 21 Jun. 2012
Required software
=========================
First install
sudo apt-get install texlive-xetex
sudo apt-get install texlive-xetex
Document compilation
=====================
use make command or
pandoc --toc -o wr-nic.pdf wr-nic.mkd
Problems?
------------
Check latex tools are installed and use command texhash
% White-Rabbit NIC Gateware
% Javier Díaz, UGR-7S
% 21 Jun. 2012
Introduction
=========================
The White-Rabbit Network Interface Card (WR-NIC) project is concerned with the development of gateware and software to make the combination of a SPEC and a DIO mezzanine behave as a Network Interface Card (NIC) under Linux. Basic demo uses two SPEC boards, one configured as grandmaster and one as slave. Different simple use cases will be provided as basic demo.
This document focus on the description of the project gateware. This manual is part of the associated hardware project, hosted at http://www.ohwr.org/projects/wr-nic/repository, whose git repository hosts the latest version.
![Basic wr-nic project elements](./img/wrnic_components.png)
Note that the WR-NIC project inherits many code and working methodology of many other project. Specially important to highly the following ones:
1. White-Rabbit core collection: http://www.ohwr.org/projects/wr-cores (wishbonized branch). Look at the WR PTP Core. It is a black-box standalone WR-PTP protocol core, incorporating a CPU, WR MAC and PLLs. It is also convenient to look at TxTSU and NIC project. For further details, search for its related wbgen2 files (extension .wb).
2. Software for White-Rabbit PTP core: http://www.ohwr.org/projects/wrpc-sw (a subproject of the previous one)
3. Gennum GN4124 core: http://www.ohwr.org/projects/gn4124-core
4. The platform independent core collection: http://www.ohwr.org/projects/general-cores. An important one is the Wishbone crossbar with is download at the DOWNLOAD_PATH/wr-cores/ip_cores/general-cores/modules/wishbone.
Gateware elements
=====================
The main block modules of the architecture are described on next figure.
![Main HDL blocks of the wr-nic gateware](./img/wr_nic_blocks2.png)
Here`s a quick description of each block:
* The `DIO core` allows configuration of each one of the 5 channels of the DIO mezzanine as input or output. For inputs, it provides an accurate time stamp (using time information from the WRPC, not shown in the diagram) and optionally a host (PCIe) interrupt via the IRQ Gen block. For outputs, it allows the user to schedule the generation of a pulse at a given future time, or to generate it immediately.
* The `IRQ Gen` block receives one-tick-long pulses from other blocks and generates interrupt requests to the GN4124 core. It also includes interrupt source and mask registers.
* The `WB intercon` block ensures seamless interconnection of Wishbone masters and slaves using a crossbar topology.
The `GN4124 core` is a bridge between the GN4124 PCIe interface chip and the internal Wishbone bus, allowing communication with the host and interrupts --> pipelined version!
* The `WRPC (White Rabbit PTP Core)` communicates with the outside world through the SFP socket in the SPEC, typically using fiber optics. It deals with the WR PTP using an internal LM32 CPU running a portable PTP stack. It forwards/receives non-PTP frames to/from the NIC block, using two pipelined Wishbone interfaces (master and slave for forwarding and receiving respectively). It also provides time information to other cores (not represented in the diagram), and time-tags for transmitted and received frames that can be read through Wishbone for diagnostics purposes. Future versions will include the PPSi library instead of the current PTP stack.
* The `NIC core` ensures communication between the host and the WRPC. More precisely, it interrupts the host and provides a descriptor that the host can use to fetch incoming frames. For outgoing frames, it receives a descriptor from the host, fetches the frame using PCIe DMA via the GN4124 core and sends it to the WRPC using a pipelined Wishbone interface.
* The `TxTSU module` collect tiemstamps with associated frame identifiers and puts them in a shared FIFO (port identifier is also included although not required for the SPEC card because only one Ethernet port is available). A IRQ is triggered when FIFO is not empty so drivers could read TX timestamps and frame/port identifiers.
DIO core
----------
The `DIO Core` block is the HDL block that access to the fmc-dio-5chls mezzanine card. Their main elements are shown on the next figure.
![Main DIO Core block elements](./img/diocore2.png)
The different submodules description are:
* `GPIO:` It allows to enable/disable the output drivers and the termination resistors.
* `I2C:` It allows to set the threshold of the ADCMP604 fast LVDS comparator and to access to write/read data to the EEPROM memory (24AA64).
* `Onewire:` It is used for temperature acquisition
* Modules to generate or stamping pulses:
1. `Pulse generator:` It produces a 1-tick-long pulse in its output when the time passed to it through a vector equals a pre-programmed time.
2. `Pulse stamper:` It associates a time-tag with an asynchronous input pulse
* Additional Wishbone slave core generated elements are:
1. Trigger registers (time counters for pulse generation)
2. FIFOs to store the timestamps of input signals
3. Interrupt control registers that allow to configure the interrupts generated when there are data in the FIFOs.
4. Monostable register, which generates a single clock cycle-long
Configuration & Control
==========================
Accessing to the different system elements is as simple as doing a read/write memory access. The memory map of the different elements of the board are:
![Memory map](./img/memorymap.png)
Any address within this memory space may be addressed by the PC to configure corresponding module (WRPTP, NIC, TxTSU, etc...). Many of them are already well known so we will skip their descriptions. In next paragraphs we supposed that the utilization of these elements are already known and we will just focus on the DIO core which is the new block added to the OHWR.
DIO core utilization
--------------------
The DIO core, according to its architecture already shown, it allows to read input data of each of the 5 channel with precise time-tag information provided by the WRPTP core. It is also possible to program output at a precise time or we could just generate an monostable output inmediately. In addition, it is also possible to configure different boards elements as terminator resistors or reference voltage Level using the DAC. All this elements could be controlled independently for each of the 5 channels. More information about the different board configuration elements is available at: http://www.ohwr.org/projects/fmc-dio-5chttla
In order to use input/output channels as previously described, the following actions are required:
* Standard GPIO output generation is selected by defautl. In order to use monostable output (time-programmed or immediate), each channel should be properly configured written to the `di_out_mode register`. A value of 1 indicates that channel will be used for monostable output, otherwise (0 by default), channel will use the values assigned by the GPIO logic block.
* Programmed pulse generation: Generate a programmed input at any time at channel X (X between 0 and 4 identifies the required card channel). For this purpose you need to perform the following actions:
* Set the required time. This means to provide the 40 bits for the time value and the number of cycles (28 bits). This requires to write the registers `dio_trigX_seconds, dio_trighX_seconds` (high part of the time value) and `dio_cyc0_cyc`.
* Checking if the the board is ready for accepting new triggers. A `1` will be found at each bit of `dio_trig_rdy` register only when required channel is ready to accepts new request.
* Arming the trigger. You need to write a `1` a the corresponding bit of the `dio_latch_time_chX` bit field.
After these operations, a monostable output will be presented on the desired channel at the requested time.
* Immediate pulse generation: A immediate pulse is generated a the output of each of the card channels just by writing a corresponding `1` at the bit field dio_puls_inmed when output mode is set to monostable outputs. No erase is required.
* Input time-tagging: for each of the 5 inputs, if a `1` is detected at this channel, a precise time information is stored on logic FIFOs including the 40 bits time counters and 28 bits more for the cycles. For accessing this information you need to read `dio_tsfX_tag_tai` (32 low bits), `dio_tsfX_tag_taih` (high bits), `dio_tsfX_tag_cycles`. Each time the time tag of any channel is stored, the `fifo not empty` flag generates an interruption to the PC. In the next section we will describe this mechanisms.
A detailed information about the memory maps and related registers names are available by generating html documentation of http://www.ohwr.org/projects/wr-nic/repository/revisions/master/changes/modules/wrsw_nic/wr_nic.wb file. Download the file and generate the HTML documentation using wbgen2 tool (for instance wbgen2 -D diocore.htm wr_nic.wb).
Interrupt handling
------------------
The VIC module block is in charge of handling the different interrupts and provide proper registers to inform of the source of each interruption. The main interrupt signal is communicated to the PC using the gn4124 core and the irq_req_p1_i signal and proper GPIO pins needs to be assigned at the hardware level.
The base address, as shown on the memory map figure is 0x00060000. It handles the following interrupts sources:
* TxTSU interrupts --> at source 0.
* WRSW-NIC interrupts --> at source 1.
* DIO-core interrupts --> at source 2.
Low sources have the highest priority. In order to check the register layout, get the HTML help from the `wb_vic.wb` file. Information about VIC control and configuration registers are provided there. Because VIC module is done to cooperate with wbgen2 peripherals Embedded Interrupts controllers (EICs), the related information should also be checked. Basically, VIC inform about the main interrupt source and then we need to check the wishbone peripheral interrupt register to complete the interrupt information.
Please note that each peripheral generating interrupts has own interrupts registers so a proper configuration of them is required to set-up the interrupt operation.
For instance for the DIO core, please check the status of interrupt registers by looking at `wr_nic.wb ` as previously described.
Application & examples
======================
[JAVIER: THIS IS MUCH MORE FOR APPROPRIATED IN A GLOBAL DOCUMENT OR ONE ABOUT DEMO EXAMPLES / USE CASES. PERHAPS IT SHOULD BE DELETED FOR FUTURE VERSIONS]
This project could be used as starting demo with White-Rabbit technology. Between others, example applications are:
* Simple transmission of PPS from the master to the slave, with nothing hooked to the external inputs of the boards.
* The master is free-running. The master host reads system time and schedules a pulse output on the next second. Then it gets an interrupt and from then on it schedules a pulse on each second.
* The slave host does the same. Looking at the outputs on a scope we should see them perfectly aligned.
* Transmitting an external frequency in the 100 Hz range.
* The user supplies a ~100Hz square wave on one of the inputs of the master card. The master host reads the time value of the rising edge of the external pulse upon IRQ. Then it adds a constant time (something like 1 ms) and sends a frame with that value to the slave.
* The slave schedules a pulse to be produced at that time. On the scope we should see a constant time offset between the two pulses.
* Network latency measurements. This is interesting if we connect a switch between the SPEC cards. By using th timestamps on Ethernet frames we could get the measurement of the network latency, verify it it is constant or how traffic affect this parameter.
* Many other options are possible. For instance, the measurement of the DIO card latency (we know when we generate a pulse and we could measure when it is received). Please fell free to propose new experiments!
Troubleshooting
===============
Properly setting of interrupts registers or wrong memory maps are the typical errors at this stage (in addition to HDL bugs!).
Further information will be provided.
T.B.D.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment