@webwriter/logic-circuit
Version:
Create and simulate circuits with logic gates (AND, OR, XOR, etc.).
16 lines (15 loc) • 787 B
HTML
<webwriter-logic-circuit
id="ww-5c046e59-9ab6-4c1c-9298-180636095471"
class="ww-widget ww-v1.0.0-local"
reflectgates="0|XOR|1970px|1226px,1|AND|1969px|1309px,2|INPUT|1601px|1117px,3|INPUT|1610px|1206px,4|SPLITTER|1716px|1125px,5|SPLITTER|1720px|1207px,6|OUTPUT|2058px|1225px,7|OUTPUT|2063px|1309px"
reflectcons="inputGate2Out|splitterGate4In1,inputGate3Out|splitterGate5In1,splitterGate4Out3|andGate1In1,splitterGate4Out2|xorGate0In1,splitterGate5Out2|xorGate0In2,splitterGate5Out3|andGate1In2,xorGate0Out|outputGate6In1,andGate1Out|outputGate7In1"
allowsimulation="1"
notgateallowed="-1"
andgateallowed="-1"
orgateallowed="-1"
nandgateallowed="-1"
norgateallowed="-1"
xnorgateallowed="-1"
xorgateallowed="-1"
splitterallowed="-1"
></webwriter-logic-circuit>