增加了相关文档说明
This commit is contained in:
154
docs/绘图/test.drawio
Normal file
154
docs/绘图/test.drawio
Normal file
@@ -0,0 +1,154 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<mxfile host="app.diagrams.net" modified="2024-05-20T10:00:00.000Z" agent="Drawio_Waveform_Generator" version="24.0.0">
|
||||
<diagram id="qspi_fastread_0xeb" name="QSPI_FastRead_0xEB">
|
||||
<mxGraphModel dx="1100" dy="700" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="700" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0"/>
|
||||
<mxCell id="1" parent="0"/>
|
||||
|
||||
<!-- 标题 -->
|
||||
<mxCell id="title" value="Quad I/O Fast Read (0xEB) Timing Diagram" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=16;fontStyle=1" vertex="1" parent="1">
|
||||
<mxGeometry x="100" y="20" width="900" height="30" as="geometry"/>
|
||||
</mxCell>
|
||||
|
||||
<!-- 信号标签 -->
|
||||
<mxCell id="lbl_cs" value="CS" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;fontSize=12;fontStyle=1" vertex="1" parent="1"><mxGeometry x="20" y="95" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="lbl_sclk" value="SCLK" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;fontSize=12;fontStyle=1" vertex="1" parent="1"><mxGeometry x="20" y="195" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="lbl_io0" value="IO0" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;fontSize=12;fontStyle=1" vertex="1" parent="1"><mxGeometry x="20" y="295" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="lbl_io1" value="IO1" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;fontSize=12;fontStyle=1" vertex="1" parent="1"><mxGeometry x="20" y="395" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="lbl_io2" value="IO2" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;fontSize=12;fontStyle=1" vertex="1" parent="1"><mxGeometry x="20" y="495" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="lbl_io3" value="IO3" style="text;html=1;strokeColor=none;fillColor=none;align=right;verticalAlign=middle;fontSize=12;fontStyle=1" vertex="1" parent="1"><mxGeometry x="20" y="595" width="60" height="20" as="geometry"/></mxCell>
|
||||
|
||||
<!-- MSB/LSB 标记 -->
|
||||
<mxCell id="msb" value="MSB" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10;fontStyle=2" vertex="1" parent="1"><mxGeometry x="100" y="260" width="40" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="lsb" value="LSB" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10;fontStyle=2" vertex="1" parent="1"><mxGeometry x="980" y="260" width="40" height="20" as="geometry"/></mxCell>
|
||||
|
||||
<!-- 阶段分界虚线 -->
|
||||
<mxCell id="div_cmd_addr" value="" style="endArrow=none;dashed=1;strokeWidth=1;strokeColor=#888888" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="580" y="80" as="sourcePoint"/><mxPoint x="580" y="610" as="targetPoint"/></mxGeometry></mxCell>
|
||||
<mxCell id="div_addr_dummy" value="" style="endArrow=none;dashed=1;strokeWidth=1;strokeColor=#888888" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="760" y="80" as="sourcePoint"/><mxPoint x="760" y="610" as="targetPoint"/></mxGeometry></mxCell>
|
||||
<mxCell id="div_dummy_data" value="" style="endArrow=none;dashed=1;strokeWidth=1;strokeColor=#888888" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="880" y="80" as="sourcePoint"/><mxPoint x="880" y="610" as="targetPoint"/></mxGeometry></mxCell>
|
||||
|
||||
<!-- 阶段名称 -->
|
||||
<mxCell id="ph_cmd" value="Command" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10;fontStyle=2" vertex="1" parent="1"><mxGeometry x="300" y="60" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="ph_addr" value="Address" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10;fontStyle=2" vertex="1" parent="1"><mxGeometry x="650" y="60" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="ph_dummy" value="Dummy" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10;fontStyle=2" vertex="1" parent="1"><mxGeometry x="800" y="60" width="60" height="20" as="geometry"/></mxCell>
|
||||
<mxCell id="ph_data" value="Data" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10;fontStyle=2" vertex="1" parent="1"><mxGeometry x="920" y="60" width="60" height="20" as="geometry"/></mxCell>
|
||||
|
||||
<!-- 波形 Edge 生成 -->
|
||||
<!-- CS -->
|
||||
<mxCell id="cs" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#E63946;rounded=0;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry relative="0" as="geometry">
|
||||
<mxPoint x="80" y="80" as="sourcePoint"/><mxPoint x="1010" y="80" as="targetPoint"/>
|
||||
<Array as="points">
|
||||
<mxPoint x="90" y="80"/><mxPoint x="90" y="110"/>
|
||||
<mxPoint x="1000" y="110"/><mxPoint x="1000" y="80"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
|
||||
<!-- SCLK -->
|
||||
<mxCell id="sclk" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#1D3557;rounded=0;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry relative="0" as="geometry">
|
||||
<mxPoint x="80" y="210" as="sourcePoint"/><mxPoint x="1050" y="210" as="targetPoint"/>
|
||||
<Array as="points">
|
||||
<mxPoint x="100" y="210"/>
|
||||
<mxPoint x="130" y="210"/><mxPoint x="130" y="180"/><mxPoint x="160" y="180"/><mxPoint x="160" y="210"/>
|
||||
<mxPoint x="190" y="210"/><mxPoint x="190" y="180"/><mxPoint x="220" y="180"/><mxPoint x="220" y="210"/>
|
||||
<mxPoint x="250" y="210"/><mxPoint x="250" y="180"/><mxPoint x="280" y="180"/><mxPoint x="280" y="210"/>
|
||||
<mxPoint x="310" y="210"/><mxPoint x="310" y="180"/><mxPoint x="340" y="180"/><mxPoint x="340" y="210"/>
|
||||
<mxPoint x="370" y="210"/><mxPoint x="370" y="180"/><mxPoint x="400" y="180"/><mxPoint x="400" y="210"/>
|
||||
<mxPoint x="430" y="210"/><mxPoint x="430" y="180"/><mxPoint x="460" y="180"/><mxPoint x="460" y="210"/>
|
||||
<mxPoint x="490" y="210"/><mxPoint x="490" y="180"/><mxPoint x="520" y="180"/><mxPoint x="520" y="210"/>
|
||||
<mxPoint x="550" y="210"/><mxPoint x="550" y="180"/><mxPoint x="580" y="180"/><mxPoint x="580" y="210"/>
|
||||
<mxPoint x="610" y="210"/><mxPoint x="610" y="180"/><mxPoint x="640" y="180"/><mxPoint x="640" y="210"/>
|
||||
<mxPoint x="670" y="210"/><mxPoint x="670" y="180"/><mxPoint x="700" y="180"/><mxPoint x="700" y="210"/>
|
||||
<mxPoint x="730" y="210"/><mxPoint x="730" y="180"/><mxPoint x="760" y="180"/><mxPoint x="760" y="210"/>
|
||||
<mxPoint x="790" y="210"/><mxPoint x="790" y="180"/><mxPoint x="820" y="180"/><mxPoint x="820" y="210"/>
|
||||
<mxPoint x="850" y="210"/><mxPoint x="850" y="180"/><mxPoint x="880" y="180"/><mxPoint x="880" y="210"/>
|
||||
<mxPoint x="910" y="210"/><mxPoint x="910" y="180"/><mxPoint x="940" y="180"/><mxPoint x="940" y="210"/>
|
||||
<mxPoint x="970" y="210"/><mxPoint x="970" y="180"/><mxPoint x="1000" y="180"/><mxPoint x="1000" y="210"/>
|
||||
<mxPoint x="1050" y="210"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
|
||||
<!-- IO0 (Command: 11101011, Addr/Dummy/Data: 0) -->
|
||||
<mxCell id="io0" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#2A9D8F;rounded=0;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry relative="0" as="geometry">
|
||||
<mxPoint x="80" y="280" as="sourcePoint"/><mxPoint x="1050" y="310" as="targetPoint"/>
|
||||
<Array as="points">
|
||||
<mxPoint x="100" y="280"/>
|
||||
<mxPoint x="160" y="280"/><mxPoint x="220" y="280"/><mxPoint x="280" y="280"/>
|
||||
<mxPoint x="280" y="310"/><mxPoint x="340" y="310"/>
|
||||
<mxPoint x="340" y="280"/><mxPoint x="400" y="280"/>
|
||||
<mxPoint x="400" y="310"/><mxPoint x="460" y="310"/>
|
||||
<mxPoint x="460" y="280"/><mxPoint x="520" y="280"/>
|
||||
<mxPoint x="520" y="310"/><mxPoint x="580" y="310"/>
|
||||
<mxPoint x="640" y="310"/><mxPoint x="700" y="310"/><mxPoint x="760" y="310"/>
|
||||
<mxPoint x="820" y="310"/><mxPoint x="880" y="310"/>
|
||||
<mxPoint x="940" y="310"/><mxPoint x="1000" y="310"/>
|
||||
<mxPoint x="1050" y="310"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
|
||||
<!-- IO1 (Idle:0, Addr:101, Dummy:00, Data:11) -->
|
||||
<mxCell id="io1" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#E9C46A;rounded=0;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry relative="0" as="geometry">
|
||||
<mxPoint x="80" y="410" as="sourcePoint"/><mxPoint x="1050" y="380" as="targetPoint"/>
|
||||
<Array as="points">
|
||||
<mxPoint x="100" y="410"/><mxPoint x="580" y="410"/>
|
||||
<mxPoint x="580" y="380"/><mxPoint x="640" y="380"/>
|
||||
<mxPoint x="640" y="410"/><mxPoint x="700" y="410"/>
|
||||
<mxPoint x="700" y="380"/><mxPoint x="760" y="380"/>
|
||||
<mxPoint x="760" y="410"/><mxPoint x="820" y="410"/>
|
||||
<mxPoint x="880" y="410"/><mxPoint x="880" y="380"/>
|
||||
<mxPoint x="940" y="380"/><mxPoint x="1000" y="380"/>
|
||||
<mxPoint x="1050" y="380"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
|
||||
<!-- IO2 (Idle:0, Addr:010, Dummy:00, Data:00) -->
|
||||
<mxCell id="io2" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#F4A261;rounded=0;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry relative="0" as="geometry">
|
||||
<mxPoint x="80" y="510" as="sourcePoint"/><mxPoint x="1050" y="510" as="targetPoint"/>
|
||||
<Array as="points">
|
||||
<mxPoint x="100" y="510"/><mxPoint x="580" y="510"/>
|
||||
<mxPoint x="580" y="510"/><mxPoint x="640" y="510"/>
|
||||
<mxPoint x="640" y="480"/><mxPoint x="700" y="480"/>
|
||||
<mxPoint x="700" y="510"/><mxPoint x="760" y="510"/>
|
||||
<mxPoint x="820" y="510"/><mxPoint x="880" y="510"/>
|
||||
<mxPoint x="940" y="510"/><mxPoint x="1000" y="510"/>
|
||||
<mxPoint x="1050" y="510"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
|
||||
<!-- IO3 (Idle:0, Addr:110, Dummy:00, Data:10) -->
|
||||
<mxCell id="io3" value="" style="edgeStyle=none;html=1;strokeWidth=2;strokeColor=#264653;rounded=0;endArrow=none;" edge="1" parent="1">
|
||||
<mxGeometry relative="0" as="geometry">
|
||||
<mxPoint x="80" y="610" as="sourcePoint"/><mxPoint x="1050" y="610" as="targetPoint"/>
|
||||
<Array as="points">
|
||||
<mxPoint x="100" y="610"/><mxPoint x="580" y="610"/>
|
||||
<mxPoint x="580" y="580"/><mxPoint x="640" y="580"/>
|
||||
<mxPoint x="640" y="580"/><mxPoint x="700" y="580"/>
|
||||
<mxPoint x="700" y="610"/><mxPoint x="760" y="610"/>
|
||||
<mxPoint x="820" y="610"/><mxPoint x="880" y="610"/>
|
||||
<mxPoint x="880" y="580"/><mxPoint x="940" y="580"/>
|
||||
<mxPoint x="940" y="610"/><mxPoint x="1000" y="610"/>
|
||||
<mxPoint x="1050" y="610"/>
|
||||
</Array>
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
|
||||
<!-- 数据位标签 (示例) -->
|
||||
<mxCell id="bit_cmd7" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10" vertex="1" parent="1"><mxGeometry x="140" y="265" width="10" height="10" as="geometry"/></mxCell>
|
||||
<mxCell id="bit_cmd0" value="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10" vertex="1" parent="1"><mxGeometry x="560" y="265" width="10" height="10" as="geometry"/></mxCell>
|
||||
<mxCell id="bit_data0" value="D0" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10" vertex="1" parent="1"><mxGeometry x="890" y="265" width="20" height="10" as="geometry"/></mxCell>
|
||||
<mxCell id="bit_data7" value="D7" style="text;html=1;strokeColor=none;fillColor=none;align=center;fontSize=10" vertex="1" parent="1"><mxGeometry x="980" y="265" width="20" height="10" as="geometry"/></mxCell>
|
||||
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Reference in New Issue
Block a user