diff options
Diffstat (limited to 'doc/resources/delayedwriter.svg')
| -rw-r--r-- | doc/resources/delayedwriter.svg | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/doc/resources/delayedwriter.svg b/doc/resources/delayedwriter.svg new file mode 100644 index 0000000..996c26b --- /dev/null +++ b/doc/resources/delayedwriter.svg @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="325px" preserveAspectRatio="none" style="width:291px;height:325px;" version="1.1" viewBox="0 0 291 325" width="291px" zoomAndPan="magnify"><defs><filter height="300%" id="fj3cfvzyv2q3n" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><!--class DelayedWriter--><rect fill="#FEFECE" filter="url(#fj3cfvzyv2q3n)" height="306.4844" id="DelayedWriter" style="stroke: #A80036; stroke-width: 1.5;" width="271" x="6" y="8"/><ellipse cx="71.25" cy="24" fill="#ADD1B2" rx="11" ry="11" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M74.2188,29.6406 Q73.6406,29.9375 73,30.0781 Q72.3594,30.2344 71.6563,30.2344 Q69.1563,30.2344 67.8281,28.5938 Q66.5156,26.9375 66.5156,23.8125 Q66.5156,20.6875 67.8281,19.0313 Q69.1563,17.375 71.6563,17.375 Q72.3594,17.375 73,17.5313 Q73.6563,17.6875 74.2188,17.9844 L74.2188,20.7031 Q73.5938,20.125 73,19.8594 Q72.4063,19.5781 71.7813,19.5781 Q70.4375,19.5781 69.75,20.6563 Q69.0625,21.7188 69.0625,23.8125 Q69.0625,25.9063 69.75,26.9844 Q70.4375,28.0469 71.7813,28.0469 Q72.4063,28.0469 73,27.7813 Q73.5938,27.5 74.2188,26.9219 L74.2188,29.6406 Z "/><text fill="#000000" font-family="sans-serif" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="87" x="91.75" y="28.1543">DelayedWriter</text><rect fill="#FFFFFF" height="15.9688" style="stroke: #000000; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" width="43" x="237" y="5"/><text fill="#000000" font-family="sans-serif" font-size="12" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="41" x="238" y="17.1387">class T</text><line style="stroke: #A80036; stroke-width: 1.5;" x1="7" x2="276" y1="40" y2="40"/><polygon fill="none" points="17,64.707,13,70.707,21,70.707" style="stroke: #1963A0; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="245" x="26" y="71.0151">port_type = sc_port<sc_signal_out_if<T>></text><polygon fill="none" points="17,77.5117,13,83.5117,21,83.5117" style="stroke: #1963A0; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="194" x="26" y="83.8198">pair_type = std::pair<sc_time, T></text><polygon fill="none" points="17,90.3164,13,96.3164,21,96.3164" style="stroke: #1963A0; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="213" x="26" y="96.6245">queue_type = std::deque<pair_type></text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="7" x2="102.5" y1="54.4023" y2="54.4023"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="78" x="102.5" y="57.7104">internal types</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="180.5" x2="276" y1="54.4023" y2="54.4023"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="7" x2="276" y1="103.2188" y2="103.2188"/><polygon fill="none" points="17,110.1211,21,114.1211,17,118.1211,13,114.1211" style="stroke: #B38D22; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="98" x="26" y="117.4292">port : port_type&</text><ellipse cx="17" cy="127.9258" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="64" x="26" y="130.2339">curr_val : T</text><ellipse cx="17" cy="140.7305" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="112" x="26" y="143.0386">queue : queue_type</text><rect fill="none" height="6" style="stroke: #C82930; stroke-width: 1.0;" width="6" x="14" y="150.5352"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="175" x="26" y="155.8433">event_queue : sc_event_queue</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="7" x2="276" y1="162.4375" y2="162.4375"/><ellipse cx="17" cy="174.3398" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="137" x="26" y="176.6479">actAsAccumulator : bool</text><ellipse cx="17" cy="187.1445" fill="none" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="77" x="26" y="189.4526">acc_val : bool</text><line style="stroke: #A80036; stroke-width: 1.0;" x1="7" x2="276" y1="196.0469" y2="196.0469"/><rect fill="#F24D5C" height="6" style="stroke: #C82930; stroke-width: 1.0;" width="6" x="14" y="204.9492"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="126" x="26" y="210.2573">on_data_ready() : void</text><ellipse cx="17" cy="220.7539" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="174" x="26" y="223.062">delayedWrite(T, sc_time) : void</text><ellipse cx="17" cy="233.5586" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="122" x="26" y="235.8667">writeNow_nb(T) : void</text><ellipse cx="17" cy="246.3633" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="102" x="26" y="248.6714">writeNow(T) : void</text><ellipse cx="17" cy="259.168" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="119" x="26" y="261.4761">getCurrentValue() : T</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 1.0,2.0;" x1="7" x2="276" y1="268.0703" y2="268.0703"/><ellipse cx="17" cy="279.9727" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="144" x="26" y="282.2808">actAsAccumulator() : void</text><ellipse cx="17" cy="292.7773" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="99" x="26" y="295.0854">resetAcc(T) : void</text><ellipse cx="17" cy="305.582" fill="#84BE84" rx="3" ry="3" style="stroke: #038048; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="11" lengthAdjust="spacingAndGlyphs" textLength="95" x="26" y="307.8901">getAccValue() : T</text><!-- +@startuml delayedwriter
+class DelayedWriter <class T> {
+ ..internal types..
+ ~port_type = sc_port<sc_signal_out_if<T>>
+ ~pair_type = std::pair<sc_time, T>
+ ~queue_type = std::deque<pair_type>
+ - -
+ #port : port_type&
+ +curr_val : T
+ +queue : queue_type
+ -event_queue : sc_event_queue
+ ..
+ +actAsAccumulator : bool
+ +acc_val : bool
+ - -
+ -on_data_ready() : void
+ +delayedWrite(T, sc_time) : void
+ +writeNow_nb(T) : void
+ +writeNow(T) : void
+ +getCurrentValue() : T
+ ..
+ +actAsAccumulator() : void
+ +resetAcc(T) : void
+ +getAccValue() : T
+}
+@enduml
+ +PlantUML version 1.2018.01(Sun Jan 28 19:08:22 CET 2018) +(GPL source distribution) +Java Runtime: OpenJDK Runtime Environment +JVM: OpenJDK 64-Bit Server VM +Java Version: 13.0.1+9 +Operating System: Linux +OS Version: 4.19.95-1-lts +Default Encoding: UTF-8 +Language: en +Country: US +--></g></svg>
\ No newline at end of file |
