Files
APS/.pic/Basic Verilog structures/assignments/fig_03.drawio.svg
2026-07-01 14:33:40 +03:00

4 lines
29 KiB
XML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Do not edit this file with editors other than draw.io -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: light-dark(#ffffff, #121212); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="628px" height="288px" viewBox="0 0 628 288" content="&lt;mxfile scale=&quot;1&quot; border=&quot;0&quot; host=&quot;Electron&quot;&gt;&#10; &lt;diagram name=&quot;Page-1&quot; id=&quot;EFVNSrtWwNmHJjsIZ87X&quot;&gt;&#10; &lt;mxGraphModel dx=&quot;1152&quot; dy=&quot;709&quot; grid=&quot;1&quot; gridSize=&quot;1&quot; guides=&quot;1&quot; tooltips=&quot;1&quot; connect=&quot;1&quot; arrows=&quot;1&quot; fold=&quot;1&quot; page=&quot;1&quot; pageScale=&quot;1&quot; pageWidth=&quot;827&quot; pageHeight=&quot;1169&quot; background=&quot;#ffffff&quot; math=&quot;0&quot; shadow=&quot;0&quot;&gt;&#10; &lt;root&gt;&#10; &lt;mxCell id=&quot;0&quot; /&gt;&#10; &lt;mxCell id=&quot;1&quot; parent=&quot;0&quot; /&gt;&#10; &lt;mxCell id=&quot;2&quot; parent=&quot;1&quot; style=&quot;text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;&quot; value=&quot;&amp;lt;div style=&amp;quot;background-color: rgb(255, 255, 255); font-family: &amp;amp;quot;Fira Code Light&amp;amp;quot;, Consolas, &amp;amp;quot;Courier New&amp;amp;quot;, monospace, Consolas, &amp;amp;quot;Courier New&amp;amp;quot;, monospace; font-size: 14px; line-height: 216%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;line-height: 216%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;line-height: 19px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;line-height: 19px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;font color=&amp;quot;#af00db&amp;quot;&amp;gt;module &amp;lt;/font&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(38, 127, 153);&amp;quot;&amp;gt;blocking_assignment&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;(&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(38, 127, 153);&amp;quot;&amp;gt;input&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 255);&amp;quot;&amp;gt;logic&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt; a, b&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(38, 127, 153);&amp;quot;&amp;gt;output&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 255);&amp;quot;&amp;gt;logic&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt; c, d&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;);&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;line-height: 19px;&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;font color=&amp;quot;#009900&amp;quot;&amp;gt;// блокирующее присваивание&amp;lt;br&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;font color=&amp;quot;#af00db&amp;quot;&amp;gt;always_ff &amp;lt;/font&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(175, 0, 219);&amp;quot;&amp;gt;@(posedge clk) begin&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(175, 0, 219);&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;b = a;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; c = b;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;font color=&amp;quot;#009900&amp;quot;&amp;gt;// обновленное значение b&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; d = c;&amp;lt;/span&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;font style=&amp;quot;border-color: var(--border-color);&amp;quot; color=&amp;quot;#009900&amp;quot;&amp;gt;// обновленное значение с&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(175, 0, 219);&amp;quot;&amp;gt;end&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;font color=&amp;quot;#af00db&amp;quot;&amp;gt;endmodule&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&quot; vertex=&quot;1&quot;&gt;&#10; &lt;mxGeometry height=&quot;281&quot; width=&quot;304&quot; x=&quot;376&quot; y=&quot;259&quot; as=&quot;geometry&quot; /&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;3&quot; parent=&quot;1&quot; style=&quot;text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;&quot; value=&quot;&amp;lt;div style=&amp;quot;background-color: rgb(255, 255, 255); font-family: &amp;amp;quot;Fira Code Light&amp;amp;quot;, Consolas, &amp;amp;quot;Courier New&amp;amp;quot;, monospace, Consolas, &amp;amp;quot;Courier New&amp;amp;quot;, monospace; font-size: 14px; line-height: 216%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;line-height: 216%;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;line-height: 19px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;line-height: 19px;&amp;quot;&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;font color=&amp;quot;#af00db&amp;quot;&amp;gt;module&amp;lt;/font&amp;gt;&amp;lt;font color=&amp;quot;#267f99&amp;quot;&amp;gt; non&amp;lt;/font&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(38, 127, 153);&amp;quot;&amp;gt;bloc&amp;lt;/span&amp;gt;&amp;lt;font color=&amp;quot;#267f99&amp;quot;&amp;gt;king_a&amp;lt;/font&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(38, 127, 153);&amp;quot;&amp;gt;ssignment&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;(&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(38, 127, 153);&amp;quot;&amp;gt;input&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 255);&amp;quot;&amp;gt;logic&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt; a, b&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(38, 127, 153);&amp;quot;&amp;gt;output&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt; &amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 255);&amp;quot;&amp;gt;logic&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt; c, d&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;);&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;line-height: 19px;&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;font color=&amp;quot;#009900&amp;quot;&amp;gt;// неблокирующее присваивание&amp;lt;br&amp;gt;&amp;lt;/font&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;font color=&amp;quot;#af00db&amp;quot;&amp;gt;always_ff &amp;lt;/font&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(175, 0, 219);&amp;quot;&amp;gt;@(posedge clk) begin&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(175, 0, 219);&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;b &amp;amp;lt;= a;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; c &amp;amp;lt;= b;&amp;amp;nbsp; &amp;lt;/span&amp;gt;&amp;lt;font color=&amp;quot;#009900&amp;quot;&amp;gt;// старое значение b&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;amp;nbsp; d &amp;amp;lt;= c;&amp;amp;nbsp;&amp;amp;nbsp;&amp;lt;/span&amp;gt;&amp;lt;font color=&amp;quot;#009900&amp;quot;&amp;gt;// старое значение c&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;font color=&amp;quot;#af00db&amp;quot;&amp;gt;end&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;color: rgb(59, 59, 59);&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color: rgb(0, 0, 0);&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style=&amp;quot;&amp;quot;&amp;gt;&amp;lt;font color=&amp;quot;#af00db&amp;quot;&amp;gt;endmodule&amp;lt;/font&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&quot; vertex=&quot;1&quot;&gt;&#10; &lt;mxGeometry height=&quot;288&quot; width=&quot;308&quot; x=&quot;696&quot; y=&quot;256&quot; as=&quot;geometry&quot; /&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;4&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endFill=1;strokeWidth=1;strokeColor=default;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;380&quot; y=&quot;414&quot; /&gt;&#10; &lt;mxPoint x=&quot;403&quot; y=&quot;419&quot; /&gt;&#10; &lt;mxPoint x=&quot;473&quot; y=&quot;422&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;396&quot; y=&quot;402&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;444&quot; y=&quot;437&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;5&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;421&quot; y=&quot;390&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;430&quot; y=&quot;395&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;406&quot; y=&quot;395&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;6&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;419&quot; y=&quot;448&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;429&quot; y=&quot;443&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;405&quot; y=&quot;443&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;7&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endFill=1;strokeWidth=1;strokeColor=default;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;379&quot; y=&quot;452&quot; /&gt;&#10; &lt;mxPoint x=&quot;402&quot; y=&quot;457&quot; /&gt;&#10; &lt;mxPoint x=&quot;472&quot; y=&quot;461&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;395&quot; y=&quot;440&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;444&quot; y=&quot;474&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;8&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;420&quot; y=&quot;485&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;430&quot; y=&quot;480&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;406&quot; y=&quot;480&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;9&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;745&quot; y=&quot;385&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;757&quot; y=&quot;395&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;726&quot; y=&quot;395&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;10&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;744&quot; y=&quot;422&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;756&quot; y=&quot;432&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;725&quot; y=&quot;432&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;mxCell id=&quot;11&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;curved=1;endArrow=classic;html=1;rounded=0;endSize=3;&quot; value=&quot;&quot;&gt;&#10; &lt;mxGeometry height=&quot;50&quot; relative=&quot;1&quot; width=&quot;50&quot; as=&quot;geometry&quot;&gt;&#10; &lt;Array as=&quot;points&quot;&gt;&#10; &lt;mxPoint x=&quot;745&quot; y=&quot;461&quot; /&gt;&#10; &lt;/Array&gt;&#10; &lt;mxPoint x=&quot;757&quot; y=&quot;471&quot; as=&quot;sourcePoint&quot; /&gt;&#10; &lt;mxPoint x=&quot;726&quot; y=&quot;471&quot; as=&quot;targetPoint&quot; /&gt;&#10; &lt;/mxGeometry&gt;&#10; &lt;/mxCell&gt;&#10; &lt;/root&gt;&#10; &lt;/mxGraphModel&gt;&#10; &lt;/diagram&gt;&#10;&lt;/mxfile&gt;&#10;"><defs/><rect fill="#ffffff" width="100%" height="100%" x="0" y="0" style="fill: light-dark(rgb(255, 255, 255), rgb(18, 18, 18));"/><g><g data-cell-id="0"><g data-cell-id="1"><g data-cell-id="2"><g transform="translate(0.5,0.5)"><rect x="0" y="3" width="304" height="281" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 302px; height: 1px; padding-top: 144px; margin-left: 2px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: light-dark(#000000, #ffffff); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div style="background-color: rgb(255, 255, 255); font-family: &quot;Fira Code Light&quot;, Consolas, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 216%;"><div style="line-height: 216%;"><div style="line-height: 19px;"><div style="line-height: 19px;"><div style=""><font color="#af00db" style="color: rgb(175, 0, 219);">module </font><span style="color: rgb(38, 127, 153);">blocking_assignment</span><span style="color: rgb(0, 0, 0);">(</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);">  </span><span style="color: rgb(38, 127, 153);">input</span><span style="color: rgb(0, 0, 0);">  </span><span style="color: rgb(0, 0, 255);">logic</span><span style="color: rgb(0, 0, 0);"> a, b</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);">  </span><span style="color: rgb(38, 127, 153);">output</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">logic</span><span style="color: rgb(0, 0, 0);"> c, d</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);">);</span></div><div style="line-height: 19px;"><br /></div><font color="#009900" style="color: rgb(0, 153, 0);">// блокирующее присваивание<br /></font><div style=""><font color="#af00db" style="color: rgb(175, 0, 219);">always_ff </font><span style="color: rgb(175, 0, 219);">@(posedge clk) begin</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(175, 0, 219);">  </span><span style="color: rgb(0, 0, 0);">b = a;</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);"><br /></span></div><div style=""><span style="color: rgb(0, 0, 0);">  c = b;  </span><font color="#009900" style="color: rgb(0, 153, 0);">// обновленное значение b</font></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);"><br /></span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);">  d = c;</span>  <font style="border-color: var(--border-color); color: rgb(0, 153, 0);" color="#009900">// обновленное значение с</font></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(175, 0, 219);">end</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);"><br /></span></div><div style=""><font color="#af00db" style="color: rgb(175, 0, 219);">endmodule</font></div></div></div></div></div></div></div></div></foreignObject><text x="2" y="147" fill="light-dark(#000000, #ffffff)" font-family="Helvetica" font-size="12px">module blocking_assignment(...</text></switch></g></g></g><g data-cell-id="3"><g transform="translate(0.5,0.5)"><rect x="320" y="0" width="308" height="288" fill="none" stroke="none" pointer-events="all"/></g><g><g><switch><foreignObject style="overflow: visible; text-align: left;" pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 306px; height: 1px; padding-top: 144px; margin-left: 322px;"><div style="box-sizing: border-box; font-size: 0; text-align: left; color: #000000; "><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: light-dark(#000000, #ffffff); line-height: 1.2; pointer-events: all; white-space: normal; word-wrap: normal; "><div style="background-color: rgb(255, 255, 255); font-family: &quot;Fira Code Light&quot;, Consolas, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace; font-size: 14px; line-height: 216%;"><div style="line-height: 216%;"><div style="line-height: 19px;"><div style="line-height: 19px;"><div style=""><font color="#af00db" style="color: rgb(175, 0, 219);">module</font><font color="#267f99" style="color: rgb(38, 127, 153);"> non</font><span style="color: rgb(38, 127, 153);">bloc</span><font color="#267f99" style="color: rgb(38, 127, 153);">king_a</font><span style="color: rgb(38, 127, 153);">ssignment</span><span style="color: rgb(0, 0, 0);">(</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);">  </span><span style="color: rgb(38, 127, 153);">input</span><span style="color: rgb(0, 0, 0);">  </span><span style="color: rgb(0, 0, 255);">logic</span><span style="color: rgb(0, 0, 0);"> a, b</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);">  </span><span style="color: rgb(38, 127, 153);">output</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(0, 0, 255);">logic</span><span style="color: rgb(0, 0, 0);"> c, d</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);">);</span></div><div style="line-height: 19px;"><br /></div><font color="#009900" style="color: rgb(0, 153, 0);">// неблокирующее присваивание<br /></font><div style=""><font color="#af00db" style="color: rgb(175, 0, 219);">always_ff </font><span style="color: rgb(175, 0, 219);">@(posedge clk) begin</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(175, 0, 219);">  </span><span style="color: rgb(0, 0, 0);">b &lt;= a;</span></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);"><br /></span></div><div style=""><span style="color: rgb(0, 0, 0);">  c &lt;= b;  </span><font color="#009900" style="color: rgb(0, 153, 0);">// старое значение b</font></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);"><br /></span></div><div style=""><span style="color: rgb(0, 0, 0);">  d &lt;= c;  </span><font color="#009900" style="color: rgb(0, 153, 0);">// старое значение c</font></div><div style=""><font color="#af00db" style="color: rgb(175, 0, 219);">end</font></div><div style="color: rgb(59, 59, 59);"><span style="color: rgb(0, 0, 0);"><br /></span></div><div style=""><font color="#af00db" style="color: rgb(175, 0, 219);">endmodule</font></div></div></div></div></div></div></div></div></foreignObject><text x="322" y="148" fill="light-dark(#000000, #ffffff)" font-family="Helvetica" font-size="12px">module nonblocking_assignment(...</text></switch></g></g></g><g data-cell-id="4"><g transform="translate(0.5,0.5)"><path d="M 20 146 Q 4 158 15.5 160.5 Q 27 163 62 164.5 Q 97 166 71.66 179.11" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 68.99 180.49 L 71.63 176.87 L 71.66 179.11 L 73.46 180.43 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="5"><g transform="translate(0.5,0.5)"><path d="M 54 139 Q 45 134 33.91 137.7" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 31.06 138.65 L 34.22 135.48 L 33.91 137.7 L 35.49 139.28 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="6"><g transform="translate(0.5,0.5)"><path d="M 53 187 Q 43 192 32.88 188.39" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 30.05 187.38 L 34.49 186.84 L 32.88 188.39 L 33.15 190.6 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="7"><g transform="translate(0.5,0.5)"><path d="M 19 184 Q 3 196 14.5 198.5 Q 26 201 61 203 Q 96 205 71.74 216.27" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 69.01 217.53 L 71.8 214.03 L 71.74 216.27 L 73.48 217.66 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="8"><g transform="translate(0.5,0.5)"><path d="M 54 224 Q 44 229 33.88 225.39" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 31.05 224.38 L 35.49 223.84 L 33.88 225.39 L 34.15 227.6 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="9"><g transform="translate(0.5,0.5)"><path d="M 381 139 Q 369 129 353.64 137.08" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 350.99 138.48 L 353.6 134.85 L 353.64 137.08 L 355.46 138.39 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="10"><g transform="translate(0.5,0.5)"><path d="M 380 176 Q 368 166 352.64 174.08" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 349.99 175.48 L 352.6 171.85 L 352.64 174.08 L 354.46 175.39 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="11"><g transform="translate(0.5,0.5)"><path d="M 381 215 Q 369 205 353.64 213.08" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/><path d="M 350.99 214.48 L 353.6 210.85 L 353.64 213.08 L 355.46 214.39 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all" style="fill: light-dark(rgb(0, 0, 0), rgb(255, 255, 255)); stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g></g></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.drawio.com/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>