Skip to content

Instantly share code, notes, and snippets.

@diningyo
Created February 24, 2019 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diningyo/5e5be168fc612de3c8a49eb009d91dea to your computer and use it in GitHub Desktop.
Save diningyo/5e5be168fc612de3c8a49eb009d91dea to your computer and use it in GitHub Desktop.
Sodor 1st stage のトップブロックの構造
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet href="styles.css" type="text/css"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.38.0 (20140413.2041)
-->
<!-- Title: Top Pages: 1 -->
<svg width="550pt" height="754pt"
viewBox="0.00 0.00 550.00 754.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 750)">
<title>Top</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-750 546,-750 546,4 -4,4"/>
<g id="clust1" class="cluster"><title>cluster_Top</title>
<polygon fill="#fff8dc" stroke="black" points="8,-8 8,-738 534,-738 534,-8 8,-8"/>
<text text-anchor="middle" x="271" y="-722.8" font-family="Times,serif" font-size="14.00">Top</text>
</g>
<g id="clust2" class="cluster"><title>cluster_Top_tile</title>
<g id="a_clust2"><a xlink:href="SodorTile.dot.svg" xlink:title="tile">
<polygon fill="#add8e6" stroke="black" points="268,-28 268,-535 424,-535 424,-28 268,-28"/>
<text text-anchor="middle" x="346" y="-519.8" font-family="Times,serif" font-size="14.00">tile</text>
</a>
</g>
</g>
<g id="clust10" class="cluster"><title>cluster_Top_SimDTM</title>
<g id="a_clust10"><a xlink:href="SimDTM.dot.svg" xlink:title="SimDTM">
<polygon fill="#add8e6" stroke="black" points="98,-28 98,-697 248,-697 248,-28 98,-28"/>
<text text-anchor="middle" x="173" y="-681.8" font-family="Times,serif" font-size="14.00">SimDTM</text>
</a>
</g>
</g>
<!-- cluster_Top_clock -->
<g id="node1" class="node"><title>cluster_Top_clock</title>
<polygon fill="#cccccc" stroke="black" points="70,-605 16,-605 16,-569 70,-569 70,-605"/>
<text text-anchor="middle" x="43" y="-583.3" font-family="Times,serif" font-size="14.00">clock</text>
</g>
<!-- cluster_Top_tile_clock -->
<g id="node4" class="node"><title>cluster_Top_tile_clock</title>
<polygon fill="#cccccc" stroke="black" points="373,-504 319,-504 319,-468 373,-468 373,-504"/>
<text text-anchor="middle" x="346" y="-482.3" font-family="Times,serif" font-size="14.00">clock</text>
</g>
<!-- cluster_Top_clock&#45;&gt;cluster_Top_tile_clock -->
<g id="edge3" class="edge"><title>cluster_Top_clock&#45;&gt;cluster_Top_tile_clock</title>
<path fill="none" stroke="black" d="M46.5641,-605.163C51.3798,-631.592 64.5049,-679.803 98,-701 154.334,-736.65 198.49,-745.645 248,-701 280.022,-672.125 240.292,-541.038 268,-508 278.017,-496.056 294.031,-490.354 308.866,-487.718"/>
<polygon fill="black" stroke="black" points="309.431,-491.173 318.861,-486.344 308.477,-484.239 309.431,-491.173"/>
</g>
<!-- cluster_Top_SimDTM_clk -->
<g id="node18" class="node"><title>cluster_Top_SimDTM_clk</title>
<polygon fill="#cccccc" stroke="black" points="200,-504 146,-504 146,-468 200,-468 200,-504"/>
<text text-anchor="middle" x="173" y="-482.3" font-family="Times,serif" font-size="14.00">clk</text>
</g>
<!-- cluster_Top_clock&#45;&gt;cluster_Top_SimDTM_clk -->
<g id="edge7" class="edge"><title>cluster_Top_clock&#45;&gt;cluster_Top_SimDTM_clk</title>
<path fill="none" stroke="black" d="M53.2072,-568.776C62.4601,-552.134 78.1758,-527.918 98,-513 109.123,-504.63 123.099,-498.647 135.902,-494.477"/>
<polygon fill="black" stroke="black" points="137.26,-497.724 145.841,-491.51 135.258,-491.017 137.26,-497.724"/>
</g>
<!-- cluster_Top_reset -->
<g id="node2" class="node"><title>cluster_Top_reset</title>
<polygon fill="#cccccc" stroke="black" points="70,-224 16,-224 16,-188 70,-188 70,-224"/>
<text text-anchor="middle" x="43" y="-202.3" font-family="Times,serif" font-size="14.00">reset</text>
</g>
<!-- cluster_Top_tile_reset -->
<g id="node5" class="node"><title>cluster_Top_tile_reset</title>
<polygon fill="#cccccc" stroke="black" points="373,-72 319,-72 319,-36 373,-36 373,-72"/>
<text text-anchor="middle" x="346" y="-50.3" font-family="Times,serif" font-size="14.00">reset</text>
</g>
<!-- cluster_Top_reset&#45;&gt;cluster_Top_tile_reset -->
<g id="edge11" class="edge"><title>cluster_Top_reset&#45;&gt;cluster_Top_tile_reset</title>
<path fill="none" stroke="black" d="M46.6336,-187.78C53.1242,-145.717 71.3232,-43.9112 98,-24 160.571,22.7023 257.918,-11.4995 309.741,-35.6417"/>
<polygon fill="black" stroke="black" points="308.337,-38.8504 318.869,-40.0108 311.36,-32.5364 308.337,-38.8504"/>
</g>
<!-- cluster_Top_SimDTM_reset -->
<g id="node17" class="node"><title>cluster_Top_SimDTM_reset</title>
<polygon fill="#cccccc" stroke="black" points="200,-396 146,-396 146,-360 200,-360 200,-396"/>
<text text-anchor="middle" x="173" y="-374.3" font-family="Times,serif" font-size="14.00">reset</text>
</g>
<!-- cluster_Top_reset&#45;&gt;cluster_Top_SimDTM_reset -->
<g id="edge6" class="edge"><title>cluster_Top_reset&#45;&gt;cluster_Top_SimDTM_reset</title>
<path fill="none" stroke="black" d="M45.8871,-224.208C49.9753,-254.546 62.362,-315.598 98,-351 108.206,-361.138 122.518,-367.503 135.839,-371.484"/>
<polygon fill="black" stroke="black" points="135.187,-374.932 145.748,-374.087 136.965,-368.161 135.187,-374.932"/>
</g>
<!-- cluster_Top_io_success -->
<g id="node3" class="node"><title>cluster_Top_io_success</title>
<polygon fill="#e0ffff" stroke="black" points="526,-653 452,-653 452,-617 526,-617 526,-653"/>
<text text-anchor="middle" x="489" y="-631.3" font-family="Times,serif" font-size="14.00">io_success</text>
</g>
<!-- cluster_Top_tile_io_dmi_req_valid -->
<g id="node6" class="node"><title>cluster_Top_tile_io_dmi_req_valid</title>
<polygon fill="#cccccc" stroke="black" points="402.5,-126 289.5,-126 289.5,-90 402.5,-90 402.5,-126"/>
<text text-anchor="middle" x="346" y="-104.3" font-family="Times,serif" font-size="14.00">io_dmi_req_valid</text>
</g>
<!-- cluster_Top_tile_io_dmi_req_bits_op -->
<g id="node7" class="node"><title>cluster_Top_tile_io_dmi_req_bits_op</title>
<polygon fill="#cccccc" stroke="black" points="409,-450 283,-450 283,-414 409,-414 409,-450"/>
<text text-anchor="middle" x="346" y="-428.3" font-family="Times,serif" font-size="14.00">io_dmi_req_bits_op</text>
</g>
<!-- cluster_Top_tile_io_dmi_req_bits_addr -->
<g id="node8" class="node"><title>cluster_Top_tile_io_dmi_req_bits_addr</title>
<polygon fill="#cccccc" stroke="black" points="414.5,-396 277.5,-396 277.5,-360 414.5,-360 414.5,-396"/>
<text text-anchor="middle" x="346" y="-374.3" font-family="Times,serif" font-size="14.00">io_dmi_req_bits_addr</text>
</g>
<!-- cluster_Top_tile_io_dmi_req_bits_data -->
<g id="node9" class="node"><title>cluster_Top_tile_io_dmi_req_bits_data</title>
<polygon fill="#cccccc" stroke="black" points="413.5,-342 278.5,-342 278.5,-306 413.5,-306 413.5,-342"/>
<text text-anchor="middle" x="346" y="-320.3" font-family="Times,serif" font-size="14.00">io_dmi_req_bits_data</text>
</g>
<!-- cluster_Top_tile_io_dmi_req_ready -->
<g id="node10" class="node"><title>cluster_Top_tile_io_dmi_req_ready</title>
<polygon fill="#e0ffff" stroke="black" points="404,-288 288,-288 288,-252 404,-252 404,-288"/>
<text text-anchor="middle" x="346" y="-266.3" font-family="Times,serif" font-size="14.00">io_dmi_req_ready</text>
</g>
<!-- cluster_Top_SimDTM_debug_req_ready -->
<g id="node13" class="node"><title>cluster_Top_SimDTM_debug_req_ready</title>
<polygon fill="#cccccc" stroke="black" points="228,-288 118,-288 118,-252 228,-252 228,-288"/>
<text text-anchor="middle" x="173" y="-266.3" font-family="Times,serif" font-size="14.00">debug_req_ready</text>
</g>
<!-- cluster_Top_tile_io_dmi_req_ready&#45;&gt;cluster_Top_SimDTM_debug_req_ready -->
<g id="edge5" class="edge"><title>cluster_Top_tile_io_dmi_req_ready&#45;&gt;cluster_Top_SimDTM_debug_req_ready</title>
<path fill="none" stroke="black" d="M287.703,-270C271.924,-270 254.702,-270 238.544,-270"/>
<polygon fill="black" stroke="black" points="238.106,-266.5 228.105,-270 238.105,-273.5 238.106,-266.5"/>
</g>
<!-- cluster_Top_tile_io_dmi_resp_valid -->
<g id="node11" class="node"><title>cluster_Top_tile_io_dmi_resp_valid</title>
<polygon fill="#e0ffff" stroke="black" points="405.5,-234 286.5,-234 286.5,-198 405.5,-198 405.5,-234"/>
<text text-anchor="middle" x="346" y="-212.3" font-family="Times,serif" font-size="14.00">io_dmi_resp_valid</text>
</g>
<!-- cluster_Top_SimDTM_debug_resp_valid -->
<g id="node14" class="node"><title>cluster_Top_SimDTM_debug_resp_valid</title>
<polygon fill="#cccccc" stroke="black" points="229.5,-234 116.5,-234 116.5,-198 229.5,-198 229.5,-234"/>
<text text-anchor="middle" x="173" y="-212.3" font-family="Times,serif" font-size="14.00">debug_resp_valid</text>
</g>
<!-- cluster_Top_tile_io_dmi_resp_valid&#45;&gt;cluster_Top_SimDTM_debug_resp_valid -->
<g id="edge2" class="edge"><title>cluster_Top_tile_io_dmi_resp_valid&#45;&gt;cluster_Top_SimDTM_debug_resp_valid</title>
<path fill="none" stroke="black" d="M286.228,-216C271.302,-216 255.169,-216 239.914,-216"/>
<polygon fill="black" stroke="black" points="239.519,-212.5 229.519,-216 239.519,-219.5 239.519,-212.5"/>
</g>
<!-- cluster_Top_tile_io_dmi_resp_bits_data -->
<g id="node12" class="node"><title>cluster_Top_tile_io_dmi_resp_bits_data</title>
<polygon fill="#e0ffff" stroke="black" points="416,-180 276,-180 276,-144 416,-144 416,-180"/>
<text text-anchor="middle" x="346" y="-158.3" font-family="Times,serif" font-size="14.00">io_dmi_resp_bits_data</text>
</g>
<!-- cluster_Top_SimDTM_debug_resp_bits_data -->
<g id="node15" class="node"><title>cluster_Top_SimDTM_debug_resp_bits_data</title>
<polygon fill="#cccccc" stroke="black" points="240,-180 106,-180 106,-144 240,-144 240,-180"/>
<text text-anchor="middle" x="173" y="-158.3" font-family="Times,serif" font-size="14.00">debug_resp_bits_data</text>
</g>
<!-- cluster_Top_tile_io_dmi_resp_bits_data&#45;&gt;cluster_Top_SimDTM_debug_resp_bits_data -->
<g id="edge14" class="edge"><title>cluster_Top_tile_io_dmi_resp_bits_data&#45;&gt;cluster_Top_SimDTM_debug_resp_bits_data</title>
<path fill="none" stroke="black" d="M275.951,-162C267.451,-162 258.725,-162 250.126,-162"/>
<polygon fill="black" stroke="black" points="250.113,-158.5 240.113,-162 250.113,-165.5 250.113,-158.5"/>
</g>
<!-- cluster_Top_SimDTM_debug_resp_bits_resp -->
<g id="node16" class="node"><title>cluster_Top_SimDTM_debug_resp_bits_resp</title>
<polygon fill="#cccccc" stroke="black" points="240,-450 106,-450 106,-414 240,-414 240,-450"/>
<text text-anchor="middle" x="173" y="-428.3" font-family="Times,serif" font-size="14.00">debug_resp_bits_resp</text>
</g>
<!-- cluster_Top_SimDTM_exit -->
<g id="node19" class="node"><title>cluster_Top_SimDTM_exit</title>
<polygon fill="#e0ffff" stroke="black" points="200,-666 146,-666 146,-630 200,-630 200,-666"/>
<text text-anchor="middle" x="173" y="-644.3" font-family="Times,serif" font-size="14.00">exit</text>
</g>
<!-- op_eq_1 -->
<g id="node25" class="node"><title>op_eq_1</title>
<polygon fill="#d8bfd8" stroke="none" points="305.5,-610 305.5,-660 386.5,-660 386.5,-610 305.5,-610"/>
<polygon fill="none" stroke="black" points="306,-635 306,-660 331,-660 331,-635 306,-635"/>
<text text-anchor="start" x="311" y="-643.8" font-family="Times,serif" font-size="14.00">●</text>
<polygon fill="none" stroke="black" points="331,-610 331,-660 362,-660 362,-610 331,-610"/>
<text text-anchor="start" x="336" y="-631.3" font-family="Times,serif" font-size="14.00"> eq </text>
<polygon fill="none" stroke="black" points="362,-610 362,-660 387,-660 387,-610 362,-610"/>
<text text-anchor="start" x="367" y="-631.3" font-family="Times,serif" font-size="14.00">●</text>
<polygon fill="none" stroke="black" points="306,-610 306,-635 331,-635 331,-610 306,-610"/>
<text text-anchor="start" x="315" y="-618.8" font-family="Times,serif" font-size="14.00">1</text>
</g>
<!-- cluster_Top_SimDTM_exit&#45;&gt;op_eq_1 -->
<g id="edge9" class="edge"><title>cluster_Top_SimDTM_exit&#45;&gt;op_eq_1:in1</title>
<path fill="none" stroke="black" d="M200.098,-648C224.058,-648 260.86,-648 294.633,-648"/>
<polygon fill="black" stroke="black" points="295,-651.5 305,-648 295,-644.5 295,-651.5"/>
</g>
<!-- cluster_Top_SimDTM_debug_req_valid -->
<g id="node20" class="node"><title>cluster_Top_SimDTM_debug_req_valid</title>
<polygon fill="#e0ffff" stroke="black" points="226.5,-126 119.5,-126 119.5,-90 226.5,-90 226.5,-126"/>
<text text-anchor="middle" x="173" y="-104.3" font-family="Times,serif" font-size="14.00">debug_req_valid</text>
</g>
<!-- cluster_Top_SimDTM_debug_req_valid&#45;&gt;cluster_Top_tile_io_dmi_req_valid -->
<g id="edge8" class="edge"><title>cluster_Top_SimDTM_debug_req_valid&#45;&gt;cluster_Top_tile_io_dmi_req_valid</title>
<path fill="none" stroke="black" d="M226.701,-108C243.272,-108 261.779,-108 279.145,-108"/>
<polygon fill="black" stroke="black" points="279.213,-111.5 289.213,-108 279.213,-104.5 279.213,-111.5"/>
</g>
<!-- cluster_Top_SimDTM_debug_req_bits_op -->
<g id="node21" class="node"><title>cluster_Top_SimDTM_debug_req_bits_op</title>
<polygon fill="#e0ffff" stroke="black" points="233,-612 113,-612 113,-576 233,-576 233,-612"/>
<text text-anchor="middle" x="173" y="-590.3" font-family="Times,serif" font-size="14.00">debug_req_bits_op</text>
</g>
<!-- cluster_Top_SimDTM_debug_req_bits_op&#45;&gt;cluster_Top_tile_io_dmi_req_bits_op -->
<g id="edge12" class="edge"><title>cluster_Top_SimDTM_debug_req_bits_op&#45;&gt;cluster_Top_tile_io_dmi_req_bits_op</title>
<path fill="none" stroke="black" d="M233.133,-579.209C238.728,-575.923 243.849,-571.908 248,-567 279.524,-529.727 236.242,-496.073 268,-459 269.944,-456.731 272.09,-454.652 274.393,-452.748"/>
<polygon fill="black" stroke="black" points="276.548,-455.512 282.753,-446.924 272.547,-449.768 276.548,-455.512"/>
</g>
<!-- cluster_Top_SimDTM_debug_req_bits_addr -->
<g id="node22" class="node"><title>cluster_Top_SimDTM_debug_req_bits_addr</title>
<polygon fill="#e0ffff" stroke="black" points="238.5,-558 107.5,-558 107.5,-522 238.5,-522 238.5,-558"/>
<text text-anchor="middle" x="173" y="-536.3" font-family="Times,serif" font-size="14.00">debug_req_bits_addr</text>
</g>
<!-- cluster_Top_SimDTM_debug_req_bits_addr&#45;&gt;cluster_Top_tile_io_dmi_req_bits_addr -->
<g id="edge4" class="edge"><title>cluster_Top_SimDTM_debug_req_bits_addr&#45;&gt;cluster_Top_tile_io_dmi_req_bits_addr</title>
<path fill="none" stroke="black" d="M238.329,-521.835C241.898,-519.269 245.174,-516.341 248,-513 279.524,-475.727 236.242,-442.073 268,-405 268.625,-404.27 269.271,-403.561 269.936,-402.87"/>
<polygon fill="black" stroke="black" points="272.424,-405.347 277.735,-396.179 267.866,-400.034 272.424,-405.347"/>
</g>
<!-- cluster_Top_SimDTM_debug_req_bits_data -->
<g id="node23" class="node"><title>cluster_Top_SimDTM_debug_req_bits_data</title>
<polygon fill="#e0ffff" stroke="black" points="237.5,-342 108.5,-342 108.5,-306 237.5,-306 237.5,-342"/>
<text text-anchor="middle" x="173" y="-320.3" font-family="Times,serif" font-size="14.00">debug_req_bits_data</text>
</g>
<!-- cluster_Top_SimDTM_debug_req_bits_data&#45;&gt;cluster_Top_tile_io_dmi_req_bits_data -->
<g id="edge10" class="edge"><title>cluster_Top_SimDTM_debug_req_bits_data&#45;&gt;cluster_Top_tile_io_dmi_req_bits_data</title>
<path fill="none" stroke="black" d="M237.674,-324C247.645,-324 258.039,-324 268.265,-324"/>
<polygon fill="black" stroke="black" points="268.413,-327.5 278.413,-324 268.413,-320.5 268.413,-327.5"/>
</g>
<!-- cluster_Top_SimDTM_debug_resp_ready -->
<g id="node24" class="node"><title>cluster_Top_SimDTM_debug_resp_ready</title>
<polygon fill="#e0ffff" stroke="black" points="231,-72 115,-72 115,-36 231,-36 231,-72"/>
<text text-anchor="middle" x="173" y="-50.3" font-family="Times,serif" font-size="14.00">debug_resp_ready</text>
</g>
<!-- op_eq_1&#45;&gt;cluster_Top_io_success -->
<g id="edge1" class="edge"><title>op_eq_1:out&#45;&gt;cluster_Top_io_success</title>
<path fill="none" stroke="black" d="M388,-635C405.54,-635 424.811,-635 441.714,-635"/>
<polygon fill="black" stroke="black" points="441.897,-638.5 451.897,-635 441.896,-631.5 441.897,-638.5"/>
</g>
<!-- cluster_Top_lit2 -->
<g id="node26" class="node"><title>cluster_Top_lit2</title>
<ellipse fill="lightgrey" stroke="black" cx="43" cy="-432" rx="18" ry="18"/>
<text text-anchor="middle" x="43" y="-428.3" font-family="Times,serif" font-size="14.00">0</text>
</g>
<!-- cluster_Top_lit2&#45;&gt;cluster_Top_SimDTM_debug_resp_bits_resp -->
<g id="edge13" class="edge"><title>cluster_Top_lit2&#45;&gt;cluster_Top_SimDTM_debug_resp_bits_resp</title>
<path fill="none" stroke="black" d="M61.2626,-432C70.6157,-432 82.8969,-432 95.8683,-432"/>
<polygon fill="black" stroke="black" points="95.8851,-435.5 105.885,-432 95.8851,-428.5 95.8851,-435.5"/>
</g>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment