1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598 |
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim project file generated by awlsim-0.66.0-pre -->
- <awlsim_project date_create="2017-08-24 11:42:18.858124"
- date_modify="2018-07-08 18:00:21.046164"
- format_version="1">
- <!-- CPU core configuration -->
- <cpu>
- <!-- CPU core feature specification -->
- <specs call_stack_size="256"
- nr_accus="2"
- nr_counters="256"
- nr_flags="2048"
- nr_inputs="128"
- nr_localbytes="1024"
- nr_outputs="128"
- nr_timers="256"
- parenthesis_stack_size="7" />
- <!-- CPU core configuration -->
- <config clock_memory_byte="-1"
- cycle_time_limit_us="1000000"
- ext_insns_enable="1"
- mnemonics="2"
- ob_startinfo_enable="0"
- run_time_limit_us="-1" />
- </cpu>
- <!-- AWL/STL language configuration -->
- <language_awl>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="Main"
- type="0"><![CDATA[
- ORGANIZATION_BLOCK OB 1
- BEGIN
- CALL "FC_TEST_arith_0"
- CALL "FC_TEST_arith_1"
- CALL "FC_TEST_arith_2"
- CALL "FC_TEST_arith_3"
- CALL "FC_TEST_arith_4"
- CALL "FC_TEST_arith_5"
- CALL "FC_TEST_arith_6"
- CALL "FC_TEST_arith_7"
- CALL "FC_TEST_arith_8"
-
- CALL SFC 46 // STOP CPU
- END_ORGANIZATION_BLOCK
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_0"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_0" : VOID
- BEGIN
- L 0
- T MD 0
- T MD 4
- T MD 8
- T MD 12
- T MD 16
- T MD 20
- T MD 24
- T MD 28
- T MD 32
- T MD 36
- CALL "FC_arith_0" (
- // VAR_INPUT
- IN00 := 4242, // INT
- IN01 := 4242, // INT
- IN10 := 4242, // INT
- IN11 := 42, // INT
- IN20 := 42, // INT
- IN21 := 24, // INT
- IN30 := 4242, // INT
- IN31 := 42, // INT
- IN40 := L#424242, // DINT
- IN41 := L#424242, // DINT
- IN50 := L#424242, // DINT
- IN51 := L#4242, // DINT
- IN60 := L#4242, // DINT
- IN61 := L#24, // DINT
- IN70 := L#424242, // DINT
- IN71 := L#42, // DINT
- IN80 := 1.0, // REAL
- IN81 := 1.2, // REAL
- IN90 := 2.5, // REAL
- IN91 := 1.0, // REAL
- IN100 := 2.5, // REAL
- IN101 := 3.5, // REAL
- IN110 := 10.0, // REAL
- IN111 := 5.0, // REAL
- IN120 := 20, // INT
- IN121 := 6, // INT
- IN130 := L#200000, // DINT
- IN131 := L#60000, // DINT
- // VAR_OUTPUT
- OUT0 := MW 0, // INT
- OUT1 := MW 2, // INT
- OUT2 := MW 4, // INT
- OUT3 := MW 6, // INT
- OUT4 := MD 8, // DINT
- OUT5 := MD 12, // DINT
- OUT6 := MD 16, // DINT
- OUT7 := MD 20, // DINT
- OUT8 := MD 24, // REAL
- OUT9 := MD 28, // REAL
- OUT10 := MD 32, // REAL
- OUT11 := MD 36, // REAL
- OUT12_0 := MW 40, // INT
- OUT12_1 := MW 42, // INT
- OUT13 := MD 44, // DINT
- )
- __ASSERT== MW 0, 8484
- __ASSERT== MW 2, 4200
- __ASSERT== MW 4, 1008
- __ASSERT== MW 6, 101
- __ASSERT== MD 8, L#848484
- __ASSERT== MD 12, L#420000
- __ASSERT== MD 16, L#101808
- __ASSERT== MD 20, L#10101
- __ASSERT==R MD 24, 2.2
- __ASSERT==R MD 28, 1.5
- __ASSERT==R MD 32, 8.75
- __ASSERT==R MD 36, 2.0
- __ASSERT== MW 40, 3
- __ASSERT== MW 42, 2
- __ASSERT== MD 44, L#20000
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_1"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_1" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_1" (
- // VAR_INPUT
- IN00 := 42, // INT
- IN01 := 24, // INT
- EN0 := FALSE, // BOOL
- IN10 := 4242, // INT
- IN11 := 2424, // INT
- IN20 := 2244, // INT
- IN21 := 1133, // INT
- EN2 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 6666
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 0
- __ASSERT== M 0.2, FALSE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_1" (
- // VAR_INPUT
- IN00 := 42, // INT
- IN01 := 24, // INT
- EN0 := TRUE, // BOOL
- IN10 := 4242, // INT
- IN11 := 2424, // INT
- IN20 := 2244, // INT
- IN21 := 1133, // INT
- EN2 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 66
- __ASSERT== MW 12, 6666
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 0
- __ASSERT== M 0.2, FALSE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_1" (
- // VAR_INPUT
- IN00 := 42, // INT
- IN01 := 24, // INT
- EN0 := FALSE, // BOOL
- IN10 := 4242, // INT
- IN11 := 2424, // INT
- IN20 := 2244, // INT
- IN21 := 1133, // INT
- EN2 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 6666
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 3377
- __ASSERT== M 0.2, TRUE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_1" (
- // VAR_INPUT
- IN00 := 42, // INT
- IN01 := 24, // INT
- EN0 := TRUE, // BOOL
- IN10 := 4242, // INT
- IN11 := 2424, // INT
- IN20 := 2244, // INT
- IN21 := 1133, // INT
- EN2 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT1 := MW 12, // INT
- ENO1 := M 0.1, // BOOL
- OUT2 := MW 14, // INT
- ENO2 := M 0.2, // BOOL
- )
- __ASSERT== MW 10, 66
- __ASSERT== MW 12, 6666
- __ASSERT== M 0.1, TRUE
- __ASSERT== MW 14, 3377
- __ASSERT== M 0.2, TRUE
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_2"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_2" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_arith_2" (
- // VAR_INPUT
- IN00 := 4242, // INT
- IN01 := 1234, // INT
- IN02 := 4321, // INT
- IN03 := 1337, // INT
- IN10 := 42, // INT
- IN11 := 12, // INT
- IN12 := 34, // INT
- IN13 := 56, // INT
- EN1 := FALSE, // BOOL
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT01 := MW 12, // INT
- OUT02 := MW 14, // INT
- OUT10 := MW 16, // INT
- OUT11 := MW 18, // INT
- OUT12 := MW 20, // INT
- ENO1 := M 0.1, // BOOL
- )
- __ASSERT== MW 10, 11134
- __ASSERT== MW 12, MW 10
- __ASSERT== MW 14, MW 10
- __ASSERT== MW 16, 0
- __ASSERT== MW 18, MW 16
- __ASSERT== MW 20, MW 16
- __ASSERT== M 0.1, FALSE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_arith_2" (
- // VAR_INPUT
- IN00 := 4242, // INT
- IN01 := 1234, // INT
- IN02 := 4321, // INT
- IN03 := 1337, // INT
- IN10 := 42, // INT
- IN11 := 12, // INT
- IN12 := 34, // INT
- IN13 := 56, // INT
- EN1 := TRUE, // BOOL
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT01 := MW 12, // INT
- OUT02 := MW 14, // INT
- OUT10 := MW 16, // INT
- OUT11 := MW 18, // INT
- OUT12 := MW 20, // INT
- ENO1 := M 0.1, // BOOL
- )
- __ASSERT== MW 10, 11134
- __ASSERT== MW 12, MW 10
- __ASSERT== MW 14, MW 10
- __ASSERT== MW 16, 144
- __ASSERT== MW 18, MW 16
- __ASSERT== MW 20, MW 16
- __ASSERT== M 0.1, TRUE
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_3"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_3" : VOID
- BEGIN
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_3" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 100, // INT
- IN10 := 1000, // INT
- EN1 := FALSE, // BOOL
- IN20 := 30, // INT
- EN2 := FALSE, // BOOL
- IN30 := 75, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 110
- __ASSERT== MW 12, 0
- __ASSERT== MW 14, 0
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_3" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 100, // INT
- IN10 := 1000, // INT
- EN1 := TRUE, // BOOL
- IN20 := 30, // INT
- EN2 := FALSE, // BOOL
- IN30 := 75, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 110
- __ASSERT== MW 12, 0
- __ASSERT== MW 14, 0
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_3" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 100, // INT
- IN10 := 1000, // INT
- EN1 := FALSE, // BOOL
- IN20 := 30, // INT
- EN2 := TRUE, // BOOL
- IN30 := 75, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 110
- __ASSERT== MW 12, 0
- __ASSERT== MW 14, 0
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- CALL "FC_arith_3" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 100, // INT
- IN10 := 1000, // INT
- EN1 := TRUE, // BOOL
- IN20 := 30, // INT
- EN2 := TRUE, // BOOL
- IN30 := 75, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT20 := MW 12, // INT
- OUT30 := MW 14, // INT
- )
- __ASSERT== MW 10, 110
- __ASSERT== MW 12, 1140
- __ASSERT== MW 14, 1215
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_4"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_4" : VOID
- BEGIN
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_arith_4" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 20, // INT
- EN00 := FALSE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 100, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := FALSE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 1000, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 300
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 0
- __ASSERT== M 18.0, FALSE
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_arith_4" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 20, // INT
- EN00 := TRUE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 100, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := FALSE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 1000, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 30
- __ASSERT== MW 12, 300
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 0
- __ASSERT== M 18.0, FALSE
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_arith_4" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 20, // INT
- EN00 := FALSE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 100, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := TRUE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 1000, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== MW 12, 300
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 3000
- __ASSERT== M 18.0, TRUE
-
-
- L 0
- T MW 10
- T MW 12
- T MW 14
- T MW 16
- T MW 18
- CALL "FC_arith_4" (
- // VAR_INPUT
- IN00 := 10, // INT
- IN01 := 20, // INT
- EN00 := TRUE, // BOOL
- EN01 := TRUE, // BOOL (always TRUE)
- IN10 := 100, // INT
- IN11 := 200, // INT
- IN21 := TRUE, // BOOL (always TRUE)
- EN30 := TRUE, // BOOL
- EN31 := TRUE, // BOOL (always TRUE)
- IN30 := 1000, // INT
- IN31 := 2000, // INT
- IN41 := TRUE, // BOOL (always TRUE)
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- OUT10 := MW 12, // INT
- OUT20 := M 14.0, // BOOL
- OUT30 := MW 16, // INT
- OUT40 := M 18.0, // BOOL
- )
- __ASSERT== MW 10, 30
- __ASSERT== MW 12, 300
- __ASSERT== M 14.0, TRUE
- __ASSERT== MW 16, 3000
- __ASSERT== M 18.0, TRUE
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_5"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_5" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_arith_5" (
- // VAR_INPUT
- EN0 := FALSE, // BOOL
- IN00 := 4567, // INT
- IN01 := 1290, // INT
- EN1 := FALSE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 0.0, FALSE
- __ASSERT== MW 12, 0
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_arith_5" (
- // VAR_INPUT
- EN0 := TRUE, // BOOL
- IN00 := 4567, // INT
- IN01 := 1290, // INT
- EN1 := FALSE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 5857
- __ASSERT== M 0.0, TRUE
- __ASSERT== MW 12, 0
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_arith_5" (
- // VAR_INPUT
- EN0 := FALSE, // BOOL
- IN00 := 4567, // INT
- IN01 := 1290, // INT
- EN1 := TRUE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 0.0, FALSE
- __ASSERT== MW 12, 0
-
-
- L 0
- T MW 0
- T MW 10
- T MW 12
- CALL "FC_arith_5" (
- // VAR_INPUT
- EN0 := TRUE, // BOOL
- IN00 := 4567, // INT
- IN01 := 1290, // INT
- EN1 := TRUE, // BOOL
- IN11 := 7612, // INT
- // VAR_OUTPUT
- OUT00 := MW 10, // INT
- ENO0 := M 0.0, // BOOL
- OUT10 := MW 12, // INT
- )
- __ASSERT== MW 10, 5857
- __ASSERT== M 0.0, TRUE
- __ASSERT== MW 12, 13469
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_6"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_6" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 40
- CALL "FC_arith_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 2, // INT
- EN0 := FALSE, // BOOL
- IN10 := 100, // INT
- IN21 := 1000, // INT
- IN30 := 10000, // INT
- EN3 := FALSE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- )
- __ASSERT== M 0.1, FALSE
- __ASSERT== M 0.2, FALSE
- __ASSERT== M 0.3, FALSE
- __ASSERT== M 0.4, FALSE
- __ASSERT== MW 40, 0
-
-
- L 0
- T MW 0
- T MW 40
- CALL "FC_arith_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 2, // INT
- EN0 := TRUE, // BOOL
- IN10 := 100, // INT
- IN21 := 1000, // INT
- IN30 := 10000, // INT
- EN3 := FALSE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- )
- __ASSERT== M 0.1, TRUE
- __ASSERT== M 0.2, TRUE
- __ASSERT== M 0.3, FALSE
- __ASSERT== M 0.4, FALSE
- __ASSERT== MW 40, 0
-
-
- L 0
- T MW 0
- T MW 40
- CALL "FC_arith_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 2, // INT
- EN0 := FALSE, // BOOL
- IN10 := 100, // INT
- IN21 := 1000, // INT
- IN30 := 10000, // INT
- EN3 := TRUE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- )
- __ASSERT== M 0.1, FALSE
- __ASSERT== M 0.2, FALSE
- __ASSERT== M 0.3, FALSE
- __ASSERT== M 0.4, FALSE
- __ASSERT== MW 40, 0
-
-
- L 0
- T MW 0
- T MW 40
- CALL "FC_arith_6" (
- // VAR_INPUT
- IN00 := 1, // INT
- IN01 := 2, // INT
- EN0 := TRUE, // BOOL
- IN10 := 100, // INT
- IN21 := 1000, // INT
- IN30 := 10000, // INT
- EN3 := TRUE, // BOOL
- // VAR_OUTPUT
- ENO10 := M 0.1, // BOOL
- ENO20 := M 0.2, // BOOL
- ENO30 := M 0.3, // BOOL
- OUT40 := MW 40, // INT
- ENO40 := M 0.4, // BOOL
- )
- __ASSERT== M 0.1, TRUE
- __ASSERT== M 0.2, TRUE
- __ASSERT== M 0.3, TRUE
- __ASSERT== M 0.4, TRUE
- __ASSERT== MW 40, 11109
-
-
- BE
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST arith_7"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_7" : VOID
- BEGIN
- ///////////////////////////
- // EN=1, memory init = 0
- ///////////////////////////
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := -1, // INT
- IN01 := 1, // INT
- EN0 := TRUE, // BOOL
- IN10 := -2, // INT
- IN11 := 2, // INT
- EN1 := TRUE, // BOOL
- IN20 := -3, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, TRUE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, TRUE // >=0
- __ASSERT== M 12.5, TRUE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, TRUE // ENO
- __ASSERT== MW 20, 0
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, 0
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := -1, // INT
- IN01 := 0, // INT
- EN0 := TRUE, // BOOL
- IN10 := -2, // INT
- IN11 := 0, // INT
- EN1 := TRUE, // BOOL
- IN20 := -3, // INT
- IN21 := 0, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, -1
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, TRUE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, TRUE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, TRUE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, TRUE // ENO
- __ASSERT== MW 20, -2
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, -3
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := 0, // INT
- IN01 := 1, // INT
- EN0 := TRUE, // BOOL
- IN10 := 0, // INT
- IN11 := 2, // INT
- EN1 := TRUE, // BOOL
- IN20 := 0, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, 1
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, TRUE // <>0
- __ASSERT== M 12.2, TRUE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, TRUE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, TRUE // ENO
- __ASSERT== MW 20, 2
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, 3
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := 32767, // INT
- IN01 := 1, // INT
- EN0 := TRUE, // BOOL
- IN10 := 32767, // INT
- IN11 := 2, // INT
- EN1 := TRUE, // BOOL
- IN20 := 32767, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, -32768
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, TRUE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, TRUE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, TRUE // <=0
- __ASSERT== M 12.6, TRUE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, TRUE // ENO
- __ASSERT== MW 20, -32767
- __ASSERT== M 22.0, TRUE // OV or UO
- __ASSERT== M 22.1, TRUE // OV
- __ASSERT== MW 30, -32766
- __ASSERT== M 32.0, TRUE // OV or UO
- __ASSERT== M 32.1, TRUE // OV
-
-
- ///////////////////////////
- // EN=0, memory init = 0
- ///////////////////////////
-
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := -1, // INT
- IN01 := 1, // INT
- EN0 := FALSE, // BOOL
- IN10 := -2, // INT
- IN11 := 2, // INT
- EN1 := FALSE, // BOOL
- IN20 := -3, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, 0
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, 0
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := -1, // INT
- IN01 := 0, // INT
- EN0 := FALSE, // BOOL
- IN10 := -2, // INT
- IN11 := 0, // INT
- EN1 := FALSE, // BOOL
- IN20 := -3, // INT
- IN21 := 0, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, 0
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, -3
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := 0, // INT
- IN01 := 1, // INT
- EN0 := FALSE, // BOOL
- IN10 := 0, // INT
- IN11 := 2, // INT
- EN1 := FALSE, // BOOL
- IN20 := 0, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, 0
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, 3
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L 0
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := 32767, // INT
- IN01 := 1, // INT
- EN0 := FALSE, // BOOL
- IN10 := 32767, // INT
- IN11 := 2, // INT
- EN1 := FALSE, // BOOL
- IN20 := 32767, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, 0
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, 0
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, -32766
- __ASSERT== M 32.0, TRUE // OV or UO
- __ASSERT== M 32.1, TRUE // OV
-
-
- ///////////////////////////
- // EN=0, memory init = 1
- ///////////////////////////
-
-
- L W#16#FFFF
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := -1, // INT
- IN01 := 1, // INT
- EN0 := FALSE, // BOOL
- IN10 := -2, // INT
- IN11 := 2, // INT
- EN1 := FALSE, // BOOL
- IN20 := -3, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, W#16#FFFF
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, W#16#FFFF
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, 0
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L W#16#FFFF
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := -1, // INT
- IN01 := 0, // INT
- EN0 := FALSE, // BOOL
- IN10 := -2, // INT
- IN11 := 0, // INT
- EN1 := FALSE, // BOOL
- IN20 := -3, // INT
- IN21 := 0, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, W#16#FFFF
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, W#16#FFFF
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, -3
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L W#16#FFFF
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := 0, // INT
- IN01 := 1, // INT
- EN0 := FALSE, // BOOL
- IN10 := 0, // INT
- IN11 := 2, // INT
- EN1 := FALSE, // BOOL
- IN20 := 0, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, W#16#FFFF
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, W#16#FFFF
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, 3
- __ASSERT== M 32.0, FALSE // OV or UO
- __ASSERT== M 32.1, FALSE // OV
-
-
- L W#16#FFFF
- T MW 10
- T MW 12
- T MW 20
- T MW 22
- T MW 30
- T MW 32
- __STWRST
- CALL "FC_arith_7" (
- // VAR_INPUT
- IN00 := 32767, // INT
- IN01 := 1, // INT
- EN0 := FALSE, // BOOL
- IN10 := 32767, // INT
- IN11 := 2, // INT
- EN1 := FALSE, // BOOL
- IN20 := 32767, // INT
- IN21 := 3, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_EQ0 := M 12.0, // BOOL
- OUT0_NE0 := M 12.1, // BOOL
- OUT0_GT0 := M 12.2, // BOOL
- OUT0_LT0 := M 12.3, // BOOL
- OUT0_GE0 := M 12.4, // BOOL
- OUT0_LE0 := M 12.5, // BOOL
- OUT0_OV := M 12.6, // BOOL
- OUT0_UO := M 12.7, // BOOL
- ENO0 := M 13.0, // BOOL
- OUT1 := MW 20, // INT
- OUT1_OV_UO := M 22.0, // BOOL
- OUT1_OV := M 22.1, // BOOL
- OUT2 := MW 30, // INT
- OUT2_OV_UO := M 32.0, // BOOL
- OUT2_OV := M 32.1, // BOOL
- )
- __ASSERT== MW 10, W#16#FFFF
- __ASSERT== M 12.0, FALSE // ==0
- __ASSERT== M 12.1, FALSE // <>0
- __ASSERT== M 12.2, FALSE // >0
- __ASSERT== M 12.3, FALSE // <0
- __ASSERT== M 12.4, FALSE // >=0
- __ASSERT== M 12.5, FALSE // <=0
- __ASSERT== M 12.6, FALSE // OV
- __ASSERT== M 12.7, FALSE // UO
- __ASSERT== M 13.0, FALSE // ENO
- __ASSERT== MW 20, W#16#FFFF
- __ASSERT== M 22.0, FALSE // OV or UO
- __ASSERT== M 22.1, FALSE // OV
- __ASSERT== MW 30, -32766
- __ASSERT== M 32.0, TRUE // OV or UO
- __ASSERT== M 32.1, TRUE // OV
-
-
- END_FUNCTION
- ]]></source>
- <!-- AWL/STL source code -->
- <source enabled="1"
- name="TEST_arith_8"
- type="0"><![CDATA[
- FUNCTION "FC_TEST_arith_8" : VOID
- BEGIN
- L 0
- T MW 0
- T MW 10
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_arith_8" (
- // VAR_INPUT
- IN00 := 45, // INT
- IN01 := 21, // INT
- EN1 := FALSE, // BOOL
- IN10 := 90, // INT
- IN11 := 21, // INT
- IN20 := 46, // INT
- IN21 := 21, // INT
- IN22 := 1, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_REM := MW 12, // INT
- OUT0_GT0 := M 0.0, // BOOL
- OUT1 := MW 14, // INT
- OUT1_REM := MW 16, // INT
- OUT1_GT0 := M 1.0, // BOOL
- ENO1 := M 1.1, // BOOL
- OUT20 := MW 18, // INT
- OUT2_GT0 := M 2.0, // BOOL
- OUT21 := MW 20, // INT
- )
- __ASSERT== MW 10, 2
- __ASSERT== MW 12, 3
- __ASSERT== M 0.0, TRUE
- __ASSERT== MW 14, 0
- __ASSERT== MW 16, 0
- __ASSERT== M 1.0, FALSE
- __ASSERT== M 1.1, FALSE
- __ASSERT== MW 18, 2
- __ASSERT== MW 20, 5
- __ASSERT== M 2.0, TRUE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_arith_8" (
- // VAR_INPUT
- IN00 := 45, // INT
- IN01 := 21, // INT
- EN1 := TRUE, // BOOL
- IN10 := 90, // INT
- IN11 := 21, // INT
- IN20 := 46, // INT
- IN21 := 21, // INT
- IN22 := 1, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_REM := MW 12, // INT
- OUT0_GT0 := M 0.0, // BOOL
- OUT1 := MW 14, // INT
- OUT1_REM := MW 16, // INT
- OUT1_GT0 := M 1.0, // BOOL
- ENO1 := M 1.1, // BOOL
- OUT20 := MW 18, // INT
- OUT2_GT0 := M 2.0, // BOOL
- OUT21 := MW 20, // INT
- )
- __ASSERT== MW 10, 2
- __ASSERT== MW 12, 3
- __ASSERT== M 0.0, TRUE
- __ASSERT== MW 14, 4
- __ASSERT== MW 16, 6
- __ASSERT== M 1.0, TRUE
- __ASSERT== M 1.1, TRUE
- __ASSERT== MW 18, 2
- __ASSERT== MW 20, 5
- __ASSERT== M 2.0, TRUE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_arith_8" (
- // VAR_INPUT
- IN00 := -45, // INT
- IN01 := 21, // INT
- EN1 := FALSE, // BOOL
- IN10 := -90, // INT
- IN11 := 21, // INT
- IN20 := -46, // INT
- IN21 := 21, // INT
- IN22 := -1, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_REM := MW 12, // INT
- OUT0_GT0 := M 0.0, // BOOL
- OUT1 := MW 14, // INT
- OUT1_REM := MW 16, // INT
- OUT1_GT0 := M 1.0, // BOOL
- ENO1 := M 1.1, // BOOL
- OUT20 := MW 18, // INT
- OUT2_GT0 := M 2.0, // BOOL
- OUT21 := MW 20, // INT
- )
- __ASSERT== MW 10, -2
- __ASSERT== MW 12, -3
- __ASSERT== M 0.0, FALSE
- __ASSERT== MW 14, 0
- __ASSERT== MW 16, 0
- __ASSERT== M 1.0, FALSE
- __ASSERT== M 1.1, FALSE
- __ASSERT== MW 18, -2
- __ASSERT== MW 20, -5
- __ASSERT== M 2.0, FALSE
-
-
- L 0
- T MW 0
- T MW 10
- T MW 14
- T MW 16
- T MW 18
- T MW 20
- CALL "FC_arith_8" (
- // VAR_INPUT
- IN00 := -45, // INT
- IN01 := 21, // INT
- EN1 := TRUE, // BOOL
- IN10 := -90, // INT
- IN11 := 21, // INT
- IN20 := -46, // INT
- IN21 := 21, // INT
- IN22 := -1, // INT
- // VAR_OUTPUT
- OUT0 := MW 10, // INT
- OUT0_REM := MW 12, // INT
- OUT0_GT0 := M 0.0, // BOOL
- OUT1 := MW 14, // INT
- OUT1_REM := MW 16, // INT
- OUT1_GT0 := M 1.0, // BOOL
- ENO1 := M 1.1, // BOOL
- OUT20 := MW 18, // INT
- OUT2_GT0 := M 2.0, // BOOL
- OUT21 := MW 20, // INT
- )
- __ASSERT== MW 10, -2
- __ASSERT== MW 12, -3
- __ASSERT== M 0.0, FALSE
- __ASSERT== MW 14, -4
- __ASSERT== MW 16, -6
- __ASSERT== M 1.0, FALSE
- __ASSERT== M 1.1, TRUE
- __ASSERT== MW 18, -2
- __ASSERT== MW 20, -5
- __ASSERT== M 2.0, FALSE
- END_FUNCTION
- ]]></source>
- </language_awl>
- <!-- FUP/FBD language configuration -->
- <language_fup>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_0"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_0"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="d34e1c2e-8ccc-4b89-97c3-1a7f4453a4da" />
- <field name="IN01" type="INT" uuid="80edad6e-05b9-43aa-a2a1-9b5360ee9faf" />
- <field name="IN10" type="INT" uuid="6686d8dc-3a75-4bb1-abb4-70cf59f1f4a5" />
- <field name="IN11" type="INT" uuid="3c7baa92-9fd3-43c1-964a-21b669f44d2f" />
- <field name="IN20" type="INT" uuid="01ab33a4-d27c-48f7-a787-a7085b49e9d7" />
- <field name="IN21" type="INT" uuid="4eb0556c-7227-4c65-9734-d8500a8b3e2e" />
- <field name="IN30" type="INT" uuid="71974d0a-162d-4ff4-9a39-8b70c2338c6c" />
- <field name="IN31" type="INT" uuid="f491d523-6c29-4afa-9129-ce9a8fa11871" />
- <field name="IN40" type="DINT" uuid="78a1a6fa-8116-4379-9deb-fe350eeb254f" />
- <field name="IN41" type="DINT" uuid="fd09ea89-7619-4300-af48-ffcebba567ae" />
- <field name="IN50" type="DINT" uuid="36bb47c7-632d-4202-a5df-c0f21faa6581" />
- <field name="IN51" type="DINT" uuid="46bad314-58b2-4288-adf4-229292c6e6d1" />
- <field name="IN60" type="DINT" uuid="120ed5f8-4124-406d-92fc-baa24f7444ab" />
- <field name="IN61" type="DINT" uuid="848c905b-73f7-4a09-9125-9333fc9f9cff" />
- <field name="IN70" type="DINT" uuid="2dd6b600-faff-4641-a7d3-1d2e2a4bc276" />
- <field name="IN71" type="DINT" uuid="84f50bd1-b7fe-452e-bfc0-a22fb38e93ac" />
- <field name="IN80" type="REAL" uuid="b645e557-19c3-4734-bf57-ff7a00e00a85" />
- <field name="IN81" type="REAL" uuid="3ec2673e-7b08-4982-922c-b2a099fd5c3c" />
- <field name="IN90" type="REAL" uuid="6c80479c-3a83-43ae-955b-97ba62e37ec7" />
- <field name="IN91" type="REAL" uuid="0e7db164-80e6-4de9-a90e-c5508e290b26" />
- <field name="IN100" type="REAL" uuid="90cfd34b-336c-40fe-b001-c67190044666" />
- <field name="IN101" type="REAL" uuid="17833e59-0337-4b8a-80b5-23fa96967a21" />
- <field name="IN110" type="REAL" uuid="a1adbcf1-6025-405d-9411-ee12d7e9ca4d" />
- <field name="IN111" type="REAL" uuid="e87fa5ad-93e0-4d5e-a76f-2a9116db23d4" />
- <field name="IN120" type="INT" uuid="2e8c8825-cce6-474a-b658-a4230d4418f5" />
- <field name="IN121" type="INT" uuid="4667e95b-80a5-48b8-8dd5-ecb31d27588b" />
- <field name="IN130" type="DINT" uuid="1fcda5c7-be65-4de9-bd40-2a1a63965eef" />
- <field name="IN131" type="DINT" uuid="fd6c1ebd-23fd-4eb9-abaa-2e957372da60" />
- </inputs>
- <outputs>
- <field name="OUT0" type="INT" uuid="6368d6e1-31f6-4250-9509-523fde8954b9" />
- <field name="OUT1" type="INT" uuid="582fa798-2b72-4731-8635-2aa7e838bcab" />
- <field name="OUT2" type="INT" uuid="6d7d03ca-9366-412c-be8b-a446487c9bdd" />
- <field name="OUT3" type="INT" uuid="e0f13f02-bce3-4171-a4b5-fd4c00dfeae0" />
- <field name="OUT4" type="DINT" uuid="d5781f59-99b6-4cb9-a264-ee42b860ba5d" />
- <field name="OUT5" type="DINT" uuid="92c65934-1b92-44e6-99cd-faf67ad358c6" />
- <field name="OUT6" type="DINT" uuid="7421ddde-2ff6-4e0f-92ff-9bf8afc82b83" />
- <field name="OUT7" type="DINT" uuid="bca4c33d-584b-4c19-900c-8bd83f0485d3" />
- <field name="OUT8" type="REAL" uuid="bdffd43a-0c8a-44d8-be3e-d942118a6d4e" />
- <field name="OUT9" type="REAL" uuid="8ee305d5-7918-4659-b0b5-8c178dadc71f" />
- <field name="OUT10" type="REAL" uuid="4da31f5f-ca36-48ae-8fc0-7b20589aab93" />
- <field name="OUT11" type="REAL" uuid="bec4a9a4-136f-4958-9cd4-0b051083c215" />
- <field name="OUT12_0" type="INT" uuid="11b8732a-658e-4a50-b685-86e10f495e77" />
- <field name="OUT12_1" type="INT" uuid="34a1ccf1-0b8f-4447-bea7-e1b2243671b8" />
- <field name="OUT13" type="DINT" uuid="391aa013-a503-47f7-8d39-be81b7650081" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="8599759b-fb46-45db-98d8-87ded8cae10d" />
- </retval>
- </interface>
- <grids>
- <grid height="35" uuid="aa49ffe1-e8c1-403c-b4a2-90e4d7aee310" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="b0fada5d-723e-43e6-a966-66bc3f74b8f2" />
- <wire id="1" uuid="59f8fdf8-5bc5-4a43-a654-8751faa0f6f5" />
- <wire id="2" uuid="ea7bba6e-96e2-4930-9c71-c82546cbd833" />
- <wire id="3" uuid="3338de31-7063-4bec-9515-d8a2609238f8" />
- <wire id="4" uuid="816c78a8-75cd-4be0-98fe-47212bfb1b48" />
- <wire id="5" uuid="85a1e854-ff87-4b9c-a72b-1a9d904f1a68" />
- <wire id="6" uuid="61b4339d-cb43-470e-bc73-5b13331fe11b" />
- <wire id="7" uuid="17c27b8f-1e4d-4234-86f4-f3cdbb6c9b70" />
- <wire id="8" uuid="25c7b485-9d96-4113-b838-b903a32e63de" />
- <wire id="9" uuid="88b2abde-23f9-43e2-9beb-99b5739f88d6" />
- <wire id="10" uuid="e537a2eb-d281-4fa7-a2a6-88590ffbaef6" />
- <wire id="11" uuid="9cc8265d-c111-4652-a51e-cd71271a24ea" />
- <wire id="12" uuid="1adff04b-4c92-4156-9c38-6f421f3709aa" />
- <wire id="13" uuid="b089ce8f-3daf-4bf2-bcd2-d61e02650781" />
- <wire id="14" uuid="c27eeab8-227c-4d45-a735-cc501484ee89" />
- <wire id="15" uuid="02bf72b9-7c99-4205-b699-21c866422ac0" />
- <wire id="16" uuid="1fee441a-116a-460d-8dca-52914c12513e" />
- <wire id="17" uuid="35dba0c8-23fa-4f20-8292-32e40e9417cd" />
- <wire id="18" uuid="e4f10a74-f7ac-4dad-84ae-e5a7d34ef1d6" />
- <wire id="19" uuid="bd11e739-4e90-4339-abdc-5108d7bd6830" />
- <wire id="20" uuid="0a1c281c-b53c-404e-94f9-69d7cfe68f42" />
- <wire id="21" uuid="4aa5ec81-10b5-4fae-b667-7fdd11a48f32" />
- <wire id="22" uuid="98a071a5-9495-4e31-8e74-a865b266b5ba" />
- <wire id="23" uuid="a8718159-f1e3-4762-9dbc-0a2dcb32f295" />
- <wire id="24" uuid="6241f643-684f-4da4-81bb-f2fa7548ac3d" />
- <wire id="25" uuid="af7c7e8a-6d27-47e8-8a2f-3251f025c7b0" />
- <wire id="26" uuid="994438f1-df3f-4265-8447-af359641214f" />
- <wire id="27" uuid="66ce19e3-6db3-4b19-8a4d-d65a1c1ec3d4" />
- <wire id="28" uuid="0591b63c-5df1-4049-b227-e4286caeb8f6" />
- <wire id="29" uuid="e7256f22-3c7f-447e-85e8-3eb810ad2bb3" />
- <wire id="30" uuid="fb437506-feed-4117-abf6-e48f9e637bfd" />
- <wire id="31" uuid="d59c4cf1-6a84-4ab4-8318-7f4fba2a7942" />
- <wire id="32" uuid="57347989-6dc9-4568-a515-50a7bafaf3f7" />
- <wire id="33" uuid="3a000f08-f7dc-40ca-8a61-d0d08a7d71e9" />
- <wire id="34" uuid="d856da5c-d1ec-4a00-84e6-030e052203c9" />
- <wire id="35" uuid="ac0f6eba-cf0e-4cd2-bbef-f8121f2f0b0b" />
- <wire id="36" uuid="da9d8d81-edb8-431a-acfe-e941ad62fd3b" />
- <wire id="37" uuid="466fad94-9711-4671-b612-04d315668506" />
- <wire id="38" uuid="6a6d91e9-dab8-4557-a535-ff7c5a2ad437" />
- <wire id="39" uuid="5eccfe32-dbe0-4880-b4c2-9d2f86f1a285" />
- <wire id="40" uuid="f0e98278-dd01-4d94-aafc-6ab301244073" />
- <wire id="41" uuid="409a216b-30aa-44a9-8214-192d3db31d52" />
- <wire id="42" uuid="20564e38-ab24-4618-91f4-7c04cf88803b" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="4d9c48c1-f4eb-42ce-bac4-3108078eeb07" x="2" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="7cf20a79-582a-4d60-9c59-5a9c9bb1ac96" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="13f1ca50-8341-466f-9c80-27c103358da4" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="8a8fec4a-3ea1-48e9-9913-d3750b9f248e" wire="1" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c7e9c60b-77c3-4520-a7e4-65a1f7807ac3" wire="2" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="63294d63-64a7-451f-aa89-e8794c886837" wire="-1" />
- </connections>
- </element>
- <element subtype="sub-int" type="arithmetic" uuid="95b12fd5-3caa-4d0b-bae9-202f6793f5cc" x="5" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="fbd110e0-f6ac-4909-81ed-b51d06d49c6f" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="ea7952be-ceb7-47ff-8afb-ccd044e6c412" wire="3" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="b3684dc1-b027-4302-a6c1-e54ff6a9f587" wire="4" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="d20e8c4d-006f-4878-9f8f-7cd7a03743b7" wire="5" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="c0281f78-efd4-4fdc-9a1c-5905995e169f" wire="-1" />
- </connections>
- </element>
- <element subtype="mul-int" type="arithmetic" uuid="9c0c248b-4acf-4343-9331-f39b3def9138" x="2" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="f0837501-d24b-484d-8b85-170e650060ef" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="225d396b-90c1-4434-b3f9-7896f25684ea" wire="6" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="f6d4c7b5-1141-42c9-b643-21c053471c62" wire="7" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="93c06155-d997-4961-ba87-1ad807483ad7" wire="8" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="dd4f4caa-7349-485f-87d1-504d046706d8" wire="-1" />
- </connections>
- </element>
- <element subtype="div-int" type="arithmetic" uuid="49eab9a1-8535-493f-aee8-f423dbe7f293" x="5" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="5f733fd4-cd41-41be-bfeb-0ef476bc2d6d" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="1bfb78eb-f422-409e-880f-5193f3488eef" wire="9" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="5df1560a-e0b3-452a-9394-b7a6be5df808" wire="10" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="1ff39131-1960-4eef-9e26-93780dc80294" wire="11" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="35541f55-ae34-4451-951a-c62f006b3abc" wire="-1" />
- </connections>
- </element>
- <element subtype="add-dint" type="arithmetic" uuid="7f557f61-41c9-45a6-857e-06e7af954d47" x="2" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="4de0f428-4d01-4cbc-a50b-cfca333a63fa" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="94475fee-dc82-4e99-a67e-5dec1343cf85" wire="16" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="4a138633-41d0-4a0d-ae55-65e7e37fa24d" wire="17" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="37916176-6fff-4d15-bda2-93ed8e04bf0d" wire="12" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="ee9f76df-d67d-4ee4-85dd-44b215eb409f" wire="-1" />
- </connections>
- </element>
- <element subtype="sub-dint" type="arithmetic" uuid="6a7ba3b2-e446-4aea-92af-b3846e36cd79" x="5" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="f076d736-9350-4fff-8584-7e1cc794e1d6" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="a12c68c5-aa15-46f8-81f3-aac815707f03" wire="18" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="98f646a5-1d21-4a3c-971e-5a856c67bd14" wire="19" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="153f0142-737a-4561-a785-ba0a0f5c2c81" wire="13" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="5d4e9ce6-82e6-4754-833e-979b0a7f5a37" wire="-1" />
- </connections>
- </element>
- <element subtype="mul-dint" type="arithmetic" uuid="fb59cbaf-cae5-46d9-a03a-f51b0f1bf048" x="2" y="14">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="bf0cfb63-0e58-48b1-82db-a326b4a1bb0f" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="ffeea847-edf5-4bd3-b8d3-11209011c0e9" wire="20" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="aa276760-80cc-4eed-92bf-1f4392ccd289" wire="21" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="d906670b-9896-4a86-a154-51046cf36403" wire="14" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="8bcb1b29-4570-4939-93f9-124760a6afeb" wire="-1" />
- </connections>
- </element>
- <element subtype="div-dint" type="arithmetic" uuid="a5742869-9883-4c3b-8eb8-6845e9ab9859" x="5" y="14">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="6706bfd8-64bc-4fed-b759-dd876af319b3" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="b549f0b9-c540-42ac-bcc1-a232974b0704" wire="22" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="8dd6fbfa-4170-429b-9804-0295e0b464b4" wire="23" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="83cd04d0-ef95-49c9-beba-0f156c205ef2" wire="15" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="f7af2073-ce01-49b4-94dc-897cd3f5791d" wire="-1" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="c06417dd-a84c-4371-b0ce-004d38c52ebb" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="411187c3-259e-4e95-abd1-8bae1e686424" wire="0" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="e6a7bd38-03c0-4cfa-9f93-1cd290be992c" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5dc699de-7dc9-4a48-8cd8-1b0eb5340744" wire="1" />
- </connections>
- </element>
- <element content="#OUT0" subtype="assign" type="operand" uuid="6638e0a7-c0d3-4608-960e-f32fccfb71b4" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="4fb86770-f394-4fea-992d-336e91cadf91" wire="2" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="e5e841e7-26ac-4e97-ac41-4655d68a85e9" x="4" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6ad00c5f-be0b-4027-ae98-407bbfd666d2" wire="3" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="ff7ae5a0-a07a-4e31-84f3-3204d917fe3a" x="4" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="8af948a0-d59e-41e7-a2ca-5e888b218ff0" wire="4" />
- </connections>
- </element>
- <element content="#OUT1" subtype="assign" type="operand" uuid="fc3de22c-066a-4a7d-a66f-ab25a6fc6aba" x="6" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="94f8e0bd-4a4b-4972-a85d-fecdadc3d047" wire="5" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="c6f2c797-5702-4755-8cd6-7606c600b026" x="1" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="05592265-46da-46f1-b5de-9327f45b5b9b" wire="6" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="1e51dfa8-6931-4f0b-997e-642a519783b5" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="3aa5a2a3-ffca-43c8-be20-b41c0a0ff6c1" wire="7" />
- </connections>
- </element>
- <element content="#OUT2" subtype="assign" type="operand" uuid="dedeaf83-524d-4a84-8300-ea4b6d4789a3" x="3" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="9ea8db11-d989-48bd-9fe3-8f1437a6047b" wire="8" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="0f9d5c45-77f2-4860-8b4b-54a475661a40" x="4" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e7e4fcc8-8e94-49f2-a5e7-498326cef691" wire="9" />
- </connections>
- </element>
- <element content="#IN31" subtype="load" type="operand" uuid="f66f49b9-1865-43aa-a710-3f6a1870f600" x="4" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="983104a1-588f-4b33-b369-dead54eef39a" wire="10" />
- </connections>
- </element>
- <element content="#OUT3" subtype="assign" type="operand" uuid="c6071075-02e5-41a4-b1da-3014313dc144" x="6" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="246dd2cf-e2b2-4d02-b2b1-ab4d316e0074" wire="11" />
- </connections>
- </element>
- <element content="#OUT4" subtype="assign" type="operand" uuid="31675609-3543-4dda-9928-b41f2b4bfc7e" x="3" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="faf7f905-c096-43d1-8889-414d5f02a32f" wire="12" />
- </connections>
- </element>
- <element content="#OUT5" subtype="assign" type="operand" uuid="d8705df6-6d3a-4324-8edb-6880f323748c" x="6" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="ed8b249b-c766-4bca-b5af-b7e13bb2c7e4" wire="13" />
- </connections>
- </element>
- <element content="#OUT6" subtype="assign" type="operand" uuid="870cef5e-efb2-4cae-8a09-0156d4a135ec" x="3" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="26594318-80a8-487b-8951-b7ea174c751c" wire="14" />
- </connections>
- </element>
- <element content="#OUT7" subtype="assign" type="operand" uuid="724523bc-33a8-4d36-9d34-5c6fa3c2078b" x="6" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="f73f8b6b-de30-42ec-891c-56d464675585" wire="15" />
- </connections>
- </element>
- <element content="#IN40" subtype="load" type="operand" uuid="9ab9c86a-d59a-46e2-a966-85fe0e6e0c39" x="1" y="11">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="dec8963a-7193-4400-9303-2ef032c8423f" wire="16" />
- </connections>
- </element>
- <element content="#IN41" subtype="load" type="operand" uuid="9d44cd2a-9fd8-48d8-8644-b5fc69e10803" x="1" y="12">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e2ebad4d-c6f7-4cd7-b1d5-632ec27698fe" wire="17" />
- </connections>
- </element>
- <element content="#IN50" subtype="load" type="operand" uuid="4e51f66b-0b8a-4ba9-adf6-edccde3b52bf" x="4" y="11">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="0e2e766e-020c-4f85-bc64-37d60ad82d83" wire="18" />
- </connections>
- </element>
- <element content="#IN51" subtype="load" type="operand" uuid="9cf8e0f5-b07a-45e8-8b09-cf610b25c007" x="4" y="12">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ec283517-30b1-4b92-97cc-d006456923db" wire="19" />
- </connections>
- </element>
- <element content="#IN60" subtype="load" type="operand" uuid="a894719a-86cb-495d-baf9-226044245ce6" x="1" y="15">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e2520b15-2057-4021-bfaf-86df780dc49c" wire="20" />
- </connections>
- </element>
- <element content="#IN61" subtype="load" type="operand" uuid="a61784e6-a850-4c6c-aca8-154c3d2d2dda" x="1" y="16">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="fe2cdd6b-4ea1-400b-a137-3b959920b580" wire="21" />
- </connections>
- </element>
- <element content="#IN70" subtype="load" type="operand" uuid="153c6909-1e33-42a9-87b2-d32c503c67dc" x="4" y="15">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1a461aa4-4ce2-4c07-b1ac-3ba9883a909a" wire="22" />
- </connections>
- </element>
- <element content="#IN71" subtype="load" type="operand" uuid="81afa4a1-055b-483f-8012-3d2956f9a0c1" x="4" y="16">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6a476a80-f9ca-4194-a421-b7780071563b" wire="23" />
- </connections>
- </element>
- <element subtype="add-real" type="arithmetic" uuid="9ff5eacd-e6fa-47cc-b1a0-2a3c8f62a7f0" x="2" y="19">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="2b48ba38-509e-407a-a08b-ebcc1d81a02e" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="661ec3ac-6b52-4d2a-9b4d-2decf45331c3" wire="24" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="574b3ecf-8331-4b3c-8f81-40f9bd22dcfa" wire="25" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="14546506-58be-48ad-af39-27680a635ea4" wire="32" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="30061381-b988-4201-981e-a07769043f1f" wire="-1" />
- </connections>
- </element>
- <element subtype="sub-real" type="arithmetic" uuid="41f97ce5-ba9e-4e54-ab54-d2093c01d38b" x="5" y="19">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="4475086c-3366-47bb-9617-63360e7e7293" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="40cfe180-64aa-439c-b5a4-0237effdec75" wire="26" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="44f53c9d-25f8-4187-a131-73fe130a8504" wire="27" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="8477a45c-ded5-447d-a83d-e55452f5ff96" wire="33" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="cb36204e-ae6b-41c2-a96c-5fb0233480d0" wire="-1" />
- </connections>
- </element>
- <element subtype="mul-real" type="arithmetic" uuid="a0a744e6-5af5-40cb-b974-a92773882f4d" x="2" y="23">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="c5a81bc0-7786-4d2f-bf2f-da3fa2b7905f" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="c7b984c6-1141-498e-a59e-fccb5c369ed8" wire="28" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="d91bbb8a-2285-456f-828f-f31423b94e73" wire="29" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="ccc1ee3b-141f-4c51-9002-9a82fffa8de4" wire="34" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="55dc2dfa-2238-48c4-9f5f-47963eb84130" wire="-1" />
- </connections>
- </element>
- <element subtype="div-real" type="arithmetic" uuid="00344627-e22e-4359-bc6b-8a6981c4f865" x="5" y="23">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="2ab21cb9-c4cd-40da-b1ad-87b6da20c855" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="45e87517-eda0-442a-a25f-179cbd7b2e4b" wire="30" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="49b74198-911c-4ebf-8867-47dcf3475e01" wire="31" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="a604fded-053a-42ef-968b-50009cde95e0" wire="35" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="916a0635-aa5e-4f64-8345-846645e272b6" wire="-1" />
- </connections>
- </element>
- <element content="#IN80" subtype="load" type="operand" uuid="164d48fb-986c-4b6a-85f7-68f916e14809" x="1" y="20">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="029a23fc-74c6-449b-b79f-1efd8ce5fdc6" wire="24" />
- </connections>
- </element>
- <element content="#IN81" subtype="load" type="operand" uuid="b42c2717-38b3-419d-8081-c401235c2896" x="1" y="21">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="141ba584-034c-40e9-ac2a-7fa296bb2426" wire="25" />
- </connections>
- </element>
- <element content="#IN90" subtype="load" type="operand" uuid="03affeba-c50e-4047-a105-5c005bb61fbf" x="4" y="20">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="a8317890-195f-4a79-9aa6-094496644f8b" wire="26" />
- </connections>
- </element>
- <element content="#IN91" subtype="load" type="operand" uuid="bee9ede4-7cc1-486d-a7d9-ae627ec1e5f3" x="4" y="21">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="dad23b57-786a-42d5-af53-9131f454c849" wire="27" />
- </connections>
- </element>
- <element content="#IN100" subtype="load" type="operand" uuid="1ba1c905-ba00-4a6e-a47c-f0283c2b5d76" x="1" y="24">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="95acf5b7-12d6-408a-b1e1-cce2b0c9f8be" wire="28" />
- </connections>
- </element>
- <element content="#IN101" subtype="load" type="operand" uuid="ce300c8b-8d48-4251-88dc-3dfbefd990da" x="1" y="25">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="d43cdf57-d18a-494a-ab0c-8b112f90a976" wire="29" />
- </connections>
- </element>
- <element content="#IN110" subtype="load" type="operand" uuid="55ba44a3-700d-4b4b-9dc1-0b4240640935" x="4" y="24">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="17fcd2e2-585e-4147-9a55-7757176cd1b0" wire="30" />
- </connections>
- </element>
- <element content="#IN111" subtype="load" type="operand" uuid="b3ed03c5-a574-40d9-a10d-94600c1df1e0" x="4" y="25">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5e4a297a-fd95-47d9-a16a-53c159bb5169" wire="31" />
- </connections>
- </element>
- <element content="#OUT8" subtype="assign" type="operand" uuid="3658be3b-4479-428d-8214-c9f5e464ac37" x="3" y="20">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="ea42f87b-788e-40c0-a2b1-516dee37e6cf" wire="32" />
- </connections>
- </element>
- <element content="#OUT9" subtype="assign" type="operand" uuid="0ff6da27-6dfa-49c8-91f0-2a04f1413866" x="6" y="20">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="41c85c5e-27bf-40d0-b294-f52d568c1254" wire="33" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="2a31a016-8cb6-448b-85e1-c29e600b151b" x="3" y="24">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="1731b9f9-0e43-40b4-8674-010f343ea340" wire="34" />
- </connections>
- </element>
- <element content="#OUT11" subtype="assign" type="operand" uuid="aab52815-ccac-42dd-a804-b82b3ececa9e" x="6" y="24">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="132cec7d-06b2-42ca-9011-fde977193c5f" wire="35" />
- </connections>
- </element>
- <element subtype="div-int" type="arithmetic" uuid="108182b5-96e5-4620-9b8b-8d1687855b1e" x="2" y="28">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="8b87e9f4-d326-42d8-8d0a-a116e72eda59" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="06cb9ba1-4ea1-44e4-ac1a-690e8aab0753" wire="36" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="3d9195cb-46f7-4d8e-a76a-f964fb593edc" wire="37" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="78ccf560-d9f9-424d-a250-27e177cebb20" wire="40" />
- <connection dir_in="0" dir_out="1" pos="1" text="REM" uuid="003196f1-a281-4eef-bd23-bb7fdbc4d846" wire="41" />
- <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="f3cad779-a96e-4b3a-adfe-e36a76a3e4df" wire="-1" />
- </connections>
- </element>
- <element subtype="mod-dint" type="arithmetic" uuid="7002eb15-5d05-4cbc-bca0-ae80eaa02480" x="5" y="28">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="080ea8c6-714e-4ecd-a6f3-5120f0a7834f" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="ed24bca2-ceb4-4f43-90ad-c0381bf05c52" wire="38" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="9649c82b-dc20-4167-bb29-2a2e5caf0a55" wire="39" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="ae0cedd0-cb51-438e-b2aa-c16109236157" wire="42" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="fb9cde7e-be7a-4b7c-a584-908b2bc7670d" wire="-1" />
- </connections>
- </element>
- <element content="#IN120" subtype="load" type="operand" uuid="5619a45c-53e0-4b10-b9b7-d2cd88d3392a" x="1" y="29">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1b7d7e0c-b703-4778-8535-538c37beab15" wire="36" />
- </connections>
- </element>
- <element content="#IN121" subtype="load" type="operand" uuid="466f724c-61b4-4020-8c17-ce215c5f9b84" x="1" y="30">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="b10dbb48-cbc7-4e79-819f-918c4b2d1ffd" wire="37" />
- </connections>
- </element>
- <element content="#IN130" subtype="load" type="operand" uuid="773888bf-cc98-4463-ac3f-099125576fa4" x="4" y="29">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="76d7ee37-41b4-46df-9e03-429ccdc86ff2" wire="38" />
- </connections>
- </element>
- <element content="#IN131" subtype="load" type="operand" uuid="5cb7b52e-7d93-4f29-b76e-a82e016b72b7" x="4" y="30">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="f90da56b-8ce4-41c8-ac87-233e2ee5ab2b" wire="39" />
- </connections>
- </element>
- <element content="#OUT12_0" subtype="assign" type="operand" uuid="87532fb2-2afb-45dd-a046-7437bd037d38" x="3" y="28">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="db5fc2de-a525-4dae-9122-85d2b6d5bb7c" wire="40" />
- </connections>
- </element>
- <element content="#OUT12_1" subtype="assign" type="operand" uuid="e142e0ea-ea50-4162-bea8-4642f18a7dbf" x="3" y="29">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="98331475-1627-49bd-95f8-6d92acc46f90" wire="41" />
- </connections>
- </element>
- <element content="#OUT13" subtype="assign" type="operand" uuid="98b363a6-c1fd-4632-aae6-2a3600c3bda6" x="6" y="29">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="92c8ce43-087a-4e69-9fd2-f2bd3cfabe11" wire="42" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_1"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_1"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="7e263f97-2ca2-46f3-86aa-609cf8187682" />
- <field name="IN01" type="INT" uuid="f2b1a185-f4b5-4ed6-9bb5-472b2cc23db8" />
- <field name="EN0" type="BOOL" uuid="b5798b9f-c3cf-492f-b1bf-2458194c9dbb" />
- <field name="IN10" type="INT" uuid="b2d0b07f-853f-4d0a-b393-6fb35b90f340" />
- <field name="IN11" type="INT" uuid="1a12e125-c38a-4f2d-9d75-5e3724262a2b" />
- <field name="IN20" type="INT" uuid="429a7560-994f-4a6a-a80d-f18d61909370" />
- <field name="IN21" type="INT" uuid="479a7ff5-2db0-42da-a8ce-2adcc43a2ef8" />
- <field name="EN2" type="BOOL" uuid="f13a9776-3657-4739-bada-e93453af0b93" />
- </inputs>
- <outputs>
- <field name="OUT0" type="INT" uuid="00b0a986-c5d9-4b38-8960-5145f7b5995d" />
- <field name="OUT1" type="INT" uuid="b7372b3e-54dc-49de-ba92-9237339b3d83" />
- <field name="ENO1" type="BOOL" uuid="703e20df-7328-4f17-8f46-a0478b166207" />
- <field name="OUT2" type="INT" uuid="d9362aee-8897-45e4-b8e6-8ab809c0a122" />
- <field name="ENO2" type="BOOL" uuid="e941a4c8-7b38-4473-8928-c8accf294935" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="e91613d7-ab7f-4fac-b038-1a36e859bc63" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="49bfa1b8-9266-476f-b22b-fc3ffb3ef9ae" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="14225c07-dd3a-440c-85c6-59b2eaf494d2" />
- <wire id="1" uuid="f05bea61-0585-43d9-96d3-c4ed4d993252" />
- <wire id="2" uuid="7ea89861-e901-4ad8-a687-62d2784a31cb" />
- <wire id="3" uuid="f8622372-e69b-4939-a3fb-d8e5432c5aec" />
- <wire id="4" uuid="146752a0-5949-4bdd-9142-70d7ace77d32" />
- <wire id="5" uuid="6accab80-1c43-4fa4-b560-d8563f443307" />
- <wire id="6" uuid="11d47dd5-923f-4057-b466-1d1f2918ab5b" />
- <wire id="7" uuid="de8bcabf-89a5-453c-ab2a-79f1fcc142db" />
- <wire id="8" uuid="ed9fca5d-842a-4bf8-8d88-77ca496f8a8e" />
- <wire id="9" uuid="ec682eff-daae-4565-820d-02c84dc0ffaf" />
- <wire id="10" uuid="a9e093c6-087a-45da-9b4a-67bb68768ef7" />
- <wire id="11" uuid="bc5256d2-5aba-4b3c-9089-5c242fb06dae" />
- <wire id="12" uuid="bbe77db0-965c-4651-8c18-2172b9b21b10" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="b9e5a906-9d9d-493a-9b6d-277c1b1cebcf" x="2" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="a77bede5-069e-48c3-8e55-d18db0eeadb5" wire="0" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="4dfb8eec-5477-45a0-9690-8fffa6001e37" wire="1" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="698e74e1-ae8b-4ce1-98e4-0c8ba2542c92" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f47e45b4-db61-4036-aad6-6494fd251b7a" wire="3" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="ac46eb05-6f98-4766-a599-1dde5dd4390c" wire="-1" />
- </connections>
- </element>
- <element content="#EN0" subtype="load" type="operand" uuid="3e7e19e9-567e-49e4-8f13-97c2efea6aa6" x="1" y="1">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="2c5e9293-ae58-4d08-b5dc-93558c1ca2ac" wire="0" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="b6d3ff6e-87b6-4001-880d-d94fbdd5016e" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="fec360a3-d69c-407f-9e51-5dfa5bd2cf79" wire="1" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="a151784c-0338-43fe-8997-fb42cab7c636" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1625e9a4-4ebf-4967-8a6a-48760ba49d7e" wire="2" />
- </connections>
- </element>
- <element content="#OUT0" subtype="assign" type="operand" uuid="8f511852-fc6c-4cae-85ed-007c71226fb4" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="f4a1ecc9-c536-4bfa-b1f2-ecea13e4476f" wire="3" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="d9adb6d9-4919-448c-974d-bc4dad2297e9" x="2" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="f1a3d811-46d1-4fd7-a4f0-e68b459b26da" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="fae1417d-55e0-4f38-b71e-1a91595880a6" wire="4" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="c92a57e5-69aa-45c8-89cc-04c59b94ad0d" wire="5" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f852b929-84d8-4b46-a7a4-8bb1977ab795" wire="6" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="459810f1-9c7c-4dc9-8366-b6bd0b62f35b" wire="7" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="af7446a0-bb8e-485b-a2c1-2e828e91ab44" x="1" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="7461a79a-5dcf-470d-a7d6-2f3f1759acd3" wire="4" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="4612a65b-b418-429b-99f0-b63de9007ad9" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="7633d04f-4441-4584-b6ac-ab9739648efc" wire="5" />
- </connections>
- </element>
- <element content="#OUT1" subtype="assign" type="operand" uuid="33c5dd55-5787-40fa-9b2a-d82bdfb327f1" x="3" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="35491c8e-751f-409a-85db-9d0a0866a6f0" wire="6" />
- </connections>
- </element>
- <element content="#ENO1" subtype="assign" type="operand" uuid="ab44f7aa-60de-482b-818a-76035d252ab7" x="3" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="c99d1fbf-6f6e-4336-88db-38072a669b5d" wire="7" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="e41a6f61-6af4-471b-8d54-60fe472553b3" x="2" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="a4bd378a-aa50-4e77-a5ff-692154d54ba1" wire="8" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="ac7d0e05-b218-4181-96ea-4255662094c1" wire="9" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="955687d5-e851-4600-bf81-98e8ee16b717" wire="10" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="204906b7-eea3-443d-9a3a-a1e0f0cf7da5" wire="11" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="27a40bda-d088-4cb7-974d-861192a960f2" wire="12" />
- </connections>
- </element>
- <element content="#EN2" subtype="load" type="operand" uuid="feb71e80-9333-43b8-9c81-c1f44f764851" x="1" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="39200765-10f7-4371-a3b7-898662dcd6d9" wire="8" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="4c53842d-687e-4aff-ae59-4ba5989dc846" x="1" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="86924136-3da4-411f-84c2-1fbfceb76a97" wire="9" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="67854291-e465-4bd1-b323-c966fb8331d8" x="1" y="11">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1eb44079-4263-4601-b782-e4557940a936" wire="10" />
- </connections>
- </element>
- <element content="#OUT2" subtype="assign" type="operand" uuid="15070423-9da9-4211-a0cc-1dde98ba8525" x="3" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="b7f03357-3687-4a0a-b237-69179842244a" wire="11" />
- </connections>
- </element>
- <element content="#ENO2" subtype="assign" type="operand" uuid="b64011ca-2420-4fb9-963a-275c76a7cd1a" x="3" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="cef90c9f-0a03-4611-be5f-af9e72ea2812" wire="12" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_2"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_2"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="36265816-d3ce-4919-94f1-f1361f2b5c6c" />
- <field name="IN01" type="INT" uuid="ae9aaebd-6f84-40f8-8151-02e9e24f8fa2" />
- <field name="IN02" type="INT" uuid="bd6896e2-ca1b-4ee8-9515-10f5e242d1e5" />
- <field name="IN03" type="INT" uuid="5283ebaa-7350-416e-9825-1b387925a509" />
- <field name="IN10" type="INT" uuid="3d82717a-852d-4d7a-86dc-94511e0a32d1" />
- <field name="IN11" type="INT" uuid="1f1bb3ad-f189-48f9-8287-acec2c0506f3" />
- <field name="IN12" type="INT" uuid="845e4be3-31c0-447f-8cc2-a8cbcd1c039b" />
- <field name="IN13" type="INT" uuid="3b4073cf-cb9a-4a64-9aff-700a7b7c9c08" />
- <field name="EN1" type="BOOL" uuid="a4c1856d-f0bf-48c4-9036-32a548532f75" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="c4be5a03-fe32-4246-862d-745dd7001010" />
- <field name="OUT01" type="INT" uuid="3d8d3d88-6e5a-4ead-97b4-1697b4b60a2a" />
- <field name="OUT02" type="INT" uuid="ff6e2033-8159-4a82-992f-84cb849da317" />
- <field name="OUT10" type="INT" uuid="3f875969-cabf-4b46-8760-85f814e5f07e" />
- <field name="OUT11" type="INT" uuid="af79af2c-7c51-460f-aa43-4b9c50dfc2aa" />
- <field name="OUT12" type="INT" uuid="472004e4-b88e-4bdb-bf7c-f3ade95f0720" />
- <field name="ENO1" type="BOOL" uuid="9f5a520b-f2b8-4337-a1b2-97199a42edc5" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="29423cca-fdc0-4a38-9119-1767a1b3f96c" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="39fb61a2-0d86-4fc5-9865-cf369b3578ac" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="ae35495e-9cb6-493e-bdfe-7242aa2316c4" />
- <wire id="1" uuid="75e116f0-33ef-4cb0-8f55-12eb15f2c05a" />
- <wire id="2" uuid="3dac94c5-6a4c-4f98-8ed5-15db17137959" />
- <wire id="3" uuid="175afeac-fbf5-4ef0-b3a5-e4fd2ae4d7c3" />
- <wire id="4" uuid="91bd3dc8-fae4-47e9-b2e3-d4be8acb1980" />
- <wire id="5" uuid="70b6043d-e5fd-49bb-8c46-31a96b685d06" />
- <wire id="6" uuid="a757fc9e-2cd5-4a2f-9401-34e90db3ed07" />
- <wire id="7" uuid="c9e6a6e8-7599-45d0-bab9-10278672c264" />
- <wire id="8" uuid="67e92c06-2beb-423f-8a90-ccc923b4499a" />
- <wire id="9" uuid="8ac0fe57-59af-4d92-9af2-8abf45120649" />
- <wire id="10" uuid="8fb669f5-e601-4e2e-8dca-882efc0504c5" />
- <wire id="11" uuid="a3155a68-3023-49ce-bb78-b242c4939e00" />
- <wire id="12" uuid="b15c4e35-9873-4787-8057-a74e32cf898e" />
- <wire id="13" uuid="2afc02bc-e79d-4c98-86b1-17ddb5c624bf" />
- <wire id="14" uuid="06fa4a24-d659-435c-a054-1e1b34d169ad" />
- <wire id="15" uuid="65b7a106-d2a9-451c-8110-1f84bb98f594" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="d9a5fb06-7a4c-49c2-8ffc-2b998dc1e264" x="2" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="edbf9c46-e047-4098-818f-c06d1c80bafd" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="82248f41-872e-4e6e-a8c8-a0232598e663" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="1ccc94d4-3b51-488c-a479-32150030ffce" wire="1" />
- <connection dir_in="1" dir_out="0" pos="3" text="IN2" uuid="5a96871c-6abd-4108-9041-af4ce8dcca85" wire="2" />
- <connection dir_in="1" dir_out="0" pos="4" text="IN3" uuid="1fe53666-e1a2-485c-8318-6209a110810c" wire="3" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="ab973a6f-e7f1-4a38-8851-86da7c999412" wire="4" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="0580e7b0-9fb2-4fad-8edb-7be9a0ac2b37" wire="5" />
- <connection dir_in="0" dir_out="1" pos="2" text="OUT2" uuid="20290cda-8b64-41ca-ae08-9e61cb290244" wire="6" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="f565d495-ed3c-45e5-8f10-76f76a51db5f" wire="-1" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="79e233d9-a24a-4a16-a239-7ef662de3176" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ddcd6914-3c1a-4332-8f69-d2f72c9cf183" wire="0" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="a7343b06-7e49-47a5-9b22-58a6d31dab50" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="99285598-a9a4-4e60-9520-2d297ebd351d" wire="1" />
- </connections>
- </element>
- <element content="#IN02" subtype="load" type="operand" uuid="07060179-8225-4fba-9b84-847e10c838fa" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="8734f4b2-dba0-4495-b05f-52a5f8ba8616" wire="2" />
- </connections>
- </element>
- <element content="#IN03" subtype="load" type="operand" uuid="010ae261-4ded-48b8-a246-6eb796c30c85" x="1" y="5">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="fee38415-29c5-46ca-9b69-4a6884f37d37" wire="3" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="0a75dafb-0f67-40ae-a7b9-55498ced25ab" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="36f59ff7-5490-4b03-a55d-f4e82b019287" wire="4" />
- </connections>
- </element>
- <element content="#OUT01" subtype="assign" type="operand" uuid="f1766889-fe9f-43ca-bc2b-c3b21c7489a4" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="65a3e354-aa3f-4f07-a485-31161d39ea1d" wire="5" />
- </connections>
- </element>
- <element content="#OUT02" subtype="assign" type="operand" uuid="2f48c18e-333d-43d8-a47a-5bd8ac93417b" x="3" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="07208785-56e1-478f-8b0a-8aefd32efd91" wire="6" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="fc4d5cff-03fc-4dda-b113-b5635913dbef" x="2" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="5944e513-3e7d-4bb4-8693-cacadcb68235" wire="14" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="d98105a6-5eaf-4794-b958-dc683c4bccc4" wire="7" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="7faba5a7-4a27-4943-9eeb-853bf8382754" wire="8" />
- <connection dir_in="1" dir_out="0" pos="3" text="IN2" uuid="5cc1692a-ea17-409f-88a8-94d431087cc1" wire="9" />
- <connection dir_in="1" dir_out="0" pos="4" text="IN3" uuid="f144cfc7-7921-49c7-bf73-1514a92f78be" wire="10" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="54ba4f9f-1065-4c92-976d-7b748af6a83d" wire="11" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="18289df5-7ad4-44e6-ab05-8f9c77df99b9" wire="12" />
- <connection dir_in="0" dir_out="1" pos="2" text="OUT2" uuid="3536d0ff-896c-45f0-ad62-ba8998bad779" wire="13" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="c7efbbfa-4f7a-4922-8b30-1a7223742f4b" wire="15" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="59a2c3b2-93aa-40d9-8ec3-e7d159482e51" x="1" y="8">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="68d7d1ad-4121-4397-af4a-ded21ac93b75" wire="7" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="16cdd662-8479-4f08-a074-937680eb20c4" x="1" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="7d2f3ad0-feeb-46a0-8fef-77242ff1e63d" wire="8" />
- </connections>
- </element>
- <element content="#IN12" subtype="load" type="operand" uuid="8ff2e6e7-ba65-495f-8ef7-67dad35db361" x="1" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="15d409f5-6a55-49de-82a5-7643668fcf1d" wire="9" />
- </connections>
- </element>
- <element content="#IN13" subtype="load" type="operand" uuid="50b56928-0df4-4287-9729-a5547bba1f56" x="1" y="11">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="9f408585-7acd-4c66-84c1-2ca91b96b43e" wire="10" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="bed02270-df0c-44a5-96f7-595a6c1b1c2d" x="3" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="1630ed90-72a5-42db-92d3-b4c0c83c54a6" wire="11" />
- </connections>
- </element>
- <element content="#OUT11" subtype="assign" type="operand" uuid="9816ff1e-02df-4ba5-a2b2-04edc170827b" x="3" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="577e66a3-d181-4a34-8d98-146fc2752565" wire="12" />
- </connections>
- </element>
- <element content="#OUT12" subtype="assign" type="operand" uuid="9580280e-a98b-4315-8745-b2c39fbe168c" x="3" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="52af3792-e297-40c8-bba5-31fa7e3967e8" wire="13" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="679401c3-31e8-4e55-8624-317e9d0a4e48" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="7c06eaf0-b192-47d0-be87-7188e5ea4d4d" wire="14" />
- </connections>
- </element>
- <element content="#ENO1" subtype="assign" type="operand" uuid="a325ff33-4a43-4251-a72a-da8592d228fa" x="3" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="6a68cf2e-245e-4edb-b580-ee383d64311a" wire="15" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_3"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_3"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="a99e914d-4cd0-40ab-9376-4c50e45c0079" />
- <field name="IN01" type="INT" uuid="747db321-c88d-408b-b3b5-43bdee43fb85" />
- <field name="IN10" type="INT" uuid="d5bbda1b-8f5e-435e-9ab9-d7d493878aed" />
- <field name="EN1" type="BOOL" uuid="c855784b-98dd-4c9b-9262-b815ed528e48" />
- <field name="IN20" type="INT" uuid="ce6e585b-ced0-4ab4-ace0-3d6bf065d598" />
- <field name="EN2" type="BOOL" uuid="40862ee7-d037-485a-826f-939f9a87bc52" />
- <field name="IN30" type="INT" uuid="7acaf1c3-0616-47df-bc96-5a7b9ab15753" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="467b1834-440e-460d-8d82-f1f6a56d3e29" />
- <field name="OUT20" type="INT" uuid="defbc534-834b-4646-908d-21b2e19a16ae" />
- <field name="OUT30" type="INT" uuid="050e9d5d-3673-4479-ae3f-1881106e3850" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="b55fe37e-4058-488a-b8d5-0089297a4ebb" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="78c5e264-be45-4798-a7aa-0f06f2033557" width="13">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="044fb1ab-5465-4d6a-89b1-42d8d3c07611" />
- <wire id="1" uuid="a8a7c70e-1862-44b6-9924-438e8acf18c3" />
- <wire id="2" uuid="32a2995f-a86d-4a8f-aa02-bc1a404a44f0" />
- <wire id="3" uuid="91a08ae5-50e7-4df5-a631-f1a36940a5bd" />
- <wire id="4" uuid="336f9371-595e-4909-ba98-54ea972e6b7e" />
- <wire id="5" uuid="82c47c0c-466e-42f8-a045-3b86cbbe72b5" />
- <wire id="6" uuid="6297bad4-b03c-48cd-8964-0f74c3478594" />
- <wire id="7" uuid="378affd2-06f0-42fe-a245-9ad358621300" />
- <wire id="8" uuid="2e915b0a-81e5-4bb5-bfb2-9bff5ef8094c" />
- <wire id="9" uuid="4a264a45-a2d3-4018-9bad-368d27a9b092" />
- <wire id="10" uuid="505d1bae-51d9-403c-aac6-f297cf7f5d76" />
- <wire id="11" uuid="1c819faf-d326-40ce-a5c9-ddd875294f15" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="207be336-a394-4dab-aad8-cba39bca59df" x="1" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="201310a6-c9e8-47b1-9c3e-6a780e68d378" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="ef428982-7265-4e52-a548-39c49a9b6714" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="285971ed-6a5a-4cdb-a515-546fef2e8fe9" wire="1" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="d2911a64-b3d6-455b-93cd-35214a08ea88" wire="2" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="69c46489-9eee-40b7-932f-d3c9d73e8a35" wire="10" />
- <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="4879c8d3-425e-495b-9003-104a562024ea" wire="-1" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="a45f9d10-cdcd-4136-845a-46fcd47d5646" x="0" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="df507577-944b-407b-94c8-d7ddf563904a" wire="0" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="e9c8ff5e-bf4b-4082-91cf-d3c065414433" x="0" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="3f97265f-140b-472b-9210-ef06c72ef1fa" wire="1" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="5d76a580-7660-46f3-ba96-3f22598cff96" x="3" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="fd610652-e38d-4956-bfe7-5e783e94b9a7" wire="3" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="9259d433-46e8-4e8a-850d-aa632c3853a9" wire="4" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="4115ee8f-4670-454c-8665-78eb9e27cf76" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="174cd63e-97ce-4fa2-8fb2-47743614c5d8" wire="5" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="c1cf4098-d189-4bfc-a0be-2d6f64531411" wire="-1" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="b5fcad39-3a2b-4fe2-b60c-ae76ccada838" x="2" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="16515998-ad75-4e54-bb02-f00e51b1beb7" wire="3" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="2ec0bf1c-2adc-4dcd-b552-a01e20ee7639" x="2" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6fb6d406-3663-4964-82ea-b5ed5db9077b" wire="4" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="862e3ee5-ac69-4969-afd9-afc2d8c5c8d6" x="5" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="6f6b0adc-9d17-4510-9601-909b30168625" wire="7" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="330510d7-02de-4f20-a089-fb15290bae7b" wire="5" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="969f5814-571c-41bc-beed-47f60fb1ff5f" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="d7248b3d-2753-4cfe-876b-a6de13ac7a7d" wire="8" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="625e20e2-b44c-4a96-9a07-e9696d910a19" wire="-1" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="c18b341f-cd61-4f0b-8c2a-2b52953fad8f" x="4" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e85e9561-c474-4cf0-9acb-da57326e2285" wire="6" />
- </connections>
- </element>
- <element content="#EN2" subtype="load" type="operand" uuid="569b0c46-7f62-4cae-97c0-83e97de95670" x="4" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="db88f270-8a01-4253-8494-692f9114a56f" wire="7" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="89587a87-2baf-4211-856e-ed0e8a8ca73c" x="8" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="0a28009a-c230-432b-a60d-cf88104ded82" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="60e7510d-3d0c-4eae-a0f4-98f7a065775a" wire="9" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="556290dd-6f56-4615-b2f6-173b64ad87d4" wire="8" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="9941587a-9f22-49a6-9e6d-f720b7cbcabe" wire="11" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="17f41c44-9ea3-47d1-b567-ba7fa4562ced" wire="-1" />
- </connections>
- </element>
- <element content="#OUT20" subtype="assign" type="operand" uuid="25dae408-cfc2-4e9b-8bef-a6e1eff6da4a" x="6" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8cd4ce72-b6d0-4f70-9e14-a5b0601fa82e" wire="8" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="6d673cd9-59c4-47db-a188-80b4486b7501" x="7" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="bb510912-22c7-4b84-9c7f-6473f1bd8cf9" wire="9" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="598da38e-c29d-4ac2-b923-7c4c407c2cce" x="2" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="204c857a-8568-48cc-b18f-f69655d57e3e" wire="10" />
- </connections>
- </element>
- <element content="#OUT30" subtype="assign" type="operand" uuid="8d508322-5ce3-4896-9fdb-fc85f5d056c4" x="9" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8dfeac9f-d423-4a61-857d-4d813afb305e" wire="11" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_4"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_4"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="049809bb-6204-44fc-b140-7a94db3d003f" />
- <field name="IN01" type="INT" uuid="5bea7a76-b7ab-4e7d-adce-7795ace0b287" />
- <field name="EN00" type="BOOL" uuid="bbeebe9b-2651-4d23-9c89-b110e36b785d" />
- <field name="EN01" type="BOOL" uuid="ff72bae7-ec3a-4889-a976-7d6bea8b90b4" />
- <field name="IN10" type="INT" uuid="863ef2f7-a9cd-4388-9b17-6359856ae489" />
- <field name="IN11" type="INT" uuid="5f7bf373-e025-4700-81bf-16a3e76f0f6f" />
- <field name="IN21" type="BOOL" uuid="cd85be62-6e73-43a3-89e0-0d3415d1aef8" />
- <field name="EN30" type="BOOL" uuid="8fbe2604-20e3-45ed-a9c0-bccbddfb9bda" />
- <field name="EN31" type="BOOL" uuid="9a05df91-e27d-406f-a090-5515c7bdb531" />
- <field name="IN30" type="INT" uuid="41fc9bb8-a105-4d3c-9993-4d10ee55c4a9" />
- <field name="IN31" type="INT" uuid="bc1ac97a-657d-413e-acd8-e98af230c371" />
- <field name="IN41" type="BOOL" uuid="2dd5a1a1-55de-4354-8b18-b29f0c98f9e5" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="96893a54-d45c-4e03-b0bc-f9142186771d" />
- <field name="OUT10" type="INT" uuid="c6162c40-dc62-45a2-a96a-9fd44062d8e5" />
- <field name="OUT20" type="BOOL" uuid="0a952444-31a5-4b7d-a74f-41dc704266b2" />
- <field name="OUT30" type="INT" uuid="0c999965-0222-4554-82ec-4d2ddfa75632" />
- <field name="OUT40" type="BOOL" uuid="544f24ea-9cc1-4a52-8587-e6a630d424f1" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="de5e18e8-c3ad-42f0-a833-35210ee419cb" />
- </retval>
- </interface>
- <grids>
- <grid height="26" uuid="b0e83953-df9b-4619-9787-1f16c4a1f908" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="02c55d9a-863c-43e2-bf9a-c69b3ff3ce12" />
- <wire id="1" uuid="0e135328-b9dc-4e7f-8652-11fce9b33b87" />
- <wire id="2" uuid="95f10b11-fae1-4787-a0c5-7e7af93e50e6" />
- <wire id="3" uuid="cebcd448-8c90-4134-8c49-230ea21dd2a2" />
- <wire id="4" uuid="9d034cc8-1d3b-467d-9427-81b51fbc6bb5" />
- <wire id="5" uuid="b076f9c2-ebdf-4f9a-b31c-aea9e329f51f" />
- <wire id="6" uuid="af70bfd2-90c1-4184-857b-699a0447ec0a" />
- <wire id="7" uuid="0dd8b5a6-01e8-4026-b4aa-722c2b34ac67" />
- <wire id="8" uuid="43b3b498-6578-45b1-82c4-6708bde3d332" />
- <wire id="9" uuid="b136dbf3-c96b-45b6-8caa-75ef1d8cf1b8" />
- <wire id="10" uuid="699a9bb6-b034-413a-9e1c-1858a88dbdf5" />
- <wire id="11" uuid="0be0ba85-c9ba-461d-9f1d-6e4267ab5bbd" />
- <wire id="12" uuid="18f5d538-f9e7-424a-b839-f62ff1f36ae2" />
- <wire id="13" uuid="b74989a4-5311-42de-9f0d-1c7821f92e19" />
- <wire id="14" uuid="e7955e87-789f-471f-b32b-9e0feedcadae" />
- <wire id="15" uuid="119cbc06-e5c4-4167-b10f-40fe2d798147" />
- <wire id="16" uuid="61ec0c0e-f836-410c-b3ff-f49ca600736d" />
- <wire id="17" uuid="5babc626-3ea2-419b-84ce-172a75998b95" />
- <wire id="18" uuid="a31bd3e2-9dd6-497e-a58d-d8bb8f8e646f" />
- <wire id="19" uuid="322d4f14-8355-46b8-9894-7fbbdc36c2b4" />
- <wire id="20" uuid="8c832e1d-6a30-43ae-8125-aa00c313a15c" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="35e1d21e-ff5b-4b03-b371-8afc867f7696" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="cd83dcf8-732d-458c-aa40-789adde7f71e" wire="0" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="7b7043e0-d94c-41ed-b54c-53aff401d9c8" wire="3" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="12634962-f129-4e42-b6ae-41e6dbdaf720" wire="4" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="a062ccca-6415-4b07-830b-9b7c4fdfff5f" wire="5" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="7f5465c4-ce91-4e30-b703-b9b8cce5f4b6" wire="-1" />
- </connections>
- </element>
- <element subtype="and" type="boolean" uuid="f35f5623-e2be-4a54-9d46-bb7bb20e4f0e" x="2" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="5cdd86e8-18ce-4645-9160-38694abc5a6b" wire="1" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="617ca3f8-0968-4288-a566-4c65b60d2ab7" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="0e3a54cc-a890-4f1b-8333-161428596ca1" wire="0" />
- </connections>
- </element>
- <element content="#EN00" subtype="load" type="operand" uuid="ababffcc-c202-4095-8696-6258e2ebeaeb" x="1" y="1">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="6a85ead8-0c5a-41a2-bc00-46050167ad75" wire="1" />
- </connections>
- </element>
- <element content="#EN01" subtype="load" type="operand" uuid="9bcbde5d-caa0-4a72-b5a0-070e514512d1" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="32c19f07-45ef-43c0-8ce3-03852298606a" wire="2" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="99fced02-6ea7-423d-9ee6-064f04217aa9" x="2" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="62a68e53-a035-4b1c-bf87-438aa75e44ef" wire="3" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="0a969ba2-10b8-46e9-95e0-5eae39bafe85" x="2" y="5">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="f03aa316-7c0e-48c6-ac61-798dcb32156c" wire="4" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="82df9155-cb90-40b0-b207-536fa2e21349" x="4" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="aa6a54e1-be78-4877-9d7d-53ec56c132d9" wire="5" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="708f2925-628a-4755-82c5-1054f706e5f4" x="3" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="19f4208b-69a3-4769-94ad-11d9a17e8760" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="8b7f9bfd-1ff8-407f-9f65-e97da09d016c" wire="7" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="3af5ec61-096c-4742-9781-09669910748f" wire="8" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="96d74528-5c31-487e-b39c-26b79151bb1c" wire="9" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="602459b6-84ff-4d20-b62f-dc2c17a21cbb" wire="6" />
- </connections>
- </element>
- <element subtype="and" type="boolean" uuid="eb033c1b-6e19-4893-970c-eed8f20fdbb9" x="4" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="fae4e6e9-7166-4f59-9f5e-f462df08e024" wire="6" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="d203395a-b56c-47bc-8c8a-9d4af671590e" wire="10" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="939c0c3b-7b4b-47fd-be96-92e6fde4eb3b" wire="11" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="250bdead-47b4-4a2c-b5fb-0b616b199ccc" x="2" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="65af9e25-81a7-4b9d-a467-c53e8cc8093a" wire="7" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="30a664ca-9fa2-4142-982f-067e7c631e2c" x="2" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="a9573f02-894b-48f4-acff-b7882ab5d7d6" wire="8" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="3245cd8c-0969-4fc6-a2d0-0a538dc138e4" x="4" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="58d1a22c-0094-4c6b-8e84-7908b3591c65" wire="9" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="2ca5f66b-9bab-4307-bfb6-a725752929b7" x="3" y="12">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="065658e4-e6e0-4abd-8a02-3a7c3b859667" wire="10" />
- </connections>
- </element>
- <element content="#OUT20" subtype="assign" type="operand" uuid="42a3f9d3-e8cd-4c3f-bb54-6ca44e777f2b" x="5" y="12">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="46c4a09c-2713-4bc9-aa06-a7c1c3d58fb5" wire="11" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="c8d4cf0f-76a2-44ef-85ae-4cbfb16d4a0a" x="3" y="17">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="3f41fb21-2497-4012-ae46-75e50b5ffe17" wire="12" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="82375a7d-cb05-49df-bf72-428f4cf9912e" wire="16" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="25f54fad-e9ea-4319-ac79-0ed479e36915" wire="17" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="3763e704-ba65-45cb-9044-bad74f19c8a0" wire="18" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="6461ff89-de5a-44af-8788-fdaeb7159112" wire="15" />
- </connections>
- </element>
- <element subtype="and" type="boolean" uuid="24e2224f-c7f2-4214-84a4-663e14c35a6d" x="2" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="27266d5f-5b2f-468f-84e8-9fe6ac684210" wire="13" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="157e97fe-1f53-4a7e-857b-2ffe180b3781" wire="14" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="63eb85c1-7f65-4236-b9bc-5f7721834d27" wire="12" />
- </connections>
- </element>
- <element content="#EN30" subtype="load" type="operand" uuid="183e8146-48bd-435a-80d1-3c8f60fa1484" x="1" y="15">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="581edcc4-5a09-430f-96e4-f3c1d8d21362" wire="13" />
- </connections>
- </element>
- <element content="#EN31" subtype="load" type="operand" uuid="6c2170bd-63a3-4cc7-9762-15423f5696c9" x="1" y="16">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="0d92e804-ab13-4470-9011-58cd232690cb" wire="14" />
- </connections>
- </element>
- <element subtype="and" type="boolean" uuid="9caa8302-90d4-472c-ace3-8afc3523ae75" x="4" y="20">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="538f5bd7-3c0a-450c-abd6-16b0bf21d35c" wire="15" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="3872e691-10e2-4e95-a4c8-9d1bf2903624" wire="19" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="f3710a53-ec4b-4f6a-ab42-8abb37d48ac3" wire="20" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="3c90d2a6-49f9-4cfd-8edc-76b4e4b135ae" x="2" y="18">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="9804c053-e270-438b-85ef-ef05420e4781" wire="16" />
- </connections>
- </element>
- <element content="#IN31" subtype="load" type="operand" uuid="2122cbea-0bb3-4d5f-bb23-2f7528528054" x="2" y="19">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="466d3aef-9308-4f73-8e77-7e2e2c7fc051" wire="17" />
- </connections>
- </element>
- <element content="#OUT30" subtype="assign" type="operand" uuid="0668491e-588a-4018-a32d-b8d599b95284" x="4" y="18">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="0efe902b-68bf-47b8-8587-5c1ac2f2b196" wire="18" />
- </connections>
- </element>
- <element content="#IN41" subtype="load" type="operand" uuid="942f8175-08d8-4f82-955d-68e5cb7fa302" x="3" y="21">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="4353e6fb-a17e-46d2-9dc2-e281707afe47" wire="19" />
- </connections>
- </element>
- <element content="#OUT40" subtype="assign" type="operand" uuid="b30f9a5c-8d39-4435-8dd9-0b6e5c5d821b" x="5" y="21">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e9d3fea6-5780-49fb-891b-c04335ab8884" wire="20" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_5"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_5"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="EN0" type="BOOL" uuid="d8414dc7-4976-4f01-a1a1-b4646cc80a23" />
- <field name="IN00" type="INT" uuid="0856cd8a-aa83-44f8-8cda-6434622a182a" />
- <field name="IN01" type="INT" uuid="70b73968-1d39-47c9-8be5-e518050aca12" />
- <field name="EN1" type="BOOL" uuid="3aff6940-a4ff-4eec-8983-9512bbda617e" />
- <field name="IN11" type="INT" uuid="f893d720-b9d7-4fd3-bad0-5d53469d9684" />
- </inputs>
- <outputs>
- <field name="OUT00" type="INT" uuid="50499321-4045-4c63-bfca-995f65919bb7" />
- <field name="ENO0" type="BOOL" uuid="53f283bc-efa6-4c7a-beb7-c6e66fa178a4" />
- <field name="OUT10" type="INT" uuid="f7b65863-6c41-41e0-8419-fe07efcf52a8" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="1b069155-c1f3-4b17-8c6b-03d7c71b7a56" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="d4bc8432-2a82-4b8c-a286-b93bd0bc3e10" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="71328109-e223-4675-a019-ab4a31f9c2ba" />
- <wire id="1" uuid="49cab951-6be2-4d6d-8dd8-99ba64794658" />
- <wire id="2" uuid="0bcc4870-3eaf-4960-9394-9612639b5fa9" />
- <wire id="3" uuid="6bbd3e37-10bc-4006-8444-430dea8efac2" />
- <wire id="4" uuid="813f1b6b-2932-4f80-8d79-2aadac625cca" />
- <wire id="5" uuid="a8fd433e-c41b-49d6-976e-8fc185dcfb31" />
- <wire id="6" uuid="abfa4462-084e-4d56-b83c-0b7b33d8c89a" />
- <wire id="7" uuid="4d271e14-5bda-4bc1-8935-fcdfa150a6b1" />
- <wire id="8" uuid="23715578-970b-4f51-9239-be817473b2d4" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="b50682ce-cc11-4846-ad1f-235cb53529df" x="2" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="8c34b36d-a7c4-42de-8c52-ecabecdda46e" wire="1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="a01ba9e2-2554-4814-a1ef-ed60664f74c1" wire="2" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="7a68e59c-38e4-4010-b02d-73d9bbfc0ece" wire="3" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="5ba6b3e3-eb16-46cc-8f96-6eb81e35bc3c" wire="4" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="8713d3fe-2775-49c1-94bb-3d3fba1e86cb" wire="0" />
- <connection dir_in="0" dir_out="1" pos="2" text="ENO" uuid="03afab77-795e-4e73-b598-497bc852cb77" wire="5" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="6c4d10d6-f6a4-4fe8-a49d-8f198c08640a" x="6" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="71d67dcf-a212-4e06-908c-93c55e7e8a0f" wire="6" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="6d7cc63e-d210-498a-9494-7bdb0f2c3639" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="0648aeca-f7f8-4e84-b092-43797cd9e92e" wire="7" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="a6a9e999-776f-41e2-945e-e33e481ba1ff" wire="8" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="eca93f73-def2-4c2e-82d1-f3bb33b69165" wire="-1" />
- </connections>
- </element>
- <element content="#EN0" subtype="load" type="operand" uuid="edbd2c7d-00f7-4f60-bac4-8b1db0d42729" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1f2a22d5-144d-4434-80ab-d6b41a3c1ee8" wire="1" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="bed96f98-71e1-47b5-9753-a8f26978e62d" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="4b588ee2-3fab-4089-a686-4f79b013648a" wire="2" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="0adffa7a-227c-4a7a-9891-a03bea3a2602" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="b88961c1-c323-40e6-8cee-e635c822f831" wire="3" />
- </connections>
- </element>
- <element content="#OUT00" subtype="assign" type="operand" uuid="4793499f-53d3-479d-9fae-bae70aeaa4a2" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="b6cfc527-6869-4d6a-bd89-52fffd43d98e" wire="4" />
- </connections>
- </element>
- <element content="#ENO0" subtype="assign" type="operand" uuid="06504178-7d47-4549-8fa4-f5ed32102b23" x="3" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e9e8cf8f-3018-4434-a721-4bc2c6da8649" wire="5" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="2049e999-332b-4813-90b7-e11f48fd8c2c" x="5" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="391194c0-8b8a-45a7-a34d-679245cbb851" wire="6" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="048f0425-ed1c-4eef-8f81-15ba15f3f2c7" x="5" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5fedfa0f-37c0-464a-b9c5-f6e58f15ccf0" wire="7" />
- </connections>
- </element>
- <element content="#OUT10" subtype="assign" type="operand" uuid="b307545f-5b3a-42b7-afb4-1f5c416f2b6f" x="7" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="0d54bbc3-eeb5-4924-a31d-e44d6289784a" wire="8" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_6"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_6"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="9741f8e0-940d-4371-88a0-1442c8a93cf1" />
- <field name="IN01" type="INT" uuid="d8d0a14d-2a58-42b9-bfb0-02f78e339ab4" />
- <field name="EN0" type="BOOL" uuid="88b83be5-3f74-43fb-83f7-18a81d947c3f" />
- <field name="IN10" type="INT" uuid="ff4f9cfe-80d1-43a9-930d-a404d6cb65e9" />
- <field name="IN21" type="INT" uuid="86f7970a-4fb8-4d7c-a007-cd20e247cdf5" />
- <field name="IN30" type="INT" uuid="f79cfd94-d2c2-4e51-a355-3d673685d9b4" />
- <field name="EN3" type="BOOL" uuid="6a47e557-5396-4c9c-a28b-cfc2bb606dff" />
- </inputs>
- <outputs>
- <field name="ENO10" type="BOOL" uuid="9a1dbb02-c9c9-45ce-b687-d79fe9df6e7e" />
- <field name="ENO20" type="BOOL" uuid="c6f7aed0-cc3b-489a-937c-779e98aba1b0" />
- <field name="ENO30" type="BOOL" uuid="358a30ef-5439-4d87-8c9f-d55ea323a413" />
- <field name="OUT40" type="INT" uuid="d634dba1-9588-4bd0-a620-9268e6093edf" />
- <field name="ENO40" type="BOOL" uuid="f62bcf50-4e16-48cc-9ee0-184fa37f9675" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="d4e723f1-bac0-4d64-95c7-063fed07377a" />
- </retval>
- </interface>
- <grids>
- <grid height="18" uuid="fa0c4beb-f342-4a5c-a02a-866569468ad3" width="13">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="3b93b558-5480-433b-9b72-6bf3f72eb6db" />
- <wire id="1" uuid="805e099c-b38a-44b0-b91c-f861fe0f8703" />
- <wire id="2" uuid="249b9c70-6072-4273-94cf-361bd552bfa4" />
- <wire id="3" uuid="7df552c4-b940-4fa5-b59a-1424f9b95a3e" />
- <wire id="4" uuid="74e98f36-a9bf-4a69-9bd1-a27f950f725f" />
- <wire id="5" uuid="d4bfde4c-22a2-46d4-9693-99e69062ba32" />
- <wire id="6" uuid="8c248536-79e4-4f97-aee6-cc72427745a8" />
- <wire id="7" uuid="d7a92e2e-3afd-43ec-a271-ef97a44130d6" />
- <wire id="8" uuid="21f20eda-401a-4f3a-a820-aea1e8e7e9ee" />
- <wire id="9" uuid="87e1da55-7fd8-463b-ab7a-f222f0d8f7c1" />
- <wire id="10" uuid="68609a45-9d50-4004-be13-6ab1f381808f" />
- <wire id="11" uuid="8d302dbd-72a4-416e-b86b-a66122f15c5a" />
- <wire id="12" uuid="4ec21eb0-3efd-4bf0-8cc7-2ac70664962a" />
- <wire id="13" uuid="439b8ccc-79f2-43ad-b52a-6f438b56283b" />
- <wire id="14" uuid="4b85d217-7ddb-4d20-ad73-f51fc8c81ef6" />
- <wire id="15" uuid="5359d55f-4810-477a-b494-6c077225a0b6" />
- <wire id="16" uuid="c0dcbeae-4c20-44b1-a16f-71eb62c745b0" />
- <wire id="17" uuid="1d450084-6487-45e3-b22b-63991f6f4597" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="8ab977be-673b-4cba-98c7-bf0f1b1250ee" x="2" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="d1bc9f80-5ad5-46ed-af11-7bec405e82f7" wire="3" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="debb97c0-45b7-408b-9797-4ebed7061936" wire="4" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="b1c18072-6e86-444a-a2b7-c14479bb1e14" wire="5" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="c1c80e05-9a3d-48da-8ae7-a0207ecb0a9c" wire="0" />
- <connection dir_in="0" dir_out="1" pos="1" text="OUT1" uuid="a8f17143-c56e-4bfb-aef5-7efd492299f7" wire="1" />
- <connection dir_in="0" dir_out="1" pos="2" text="OUT2" uuid="7bb59f3a-5467-4e1a-8072-c0a35fa38420" wire="2" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="cdc5c9a6-3bd6-4443-9938-07b9419a6378" wire="-1" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="40d551f8-3ddc-4829-ae73-2cefacb60cc3" x="5" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="4f114131-f09b-458c-a4e1-12ffed4e1852" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="48a49ef4-a0c5-4753-99e2-c163e655b933" wire="6" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="90779c6d-a175-4bbc-ad11-dead19c52bca" wire="0" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f305c26c-20c6-4890-b20c-b55f86bdeeb7" wire="12" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="293357a1-6e41-40a2-af0e-c98566108518" wire="10" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="d57601af-6681-4a71-b91d-25df097cab68" x="5" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="26aab8ed-e39d-481d-813c-2047bdadf530" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="c0c46e47-3628-4313-a0d3-a3a3b24dfbc3" wire="1" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="2ae9570b-686b-48db-9c3d-dced4040fdd6" wire="7" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="ff81ac1c-144b-4e91-96be-1d470ab9714e" wire="13" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="58f1449e-e612-4654-8186-16dd4e1de81b" wire="15" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="b1df03fa-c3ef-4015-9aa4-24ecd35e06ae" x="5" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="375af119-7727-45f3-a2dc-4a94c1d0fb84" wire="9" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="e95e5188-8ead-44a9-afb1-6519e9ad0a69" wire="8" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="35671cc0-ee21-4af7-8e90-d3fb6bb578e7" wire="2" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="900f04c5-3705-4273-bfa7-fac5e669edae" wire="14" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="d56ad74c-eebf-4d1d-88cc-043fe146903a" wire="11" />
- </connections>
- </element>
- <element content="#EN0" subtype="load" type="operand" uuid="8d3c8723-b06a-4572-805d-4bb59fea32bd" x="1" y="5">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="bf1cb7fa-c087-4e4f-9a9a-47e53b2d349e" wire="3" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="666281cb-df50-4372-973c-ac5dcb3eb619" x="1" y="6">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="52e6d0bb-d9ab-4791-aadd-a251ae44f2c2" wire="4" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="5957cf92-8fa3-4e11-8047-6719ea13a576" x="1" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="c93c1ef3-c4b9-4eed-957f-128fea0e05e8" wire="5" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="47803046-38c9-4e09-a93e-dc97a0d16c24" x="4" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="eb3b884e-20c6-44ed-98be-dbfcff5f5691" wire="6" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="6a8996a7-073c-47f8-80fc-a20d2e964b84" x="4" y="7">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="27264ad2-77e9-4785-a784-aec66245afb6" wire="7" />
- </connections>
- </element>
- <element content="#IN30" subtype="load" type="operand" uuid="2023c29e-fecd-4904-bd93-382239a50c6e" x="4" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="2faa8eb4-3d8d-4209-a62b-750295f463ca" wire="8" />
- </connections>
- </element>
- <element content="#EN3" subtype="load" type="operand" uuid="0d95768e-9d40-4674-b7a9-d51ca0e5585a" x="4" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="41e59847-c682-42d6-a1c4-532c462856b6" wire="9" />
- </connections>
- </element>
- <element content="#ENO10" subtype="assign" type="operand" uuid="8f048459-c102-43e7-8385-4c5bc34086ba" x="6" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="3d70a79b-5650-4097-8b3a-b051e793865f" wire="10" />
- </connections>
- </element>
- <element content="#ENO30" subtype="assign" type="operand" uuid="7e93c5eb-dd86-422d-bf1e-988c4a3012d8" x="6" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="18084f17-3843-4414-9967-8b1359aed083" wire="11" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="4a22ad6f-8a60-44ff-9437-37df14281a18" x="8" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="4f53f43c-baf6-489d-9c43-0de30fa6c2d9" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="fb929c7d-a3f8-455a-8039-aa24d70d7a76" wire="12" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="472d08b0-d128-43ca-92fb-6e4afd31b5e7" wire="13" />
- <connection dir_in="1" dir_out="0" pos="3" text="IN2" uuid="cb9d5eba-7a67-4e33-8d53-f94ea75d7f4c" wire="14" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="8dadbcdb-668f-4b3b-a42d-1751e17c2b0b" wire="16" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="5028d3b5-5849-4696-b18f-8a08d8ae0ac6" wire="17" />
- </connections>
- </element>
- <element content="#ENO20" subtype="assign" type="operand" uuid="a0655bf3-ee4e-483e-bdb4-ff9f46a87484" x="6" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="2d8ac542-ff35-46ed-b229-141c5267ec09" wire="15" />
- </connections>
- </element>
- <element content="#OUT40" subtype="assign" type="operand" uuid="2bf2ca23-a411-450e-901a-2fc37968aa92" x="9" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="04000f54-f129-44ba-a171-2bcb83dc8f3e" wire="16" />
- </connections>
- </element>
- <element content="#ENO40" subtype="assign" type="operand" uuid="56220931-523a-40f4-9fda-04a2a2399769" x="9" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="2a531686-8f14-42fd-be48-8fc5119563d4" wire="17" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_7"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_7"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="74e5635e-1cfd-420d-9310-dcd39607c6e6" />
- <field name="IN01" type="INT" uuid="1b066adf-af07-4420-bb65-e71c21f4ec45" />
- <field name="EN0" type="BOOL" uuid="3a9f85c9-b9bc-468a-9801-b255aac5036a" />
- <field name="IN10" type="INT" uuid="ad98069a-b201-486f-89d8-42144f903a3b" />
- <field name="IN11" type="INT" uuid="07b8894a-4c78-453e-bd47-00a43d92d236" />
- <field name="EN1" type="BOOL" uuid="ae373a84-8776-4b00-88b6-ce9742ddd3ee" />
- <field name="IN20" type="INT" uuid="b783d29d-1811-445c-86c6-8284ee1009a1" />
- <field name="IN21" type="INT" uuid="95e0d92e-9e9a-462f-a5f4-90c2281e1201" />
- </inputs>
- <outputs>
- <field name="OUT0" type="INT" uuid="9814fe80-67e2-4d5d-bfeb-2894bc0f0f2e" />
- <field name="OUT0_EQ0" type="BOOL" uuid="2e038e06-161e-4855-86c5-a2ac4a1f7799" />
- <field name="OUT0_NE0" type="BOOL" uuid="b7e36e3d-3d66-4d7a-a87a-eb26d6ea1aeb" />
- <field name="OUT0_GT0" type="BOOL" uuid="2a479557-68a1-4f55-a905-d459150fe5a2" />
- <field name="OUT0_LT0" type="BOOL" uuid="44cd0137-4e34-4b7e-84c1-7aa8a78a4889" />
- <field name="OUT0_GE0" type="BOOL" uuid="7794d1f9-8d06-4054-b3e3-30174d12587d" />
- <field name="OUT0_LE0" type="BOOL" uuid="3b4496b1-c5c3-49cd-a178-0bcc9729a227" />
- <field name="OUT0_OV" type="BOOL" uuid="aa5574aa-7a0e-4b2d-85cd-dfed971f11d0" />
- <field name="OUT0_UO" type="BOOL" uuid="147d2484-a465-466e-9464-4a03046ab0a9" />
- <field name="ENO0" type="BOOL" uuid="7d1f596d-4d80-46bc-8ca8-623188ffa785" />
- <field name="OUT1" type="INT" uuid="d944efac-ffd8-4727-a136-1b196cb4930b" />
- <field name="OUT1_OV_UO" type="BOOL" uuid="24967827-0b9c-4aec-a8b2-1eac4764d037" />
- <field name="OUT1_OV" type="BOOL" uuid="f180486d-d1a0-49f7-9536-042c42839a0c" />
- <field name="OUT2" type="INT" uuid="55ba0a2d-44da-44ec-89e1-f6911c0d1745" />
- <field name="OUT2_OV_UO" type="BOOL" uuid="8ad4dc21-af1a-47e9-9911-3866adba20cf" />
- <field name="OUT2_OV" type="BOOL" uuid="9f180bf5-95c4-4cbf-a0f6-4d3372e5ab2d" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="cdb6f9f5-a60a-4420-bc8d-faa54120516d" />
- </retval>
- </interface>
- <grids>
- <grid height="27" uuid="a0f327a3-5486-4466-889a-ba5609c8bcfc" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="5e52088b-2c21-4c3e-8a1f-87ed02823ded" />
- <wire id="1" uuid="b7b886a3-d520-47c6-85ee-dc29c891aa6b" />
- <wire id="2" uuid="d82fd3f8-7b58-44c0-b026-01066d23a058" />
- <wire id="3" uuid="af719267-4f74-4399-ac5e-44b22f1b60d1" />
- <wire id="4" uuid="084395b7-d3d1-4eb6-b732-96cd59681460" />
- <wire id="5" uuid="21085892-b9d8-45bd-9f98-02f66d233527" />
- <wire id="6" uuid="9fe1b0ce-392a-486b-b781-8167b2f848a5" />
- <wire id="7" uuid="5b1c94cd-d9c9-4d14-8fea-cc51fe8cb386" />
- <wire id="8" uuid="b7a70958-a781-453b-b1aa-8c90fd21af18" />
- <wire id="9" uuid="078a1569-f4ee-4878-827d-083b9bad1cad" />
- <wire id="10" uuid="726cdc9e-c85f-4618-8c70-16fb04e7c9f6" />
- <wire id="11" uuid="16d7b78c-6e04-4962-8a1c-9c5da1b1e27e" />
- <wire id="12" uuid="54262782-313d-42cd-bb13-39a3bb8831bb" />
- <wire id="13" uuid="e2db403a-8035-4078-94be-f034cda72ab4" />
- <wire id="14" uuid="26d6e6bf-64e2-45ef-a432-6fcc5210b495" />
- <wire id="15" uuid="25a64487-761f-4abd-9e37-1a0f9da565f6" />
- <wire id="16" uuid="e6066ff6-9b08-48d8-ac5b-4040a5fc5c0c" />
- <wire id="17" uuid="cb9d986f-09ee-4501-9062-032a1b53487e" />
- <wire id="18" uuid="287816eb-3c98-4270-a07e-43228013aa63" />
- <wire id="19" uuid="e161388e-707f-456d-8692-b97cb93d980c" />
- <wire id="20" uuid="0d46d098-6a80-4d0b-9dbe-2a872ca403a0" />
- <wire id="21" uuid="a854e246-3994-47f3-ac09-57b8f1865c0f" />
- <wire id="22" uuid="cc97b2f6-4887-4a13-b32c-321618ea66aa" />
- <wire id="23" uuid="411724b7-cfd6-4c8a-84d9-0261f6825800" />
- <wire id="24" uuid="56395b2f-597c-4f22-88a9-d878cc566f3b" />
- <wire id="25" uuid="e932c383-39c6-424f-a2c7-a896936d2ef1" />
- </wires>
- <elements>
- <element subtype="add-int" type="arithmetic" uuid="1598212b-ed1f-4824-86e4-df468bd68315" x="2" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="e67ded36-a164-4511-a984-893a0c4646f1" wire="11" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="cf7baabd-c9f2-4ac7-b1d4-856b2ea8c421" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="5d9d00bf-8061-411c-af08-42d1fedf1f4e" wire="1" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="f0594259-98bf-4d54-9659-d32c13ee7619" wire="2" />
- <connection dir_in="0" dir_out="1" pos="1" text="==0" uuid="ff502787-9773-4906-846c-37f96eb5c703" wire="3" />
- <connection dir_in="0" dir_out="1" pos="2" text="<>0" uuid="d6af8c2c-bff1-40c0-883f-6c4ba692f54b" wire="4" />
- <connection dir_in="0" dir_out="1" pos="3" text=">0" uuid="8f6779a3-1590-4444-b071-e71675bab811" wire="5" />
- <connection dir_in="0" dir_out="1" pos="4" text="<0" uuid="91b97830-cb3b-4676-856b-263a15c5a3e8" wire="6" />
- <connection dir_in="0" dir_out="1" pos="5" text=">=0" uuid="0762d35d-15a6-483e-9921-2b1777b0d642" wire="7" />
- <connection dir_in="0" dir_out="1" pos="6" text="<=0" uuid="86fc1f29-0c32-4de7-936b-6acd94594d8d" wire="8" />
- <connection dir_in="0" dir_out="1" pos="7" text="OV" uuid="2bd45a4a-0f16-4602-9555-af4e87f96d4d" wire="9" />
- <connection dir_in="0" dir_out="1" pos="8" text="UO" uuid="460b4f96-b9d1-47d5-9b65-02fe948ef527" wire="10" />
- <connection dir_in="0" dir_out="1" pos="9" text="ENO" uuid="a86c1cef-9fdc-40f9-babf-a70586f6088d" wire="12" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="2f862402-a027-4ffa-b071-e7647252478b" x="1" y="2">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="66af38c6-2527-4a21-aedd-c9fcc5a5bd14" wire="0" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="a776b9e3-3da3-498b-82f2-8f1ad775066d" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="a43e5af2-675a-4506-95c8-5ec9b950edb7" wire="1" />
- </connections>
- </element>
- <element content="#OUT0" subtype="assign" type="operand" uuid="7de3367c-12a0-4ee9-a2a0-526f6ad47b4c" x="3" y="1">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="c7371e7d-2752-4477-a5a0-5152eb428792" wire="2" />
- </connections>
- </element>
- <element content="#OUT0_EQ0" subtype="assign" type="operand" uuid="86d3b0a3-8460-49a9-b938-879ca336b732" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e1da9931-0b36-46af-b666-f14470c2d584" wire="3" />
- </connections>
- </element>
- <element content="#OUT0_NE0" subtype="assign" type="operand" uuid="02441733-e702-4e90-a879-770ebf7689fb" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="8f34ecd7-a1a5-4a27-8eed-3684d61167c6" wire="4" />
- </connections>
- </element>
- <element content="#OUT0_GT0" subtype="assign" type="operand" uuid="940b265a-e865-4601-b258-25fc72d506d8" x="3" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="cf3d5de0-4694-4146-baf2-2ae671359c1b" wire="5" />
- </connections>
- </element>
- <element content="#OUT0_LT0" subtype="assign" type="operand" uuid="58be7775-4072-43fa-b17e-8cd9c2dc5f89" x="3" y="5">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="3b78d4db-b8f1-4e08-9107-e67817ebdef0" wire="6" />
- </connections>
- </element>
- <element content="#OUT0_GE0" subtype="assign" type="operand" uuid="dfa805e3-76c3-4ba9-adf4-4f727b0f6337" x="3" y="6">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="e97d9780-642e-43c5-b127-ba0410811c68" wire="7" />
- </connections>
- </element>
- <element content="#OUT0_LE0" subtype="assign" type="operand" uuid="3e367fac-b90e-48cf-ba56-167b1b7120d2" x="3" y="7">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="42328fbd-ff81-44e9-af9a-ffcd531e21ea" wire="8" />
- </connections>
- </element>
- <element content="#OUT0_OV" subtype="assign" type="operand" uuid="19a691f4-bb99-4a73-8888-2c4318273a2c" x="3" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="89600d10-9a97-4268-9df3-0722e90278ff" wire="9" />
- </connections>
- </element>
- <element content="#OUT0_UO" subtype="assign" type="operand" uuid="c09fc49e-c1e0-4a9f-88f7-4f070f6d8288" x="3" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="fad4c572-0cc2-481f-97ef-d181ef515123" wire="10" />
- </connections>
- </element>
- <element content="#EN0" subtype="load" type="operand" uuid="cb99af6a-0f6a-42fc-89e3-ace72ab85a6f" x="1" y="1">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5add780b-6a6f-4308-b839-2bb0fd7dadf6" wire="11" />
- </connections>
- </element>
- <element content="#ENO0" subtype="assign" type="operand" uuid="c8c4b105-f35e-418a-80d6-47baa28d4e35" x="3" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="2da2ae53-53e9-4f68-b573-4e06a87d6364" wire="12" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="df8021f7-57d9-40e6-91ea-ecc2b56b9f51" x="2" y="13">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="7fb1845d-64dd-410c-913b-4cf4d3ae3399" wire="15" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="8361a1b2-24bd-4c11-b3ba-c7bfd4c15b2e" wire="13" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="709e8c2e-b0e9-47ac-90c6-b654b0fad522" wire="14" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="baaae10f-37db-4819-a550-133f766f8275" wire="25" />
- <connection dir_in="0" dir_out="1" pos="1" text="OV" uuid="3be71a62-274a-4819-b47a-ebdd90d90428" wire="17" />
- <connection dir_in="0" dir_out="1" pos="2" text="UO" uuid="caf0fef6-74b1-4e45-99d1-6b77529be300" wire="18" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="1436c5e3-1fdb-48e1-ad97-dc6fee9b5beb" wire="-1" />
- </connections>
- </element>
- <element content="#OUT1_OV_UO" subtype="assign" type="operand" uuid="6610cc98-d123-45d5-a19d-17b6bf347677" x="6" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="910f2b9f-870a-486f-a558-5ea7c3128d89" wire="16" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="340beba4-2c16-4c95-b8b3-a531b30eb8b3" x="1" y="14">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="fec301ce-a7bc-4e5b-aa9d-f23b954f44ef" wire="13" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="2dba5639-f983-40e6-81d1-d6c1970ae3bd" x="1" y="15">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5958c76a-1123-4339-8a81-90abbbd61208" wire="14" />
- </connections>
- </element>
- <element content="#OUT1" subtype="assign" type="operand" uuid="1bc11234-262f-4cd4-b3d8-b92a9113c19c" x="3" y="12">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="2106aca7-5877-4136-a624-e77b4fff0d47" wire="25" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="06d4ec4a-21b9-46fc-b1e1-816b22859cb4" x="1" y="13">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="afb51046-baf0-4918-9ba3-1213e91086b2" wire="15" />
- </connections>
- </element>
- <element subtype="or" type="boolean" uuid="9879cba5-bfe2-45ed-9745-6c4c5bab5345" x="5" y="14">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="6f928e76-4631-4c41-ba03-f43e29e5b47b" wire="17" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="cd54fbba-5dfc-467f-b705-fcb1720a36f4" wire="18" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="690d5fdd-b816-4032-acae-6bb25feab97b" wire="16" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="f7d18d54-ba56-4ffd-b111-bec2704d953c" x="2" y="19">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="d8e429fe-675a-4b27-8a62-3a89b0a826cc" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="5b7e4f9c-4f3b-45c7-8663-29bf4ca4aae7" wire="19" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="7aabfadf-3718-4d68-82e4-1f61f3d8d9d9" wire="20" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="cc204e95-1877-43ab-a805-39078e9f095c" wire="21" />
- <connection dir_in="0" dir_out="1" pos="1" text="OV" uuid="b2738aee-cbd5-4bbf-96d0-d0f4e65d3bc5" wire="22" />
- <connection dir_in="0" dir_out="1" pos="2" text="UO" uuid="a61f9687-407d-4ba4-8fe1-81ce0e03ef2c" wire="23" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="52743e44-10e4-49e1-8f06-917dabfb4495" wire="-1" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="bb3ac2fe-a24d-4d66-b387-212a81897e7f" x="1" y="20">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="f07147d8-8b0c-4b56-b0d4-6c07e139169e" wire="19" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="6d7afd08-52a7-41e8-9812-fc7ca0793c31" x="1" y="21">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="3fa1d201-f96e-4d31-b739-4a9ff0d02410" wire="20" />
- </connections>
- </element>
- <element content="#OUT2" subtype="assign" type="operand" uuid="718970ad-1829-4b5b-a666-c45f4afa3989" x="3" y="18">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="cb8335dc-7af7-45b4-8863-b8077b1f2278" wire="21" />
- </connections>
- </element>
- <element subtype="or" type="boolean" uuid="073d097d-e4a4-4e2b-bd5d-7254a79357be" x="5" y="20">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="d7426609-9e7c-4e63-8e63-29a7dd13e72d" wire="22" />
- <connection dir_in="1" dir_out="0" pos="1" uuid="962ba94f-e6d5-44be-a3ae-445a9373b7c4" wire="23" />
- <connection dir_in="0" dir_out="1" pos="0" text="Q" uuid="e26d09dc-2d52-4598-b8d2-8c05989258f6" wire="24" />
- </connections>
- </element>
- <element content="#OUT2_OV_UO" subtype="assign" type="operand" uuid="5bbeacf9-62b5-4360-890e-add05761bdf5" x="6" y="21">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="5d0c1ae0-4f87-4d9b-ace5-a86150bdd723" wire="24" />
- </connections>
- </element>
- <element content="#OUT1_OV" subtype="assign" type="operand" uuid="fde1bd11-0347-430f-9bd7-afa44df0d77e" x="4" y="13">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="ff767e4c-90ba-49ca-b0bf-d7e1476b776f" wire="17" />
- </connections>
- </element>
- <element content="#OUT2_OV" subtype="assign" type="operand" uuid="f2a6b56c-2b28-4cd5-96d0-c55d04c04506" x="4" y="19">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="3b71f595-a11d-45aa-8175-aaf2546d38ad" wire="22" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- <!-- FUP/FBD source code -->
- <source enabled="1"
- name="arith_8"
- type="1"><![CDATA[
- <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
- <!-- Awlsim FUP/FBD source generated by awlsim-0.66.0-pre -->
- <FUP version="0" zoom="1.0">
- <blockdecl name='"FC_arith_8"' type="FC" />
- <interface allow_initvalue="0"
- allow_inouts="1"
- allow_inputs="1"
- allow_outputs="1"
- allow_retval="1"
- allow_stats="0"
- allow_temps="1">
- <inputs>
- <field name="IN00" type="INT" uuid="46941482-fc30-421e-b975-6b7ee6fccfaf" />
- <field name="IN01" type="INT" uuid="3d00ed45-981a-4219-8997-07563225f0af" />
- <field name="EN1" type="BOOL" uuid="9d62c863-7db6-4578-be24-0b605346218f" />
- <field name="IN10" type="INT" uuid="8bce9c4d-96f3-4d98-b209-c58dd6b2490e" />
- <field name="IN11" type="INT" uuid="8d392c81-f36f-424d-b283-9a751c6e7b9f" />
- <field name="IN20" type="INT" uuid="656ab62e-9307-419d-824b-f9c53b82d510" />
- <field name="IN21" type="INT" uuid="581e3be7-6b8a-4832-a94f-dbf34e1a807e" />
- <field name="IN22" type="INT" uuid="3ed85f8d-67d6-4546-9c5f-be712b503b34" />
- </inputs>
- <outputs>
- <field name="OUT0" type="INT" uuid="20fcf2cb-c6a5-436f-bad8-8a67f12a035f" />
- <field name="OUT0_REM" type="INT" uuid="34d1f701-6f7c-434a-9e86-40c3fe2afc59" />
- <field name="OUT0_GT0" type="BOOL" uuid="b3db3265-d5db-4b9c-ac88-13d8a17e0302" />
- <field name="OUT1" type="INT" uuid="f042ac2e-3516-4c4f-b1d8-40b2bfa36ae0" />
- <field name="OUT1_REM" type="INT" uuid="2fa6984a-9a6e-4623-9ca6-79bfdbb7062e" />
- <field name="OUT1_GT0" type="BOOL" uuid="a0a73eb6-96b5-4cc2-bafb-bdfab37e3a99" />
- <field name="ENO1" type="BOOL" uuid="45726b73-fc16-4dcb-902c-5ca5c43aac8c" />
- <field name="OUT20" type="INT" uuid="008e5ec1-8f3e-4b63-b54c-f1f50630b861" />
- <field name="OUT2_GT0" type="BOOL" uuid="e5a05c9f-028f-49d1-8e39-5ef655a5d6ad" />
- <field name="OUT21" type="INT" uuid="d43eb543-33b0-448b-9d0c-094825a14038" />
- </outputs>
- <retval>
- <field name="RET_VAL" type="VOID" uuid="99557542-591e-468b-a09e-cb78d3efed4f" />
- </retval>
- </interface>
- <grids>
- <grid height="22" uuid="95142c2c-7b87-48d7-9918-1b77d7a4596d" width="12">
- <optimizers all="1" enabled="1" type="awl" />
- <wires>
- <wire id="0" uuid="128ee498-73f0-4024-a9f5-b77adf1e6bea" />
- <wire id="1" uuid="7070ca53-f996-4927-8761-a9589726c09d" />
- <wire id="2" uuid="5200016e-9c1d-4afb-8d7d-4a5c553ba2cd" />
- <wire id="3" uuid="7911651f-c943-4ab6-8bef-4180a7f3c4d0" />
- <wire id="4" uuid="c1436c46-e056-4d6f-a8c7-d57685a58a6c" />
- <wire id="5" uuid="2527d3fb-8883-44aa-959a-e15346fe7e4a" />
- <wire id="6" uuid="9578a5d3-6fe0-4ad0-ab3e-78df4a0702d7" />
- <wire id="7" uuid="88c3bb9c-00d6-4ac3-8d47-2704b146128d" />
- <wire id="8" uuid="cd7620c7-5e3a-4cc2-b182-94486501c3c6" />
- <wire id="9" uuid="4fa86c73-be02-4960-a2d6-ee59ea907369" />
- <wire id="10" uuid="3b84d079-7753-4d7a-8929-e9a2df6df283" />
- <wire id="11" uuid="f396c47a-d016-4350-a1ff-e18a40991185" />
- <wire id="12" uuid="c0c72d68-f86a-496a-ac10-64cb4510b7b0" />
- <wire id="13" uuid="8eb21d86-b95b-49d9-ad9b-0cd2d3353593" />
- <wire id="14" uuid="b10af85c-0090-46ba-8c87-b595c85e5756" />
- <wire id="15" uuid="29f054aa-2cb1-4484-93a5-5704648e23e6" />
- <wire id="16" uuid="3c07b0f7-0ce2-479d-86c0-ca5c6c6616f5" />
- <wire id="17" uuid="b07a5e36-97eb-494f-8cdc-ed02d5783c46" />
- <wire id="18" uuid="ea4e5c19-6db2-4e84-9a26-fa17e46dcfd2" />
- </wires>
- <elements>
- <element subtype="div-int" type="arithmetic" uuid="1a348c50-841e-47f5-819e-73d7949b6503" x="2" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="67d35332-b367-4c74-aeae-a7cee3e6ad07" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="9d1700b2-e944-4e4e-b8fc-534e7da701fb" wire="0" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="c895814b-019e-49fd-aa8d-2513b9645988" wire="1" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="b238f536-fbc1-47c7-91b7-d0f90a05fc02" wire="2" />
- <connection dir_in="0" dir_out="1" pos="1" text="REM" uuid="fef6bf46-a83d-4d4d-8880-f9fbcda95fd0" wire="3" />
- <connection dir_in="0" dir_out="1" pos="2" text=">0" uuid="6436b769-e048-47f2-b7be-bd707b295ebd" wire="4" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="4dc1b08d-3e03-4920-923f-7099cba9f2da" wire="-1" />
- </connections>
- </element>
- <element content="#IN00" subtype="load" type="operand" uuid="280343ff-ad6a-441d-91ee-eab3a0fc017e" x="1" y="3">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="5b2da24d-8bfe-45bd-b4fa-fb92888cb41c" wire="0" />
- </connections>
- </element>
- <element content="#IN01" subtype="load" type="operand" uuid="4068eb1f-efd6-475f-884d-742e5671cc72" x="1" y="4">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="d8462a6b-1ffb-408a-a0bc-2c3e44b2e5f0" wire="1" />
- </connections>
- </element>
- <element content="#OUT0" subtype="assign" type="operand" uuid="47b544b9-2688-480d-b273-bc1a0f8c7f80" x="3" y="2">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="cc6f4c68-6e00-474c-b165-f0f7a29bf7e4" wire="2" />
- </connections>
- </element>
- <element content="#OUT0_REM" subtype="assign" type="operand" uuid="647eaee8-ec5a-4e0f-9ade-b6cb2fbecdee" x="3" y="3">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="37ac19db-674c-4abc-b48c-6e303e7722e9" wire="3" />
- </connections>
- </element>
- <element content="#OUT0_GT0" subtype="assign" type="operand" uuid="7a64e819-c898-47a2-b46c-57492379752f" x="3" y="4">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="ee308809-666b-474f-bb9e-4f097ff08b69" wire="4" />
- </connections>
- </element>
- <element subtype="div-int" type="arithmetic" uuid="992cf539-adc7-407e-86d1-17eb96d10b09" x="2" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="5b5c493b-c444-4156-870c-59b731a774cd" wire="10" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="00514ebb-85de-4ec5-b176-13d36a762da2" wire="5" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="99c07444-6d3b-4787-8a43-bda8641de2e2" wire="6" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="03ca342a-61d3-45db-99ac-cf19e227db40" wire="7" />
- <connection dir_in="0" dir_out="1" pos="1" text="REM" uuid="327f6b50-fee1-4988-8547-bc937bc90fe1" wire="8" />
- <connection dir_in="0" dir_out="1" pos="2" text=">0" uuid="287698db-b373-43af-9491-cab766ba7cd4" wire="9" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="d6658d13-e22d-490d-a1bd-d0884de3f855" wire="11" />
- </connections>
- </element>
- <element content="#IN10" subtype="load" type="operand" uuid="d08ef31a-3033-4c20-974d-aab59f3415ea" x="1" y="9">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="e4241acf-e96d-49b1-aca8-f78e33565961" wire="5" />
- </connections>
- </element>
- <element content="#IN11" subtype="load" type="operand" uuid="c9a55f03-3225-4ee1-92bb-93fa315a3355" x="1" y="10">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="1eaecb39-8e67-434e-b92e-004f95c9edac" wire="6" />
- </connections>
- </element>
- <element content="#OUT1" subtype="assign" type="operand" uuid="94ce0ea1-e913-4802-ad79-acd03da6d6a5" x="3" y="8">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="a95c924b-4954-4887-af5b-2655e406cddb" wire="7" />
- </connections>
- </element>
- <element content="#OUT1_REM" subtype="assign" type="operand" uuid="afed376d-56dc-40f2-b958-38926b8c77c3" x="3" y="9">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="a9f9bf73-c70d-4fab-84a8-249419e04960" wire="8" />
- </connections>
- </element>
- <element content="#OUT1_GT0" subtype="assign" type="operand" uuid="7daa2c6a-add2-4274-8e4e-66dd7eb902d5" x="3" y="10">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="88f9c4a3-8da1-4d5d-a9ab-47df15fd5573" wire="9" />
- </connections>
- </element>
- <element content="#EN1" subtype="load" type="operand" uuid="606858bd-5edf-40de-b492-5ba76eefea08" x="1" y="8">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="ea74d70c-9abc-48e3-aa2b-3e33884672dc" wire="10" />
- </connections>
- </element>
- <element content="#ENO1" subtype="assign" type="operand" uuid="9ebe4b70-222d-4fc4-b3ec-03343e45bff7" x="3" y="11">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="b15428b2-5726-4033-8ccd-bdab13382af9" wire="11" />
- </connections>
- </element>
- <element subtype="div-int" type="arithmetic" uuid="d95ffd6b-c5b3-4856-b0bf-3f26f5c35165" x="2" y="14">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="d83cd590-6b3e-43e1-bca2-254d26e3474b" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="8d8af6ea-47ba-4790-bb69-172a734af429" wire="13" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="dad24f50-aab6-45b9-a1fd-ed8bc920bbfe" wire="14" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="995aac54-14be-40af-8d86-442158d5b29c" wire="18" />
- <connection dir_in="0" dir_out="1" pos="1" text="REM" uuid="d7f0668e-7f0f-4186-8965-f8a3cb1cde6b" wire="12" />
- <connection dir_in="0" dir_out="1" pos="2" text=">0" uuid="4bff0ae6-f323-4f33-a078-a566690652fe" wire="17" />
- <connection dir_in="0" dir_out="1" pos="3" text="ENO" uuid="bc4f19b0-bcf5-4261-8b18-62aa533d6cc9" wire="-1" />
- </connections>
- </element>
- <element subtype="add-int" type="arithmetic" uuid="7949b645-9d21-43c3-9715-df9ff5e13811" x="5" y="14">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" text="EN" uuid="88effd96-18ff-4c61-976e-8e4687f965d7" wire="-1" />
- <connection dir_in="1" dir_out="0" pos="1" text="IN0" uuid="714eea08-8bad-4e5c-8c8c-afb07b2fe0f8" wire="12" />
- <connection dir_in="1" dir_out="0" pos="2" text="IN1" uuid="b118bb19-4ab3-4f4f-a1e0-aa5ad5ba4963" wire="15" />
- <connection dir_in="0" dir_out="1" pos="0" text="OUT0" uuid="98d42a13-6abb-4232-a1fa-2bdffe34678a" wire="16" />
- <connection dir_in="0" dir_out="1" pos="1" text="ENO" uuid="811cf813-43ee-4769-9612-fe327dd1cda4" wire="-1" />
- </connections>
- </element>
- <element content="#IN20" subtype="load" type="operand" uuid="f799fff2-5751-4185-8e9e-1263981359c5" x="1" y="15">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="d5c329bd-7f29-437d-985d-4c69b458c32e" wire="13" />
- </connections>
- </element>
- <element content="#IN21" subtype="load" type="operand" uuid="4dda7807-d983-4603-8a2b-7bb447eb3e49" x="1" y="16">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="f1e7f6fd-08d0-4099-a18c-24c21f448bcc" wire="14" />
- </connections>
- </element>
- <element content="#IN22" subtype="load" type="operand" uuid="d73313c0-191f-4bb8-a6e5-021abb552456" x="4" y="16">
- <connections>
- <connection dir_in="0" dir_out="1" pos="0" uuid="a9edc30f-9cd0-4a2e-b04c-01ae1f5fc2a1" wire="15" />
- </connections>
- </element>
- <element content="#OUT21" subtype="assign" type="operand" uuid="5fe71f21-a09d-4254-a796-e056d1974901" x="6" y="15">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="76f5add2-b2f8-42f8-ba9a-9e60d5d1efcf" wire="16" />
- </connections>
- </element>
- <element content="#OUT2_GT0" subtype="assign" type="operand" uuid="90656a4a-e5b0-4eaa-b40c-63a673171be5" x="3" y="16">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="42c8fc56-05d0-4f78-b319-ad94c0c20911" wire="17" />
- </connections>
- </element>
- <element content="#OUT20" subtype="assign" type="operand" uuid="c58f768f-8e28-4526-b05d-a8c9d8738866" x="3" y="14">
- <connections>
- <connection dir_in="1" dir_out="0" pos="0" uuid="caf322b1-40f2-43cf-86dd-95724abfbc0d" wire="18" />
- </connections>
- </element>
- </elements>
- </grid>
- </grids>
- </FUP>
- ]]></source>
- </language_fup>
- <!-- Symbol table configuration -->
- <symbols>
- <!-- symbol table source code -->
- <source enabled="1"
- name="Main table"
- type="3"><![CDATA[
- 126,FC_arith_0 FC 0 FC 0
- 126,FC_TEST_arith_0 FC 1 FC 1
- 126,FC_arith_1 FC 10 FC 10
- 126,FC_TEST_arith_1 FC 11 FC 11
- 126,FC_arith_2 FC 20 FC 20
- 126,FC_TEST_arith_2 FC 21 FC 21
- 126,FC_arith_3 FC 30 FC 30
- 126,FC_TEST_arith_3 FC 31 FC 31
- 126,FC_arith_4 FC 40 FC 40
- 126,FC_TEST_arith_4 FC 41 FC 41
- 126,FC_arith_5 FC 50 FC 50
- 126,FC_TEST_arith_5 FC 51 FC 51
- 126,FC_arith_6 FC 60 FC 60
- 126,FC_TEST_arith_6 FC 61 FC 61
- 126,FC_arith_7 FC 70 FC 70
- 126,FC_TEST_arith_7 FC 71 FC 71
- 126,FC_arith_8 FC 80 FC 80
- 126,FC_TEST_arith_8 FC 81 FC 81
- ]]></source>
- </symbols>
- <!-- Core server link configuration -->
- <core_link>
- <!-- Locally spawned core server -->
- <spawn_local enable="1"
- interpreters="$DEFAULT"
- port_range_begin="4183"
- port_range_end="8278" />
- <!-- Remote server connection -->
- <connect host="localhost"
- port="4151"
- timeout_ms="3000" />
- <!-- Transport tunnel -->
- <tunnel local_port="-1"
- type="0">
- <ssh executable="ssh"
- port="22"
- user="pi" />
- </tunnel>
- </core_link>
- <!-- Graphical user interface configuration -->
- <gui>
- <editor autoindent="1"
- paste_autoindent="1"
- validation="1" />
- </gui>
- </awlsim_project>
|