<center></center> #### What is HALF SUBTRACTOR? | [Half Subtractor](https://www.electronics-tutorials.ws/combination/binary-subtractor.html) is a combination logic circuit that is the opposite of the [Half Adder](https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-2-half-adder-2-bit-adder-logic-circuit-simulation) logic circuit that subtracts two binary numbers from each other, for example, X – Y to find the resulting difference between the two numbers.| |:---:| #### Intended Learning Outcome (What Will I Learn?) <hr> After reading and participating in this tutorial, the readers should be able to: - learn how to convert a Half Adder by adding a NOT gate in order to convert it to Half Subtractor using simulation; - create a digital logic circuit for Half Subtractor simulation ; and, - simulate the created Half Subtractor simulation digital logic circuit. #### Requirements <hr> To be able to follow this tutorial, you should have the following tools at hand: - A desktop PC or laptop with Windows (7, 8, 10) operating system; and, - A BOOLR latest release version which you can download at its Github repository [GGBRW/BOOLR](https://github.com/ggbrw/boolr/releases) or vist its website at [boolr.me](boolr.me) #### Difficulty <hr> - Basic #### Part 1: Setting up a new project the BOOLR app. <hr> 1 | Open BOOLR.exe from the downloaded latest release zip file of the app. <center> </center> 2 | Create a new project by clicking NEW BOARD. <center> </center> Then, you will be directed to Create New Board where you are ask to type in the name of the new board. <center></center> Type in the board name. For this tutorial, lets have "Half Subtractor" as board name. <center> </center> 3 | Click  to finalize setting up a new project. <center> </center> | For the basic operations and functions of the BOOLR Digital Logic Simulation, you are advise to read [Introduction](https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-1-introduction-to-boolr-digital-logic-simulation). | |:---:| #### Part 2: Creating a Half Subtractor Digital Logic Circuit in BOOLR <hr> Now, we create a circuit in the BOOLR. For this tutorial, we will create the subractor circuit a from the basic config of [Half Adder](https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-2-half-adder-2-bit-adder-logic-circuit-simulation). You may read my last tutorial about [Half Adder](https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-2-half-adder-2-bit-adder-logic-circuit-simulation). 1 | We start by adding the base component similar to a Half Adder. Add the XOR gate in the worksheet, simply click at where you want the to add the component. <center> </center> 2 | Add AND gate by clicking  and following the process mentioned in step 2. Place it below the XOR gate. Make sure that the not gate is not connected to the output of the XOR gate. <center></center> 3 | Add a NOT gate by clicking  then follow the step 2 in adding the component in the worksheet. | Discussion: A NOT gate operates that it inverts the value of the input. For example, a low input becomes a high output. You can browse the truth table by right clicking the . <br><center></center> | |:---:| 4 | Select input devices from  . From the menu click on INPUT. <center></center> 5 | Add two set of input on the left of the XOR gate but not directly connected to. Follow what is shown below. <center></center> 6 | Add an OUTPUT as an output to both XOR and OR gate. Follow step 4 but click on OUTPUT. <center></center> 7 | Connect input to XOR, AND and NOT terminal. <center></center> 9 | Connect output to XOR and AND. <center></center> #### Part 3: Simulation of the created FULL ADDER logic gate <hr> | How does HALF SUBTRACTOR works?| |:---:| | [HALF SUBTRACTOR](http://isweb.redwoods.edu/instruct/calderwoodd/diglogic/full.htm) is a combination logic circuit that perform subtraction of two bits. It has two inputs, the minuend X and subtrahend Y and two outputs the difference D and borrow out B out. It follows the truth table below.<br><center><br>In the logic simulator, the DIFFERENCE output is the output connected to the XOR gate and the BORROW is connected to AND gate.<br></center>| 1 |Verify the simulation button if it is play or paused. Pause button indicates simulation is going on, while Play button signifies the simulation is paused.By default, the BOOLR app is always on simulation. <center></center> 2 | Verifying our discussion earlier, input the values. Observe the result at the OUTPUT. To change the values of input, click on the number inside the input symbol. <center></center> 3 | Change values of input to 1 and 1 respectively. Follow step 2 on how to change the input values. <center></center> #### Result of Simulation according to the truth table values. | <center><br><br><br></center>| |:---:| #### Curriculum <hr> You can browse the other curriculum for **BOOBLR Digital Logic Simulator**. - [Introduction to BOOLR Digital Logic Simulation](https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-1-introduction-to-boolr-digital-logic-simulation) - [Half Adder Logic Simulation](https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-2-half-adder-2-bit-adder-logic-circuit-simulation) - [Full Adder Logic Simulation](https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-3-full-adder-logic-circuit-simulation) <br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation">Utopian.io - Rewarding Open Source Contributors</a></em><hr/>
author | juecoree | ||||||
---|---|---|---|---|---|---|---|
permlink | boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation | ||||||
category | utopian-io | ||||||
json_metadata | {"community":"utopian","app":"utopian/1.0.0","format":"markdown","repository":{"id":66222010,"name":"BOOLR","full_name":"GGBRW/BOOLR","html_url":"https://github.com/GGBRW/BOOLR","fork":false,"owner":{"login":"GGBRW"}},"pullRequests":[],"platform":"github","type":"tutorials","tags":["utopian-io","tutorial","technology","cebu","philippines"],"users":["juecoree"],"links":["https://www.electronics-tutorials.ws/combination/binary-subtractor.html","https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-2-half-adder-2-bit-adder-logic-circuit-simulation","https://github.com/ggbrw/boolr/releases","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517613650/wlka5zwgovyqtlxfwcbm.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517613984/eapzzphphf9gkjfxdrex.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517614234/enpk1gupe4yy5j5vcmy0.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518073996/jdkppluqc2ux7igdmn0d.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517618923/yeqbrqhsglndmfvhreqc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074044/n06lblsmm2ne336wrs3h.png","https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-1-introduction-to-boolr-digital-logic-simulation","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074259/u5jicavtsypwjqnqwav7.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517983303/r44ev81yogabaqzm53zv.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074351/lhseb0cwgju9t3dl7bpo.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074789/exfdiuihyn3wqex2ljzo.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075194/dhixoh3ysyq0odly6sly.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517620728/ptdrc48qirdkwpfptusl.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075488/wpxoo6wmnh8ojungumdt.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075559/lgg3qmi5yqjvuvixm2iu.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075700/thu1ejo0pcyfu24thv0p.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075800/u3slnr3oj5oaupa9l2p6.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518076133/hngfhfjohs2fo8rjeqgd.png","http://isweb.redwoods.edu/instruct/calderwoodd/diglogic/full.htm","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077215/ruqjytkey6fmvdl23d7b.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518078322/mdshqvtdaoo1wearmsxd.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077836/kz6twrnsclfm9a7dc2wl.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077869/ywcucbbelqvoyim2lcuf.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077906/i8anjudzosdh3ulknma5.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077949/zobzalxpcvwengguwbcq.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077968/m8pkgbvvp2lnk3ojmjvu.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518078043/aguhrorjcwr3pt79md2h.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518078062/dcpgsfhqtpmceugk5ucs.png","https://utopian.io/utopian-io/@juecoree/boolr-digital-logic-simulator-or-3-full-adder-logic-circuit-simulation"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1517613650/wlka5zwgovyqtlxfwcbm.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517613984/eapzzphphf9gkjfxdrex.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517614234/enpk1gupe4yy5j5vcmy0.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518073996/jdkppluqc2ux7igdmn0d.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517618923/yeqbrqhsglndmfvhreqc.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074044/n06lblsmm2ne336wrs3h.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074259/u5jicavtsypwjqnqwav7.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517983303/r44ev81yogabaqzm53zv.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074351/lhseb0cwgju9t3dl7bpo.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518074789/exfdiuihyn3wqex2ljzo.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075194/dhixoh3ysyq0odly6sly.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1517620728/ptdrc48qirdkwpfptusl.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075488/wpxoo6wmnh8ojungumdt.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075559/lgg3qmi5yqjvuvixm2iu.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075700/thu1ejo0pcyfu24thv0p.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518075800/u3slnr3oj5oaupa9l2p6.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518076133/hngfhfjohs2fo8rjeqgd.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077215/ruqjytkey6fmvdl23d7b.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518078322/mdshqvtdaoo1wearmsxd.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077836/kz6twrnsclfm9a7dc2wl.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077869/ywcucbbelqvoyim2lcuf.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077906/i8anjudzosdh3ulknma5.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077949/zobzalxpcvwengguwbcq.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518077968/m8pkgbvvp2lnk3ojmjvu.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518078043/aguhrorjcwr3pt79md2h.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1518078062/dcpgsfhqtpmceugk5ucs.png"],"moderator":{"account":"kizilelma","time":"2018-02-08T20:00:34.665Z","reviewed":true,"pending":false,"flagged":false}} | ||||||
created | 2018-02-08 08:31:54 | ||||||
last_update | 2018-02-08 20:00:36 | ||||||
depth | 0 | ||||||
children | 6 | ||||||
last_payout | 2018-02-15 08:31:54 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 24.420 HBD | ||||||
curator_payout_value | 10.636 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 8,497 | ||||||
author_reputation | 183,725,276,504,013 | ||||||
root_title | "BOOLR Digital Logic Simulator | [4] Half Subtractor logic simulation" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 35,865,974 | ||||||
net_rshares | 6,293,096,015,062 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
themanualbot | 0 | 3,494,572,725 | 2.5% | ||
itinerantph | 0 | 69,297,804 | 0.25% | ||
jassennessaj | 0 | 8,850,553,812 | 5% | ||
linuslee0216 | 0 | 8,555,842,118 | 100% | ||
jamiz | 0 | 87,546,672 | 2.5% | ||
lykaislove | 0 | 69,836,400 | 5% | ||
japh | 0 | 79,135,541 | 5% | ||
leryam12 | 0 | 112,360,472 | 5% | ||
aafeng | 0 | 2,291,234,082 | 8% | ||
queenjventurer | 0 | 99,214,032 | 5% | ||
rfece143 | 0 | 4,392,372,792 | 100% | ||
jaderpogi | 0 | 1,048,977,770 | 5% | ||
aribalcristian | 0 | 97,691,995 | 5% | ||
hillaryaa | 0 | 62,939,341 | 5% | ||
tedzwhistle | 0 | 59,918,122 | 5% | ||
jacoblayan | 0 | 85,631,482 | 1% | ||
steemph.cebu | 0 | 3,530,795,148 | 5% | ||
utopian-io | 0 | 5,893,340,157,715 | 3.69% | ||
smaeunabs | 0 | 439,860,457 | 5% | ||
sorenkierkegaard | 0 | 679,365,543 | 5% | ||
fcalabuig | 0 | 27,222,058,625 | 100% | ||
tstinfo | 0 | 158,125,631 | 2.5% | ||
upmyvote | 0 | 333,761,678,101 | 1.98% | ||
rafael.espina | 0 | 50,021,969 | 5% | ||
juecoree | 0 | 165,114,305 | 5% | ||
izzimak | 0 | 517,006,380 | 100% | ||
glennamayjumaoas | 0 | 50,965,067 | 5% | ||
thinkingmind | 0 | 1,287,840,393 | 100% | ||
romeaiden03 | 0 | 602,892,083 | 100% | ||
herman08 | 0 | 82,836,353 | 100% | ||
kairosan | 0 | 110,604,411 | 100% | ||
jiruu | 0 | 450,596,349 | 100% | ||
outofafrica | 0 | 402,468,484 | 100% | ||
marhas | 0 | 199,698,019 | 100% | ||
calebjohn | 0 | 586,804,869 | 100% |
resteemed
author | a-0-0 |
---|---|
permlink | re-juecoree-boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation-20180208t083205061z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-02-08 08:32:06 |
last_update | 2018-02-08 08:32:06 |
depth | 1 |
children | 0 |
last_payout | 2018-02-15 08:32:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 9 |
author_reputation | -4,863,186,238,920 |
root_title | "BOOLR Digital Logic Simulator | [4] Half Subtractor logic simulation" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 35,866,007 |
net_rshares | 0 |
Thank you for the contribution. It has been approved. You can contact us on [Discord](https://discord.gg/uTyJkNm). **[[utopian-moderator]](https://utopian.io/moderators)**
author | kizilelma |
---|---|
permlink | re-juecoree-boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation-20180208t200051177z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-02-08 20:00:51 |
last_update | 2018-02-08 20:00:51 |
depth | 1 |
children | 1 |
last_payout | 2018-02-15 20:00:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 172 |
author_reputation | 7,465,931,045,199 |
root_title | "BOOLR Digital Logic Simulator | [4] Half Subtractor logic simulation" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 35,992,423 |
net_rshares | 3,397,969,118 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
juecoree | 0 | 3,397,969,118 | 100% |
Thanks @kizilelma
author | juecoree |
---|---|
permlink | re-kizilelma-re-juecoree-boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation-20180208t230132267z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"users":["kizilelma"],"app":"steemit/0.1"} |
created | 2018-02-08 23:01:30 |
last_update | 2018-02-08 23:01:30 |
depth | 2 |
children | 0 |
last_payout | 2018-02-15 23:01:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 17 |
author_reputation | 183,725,276,504,013 |
root_title | "BOOLR Digital Logic Simulator | [4] Half Subtractor logic simulation" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,022,168 |
net_rshares | 0 |
Thanks for the education
author | outofafrica |
---|---|
permlink | re-juecoree-boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation-20180208t083405074z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-02-08 08:34:06 |
last_update | 2018-02-08 08:34:06 |
depth | 1 |
children | 0 |
last_payout | 2018-02-15 08:34:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 24 |
author_reputation | 22,345,870,304 |
root_title | "BOOLR Digital Logic Simulator | [4] Half Subtractor logic simulation" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 35,866,337 |
net_rshares | 0 |
You got a 1.98% upvote from @upmyvote courtesy of @juecoree! If you believe this post is spam or abuse, please report it to our [Discord](https://discord.gg/yv2TMPu) #abuse channel. If you want to support our [Curation Digest](https://steemit.com/curation/@buildawhale/buildawhale-curation-digest-02-06-18) or our Spam & Abuse prevention efforts, please vote [@themarkymark](https://v2.steemconnect.com/sign/account-witness-vote?witness=themarkymark&approve=1) as witness.
author | upmyvote |
---|---|
permlink | re-juecoree-boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation-20180209t000432026z |
category | utopian-io |
json_metadata | {"app":"postpromoter/1.8.4"} |
created | 2018-02-09 00:04:33 |
last_update | 2018-02-09 00:04:33 |
depth | 1 |
children | 0 |
last_payout | 2018-02-16 00:04:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 474 |
author_reputation | 2,697,753,443,622 |
root_title | "BOOLR Digital Logic Simulator | [4] Half Subtractor logic simulation" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,031,941 |
net_rshares | 0 |
### Hey @juecoree I am @utopian-io. I have just upvoted you! #### Achievements - You have less than 500 followers. Just gave you a gift to help you succeed! - Seems like you contribute quite often. AMAZING! #### Suggestions - Contribute more often to get higher and higher rewards. I wish to see you often! - Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck! #### Get Noticed! - Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions! #### Community-Driven Witness! I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER! - <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a> - <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a> - Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a> [](https://steemit.com/~witnesses) **Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
author | utopian-io |
---|---|
permlink | re-juecoree-boolr-digital-logic-simulator-or-4-half-subtractor-logic-simulation-20180209t062713243z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"} |
created | 2018-02-09 06:27:15 |
last_update | 2018-02-09 06:27:15 |
depth | 1 |
children | 0 |
last_payout | 2018-02-16 06:27:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,506 |
author_reputation | 152,955,367,999,756 |
root_title | "BOOLR Digital Logic Simulator | [4] Half Subtractor logic simulation" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 36,093,865 |
net_rshares | 0 |