Files
lab-rv32i-freertos-c-event-…/doc/assets/a8-patterns.svg
T

39 lines
5.2 KiB
XML
Raw 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.
<?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="433px" preserveAspectRatio="none" style="width:438px;height:433px;" version="1.1" viewBox="0 0 438 433" width="438px" zoomAndPan="magnify"><defs/><g><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="274" x="85.5" y="12.8281">A8 PATTERNS — event latch and reusable barrier</text><!--MD5=[0db9dde077dbaaf3e8af1b8cdc181c2f]
entity any--><rect fill="#EDF6FA" height="52.6882" style="stroke: #2C7794; stroke-width: 1.5;" width="171" x="6" y="24.2441"/><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="67" x="16" y="47.0722">01 ANY wait</text><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="151" x="16" y="63.4163">release on first selected bit</text><!--MD5=[966c1203244200a41ac5fc270e79b5ef]
entity all--><rect fill="#EDF6FA" height="52.6882" style="stroke: #2C7794; stroke-width: 1.5;" width="167" x="212" y="24.2441"/><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="63" x="222" y="47.0722">02 ALL wait</text><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="147" x="222" y="63.4163">release on complete mask</text><!--MD5=[956c9f402de1d86fc9645178081f5a24]
entity clear--><rect fill="#EDF6FA" height="52.6882" style="stroke: #2C7794; stroke-width: 1.5;" width="166" x="212.5" y="136.9341"/><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="87" x="222.5" y="159.7622">03 clear-on-exit</text><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="146" x="222.5" y="176.1063">consume readiness epoch</text><!--MD5=[0bdcf6b5a9770ac8afdf4cf8b158da40]
entity barrier--><rect fill="#EDF6FA" height="69.0323" style="stroke: #2C7794; stroke-width: 1.5;" width="149" x="221" y="249.6241"/><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="115" x="231" y="272.4522">04 xEventGroupSync</text><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="119" x="231" y="288.7963">set own bit + wait ALL</text><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="129" x="231" y="305.1404">automatic barrier clear</text><path d="M164.5,378.6541 L164.5,421.3423 A0,0 0 0 0 164.5,421.3423 L426.5,421.3423 A0,0 0 0 0 426.5,421.3423 L426.5,388.6541 L416.5,378.6541 L299.5,378.6541 L295.5,318.9941 L291.5,378.6541 L164.5,378.6541 A0,0 0 0 0 164.5,378.6541 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><path d="M416.5,378.6541 L416.5,388.6541 L426.5,388.6541 L416.5,378.6541 " fill="#FBFB77" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="241" x="170.5" y="396.4822">FC09 uses disjoint READY and SYNC masks.</text><text fill="#000000" font-family="Monospace" font-size="12" lengthAdjust="spacingAndGlyphs" textLength="227" x="170.5" y="412.8263">Reserved control bits are never selected.</text><!--MD5=[d132f1b209af19f2d2b9e26fae080b1d]
link any to all--><!--MD5=[d40df84129d43b2c6afa9f2885efc180]
link all to clear--><path d="M295.5,77.2641 C295.5,93.0541 295.5,113.4141 295.5,130.2441 " fill="none" id="all-&gt;clear" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="295.5,135.2341,299.5,126.2341,295.5,130.2341,291.5,126.2341,295.5,135.2341" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[794eefcd8acf29795a81a765e6e3ea74]
link clear to barrier--><path d="M295.5,190.0741 C295.5,205.5141 295.5,225.4841 295.5,242.9541 " fill="none" id="clear-&gt;barrier" style="stroke: #A80036; stroke-width: 1.0;"/><polygon fill="#A80036" points="295.5,247.7541,299.5,238.7541,295.5,242.7541,291.5,238.7541,295.5,247.7541" style="stroke: #A80036; stroke-width: 1.0;"/><!--MD5=[8cc7b0a3ac74499112969d1160c9143c]
@startuml
skinparam backgroundColor transparent
skinparam shadowing false
skinparam defaultFontName Monospace
skinparam defaultFontSize 12
skinparam rectangleBorderColor #2c7794
skinparam rectangleBackgroundColor #edf6fa
title A8 PATTERNS — event latch and reusable barrier
rectangle "01 ANY wait\nrelease on first selected bit" as any
rectangle "02 ALL wait\nrelease on complete mask" as all
rectangle "03 clear-on-exit\nconsume readiness epoch" as clear
rectangle "04 xEventGroupSync\nset own bit + wait ALL\nautomatic barrier clear" as barrier
any -[hidden]right- all
all - -> clear
clear - -> barrier
note bottom of barrier
FC09 uses disjoint READY and SYNC masks.
Reserved control bits are never selected.
end note
@enduml
PlantUML version 1.2020.02(Sun Mar 01 11:22:07 CET 2020)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 25.0.4-ea+4-1-Debian
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: null
--></g></svg>