<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Digital Electronics And Logic Design Archives - ElectricalWorkbook</title>
	<atom:link href="https://electricalworkbook.com/category/digital-electronics-and-logic-design/feed/" rel="self" type="application/rss+xml" />
	<link>https://electricalworkbook.com/category/digital-electronics-and-logic-design/</link>
	<description>Your Tutor</description>
	<lastBuildDate>Tue, 14 Sep 2021 16:50:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Design of Gray to Binary Code Converter Circuit</title>
		<link>https://electricalworkbook.com/design-of-binary-to-gray-code-converter-circuit/</link>
					<comments>https://electricalworkbook.com/design-of-binary-to-gray-code-converter-circuit/#respond</comments>
		
		<dc:creator><![CDATA[Electrical Workbook]]></dc:creator>
		<pubDate>Mon, 27 May 2019 23:03:58 +0000</pubDate>
				<category><![CDATA[Digital Electronics And Logic Design]]></category>
		<guid isPermaLink="false">https://electricalworkbook.com/?p=7278</guid>

					<description><![CDATA[<p>In this topic, you study how to design Gray to Binary Code Converter Circuit and draw the logic diagram. Truth table [&#8230;]</p>
<p>The post <a href="https://electricalworkbook.com/design-of-binary-to-gray-code-converter-circuit/">Design of Gray to Binary Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In this topic, you study how to design Gray to Binary Code Converter Circuit and draw the logic diagram.</strong></p>
<hr />
<h2><span style="color: #000080;">Truth table</span></h2>
<p>The conversion of 4-bit input Gray code (<em>A B C D</em>) into the Binary code output (<em>W X Y Z</em>) as shown in truth table 1. The 4-bit input so 16 (${2^4}$) combinations are <span id="more-7278"></span>possible and all of them are valid so no don&#8217;t care condition.</p>
<p style="text-align: center;"><strong>Table 1: Gray to Binary Code Code Converter.</strong></p>
<table>
<tbody>
<tr>
<td style="text-align: center;" colspan="4" width="50"><strong><span style="color: #800000;">Gray Code (Input) </span></strong></td>
<td style="text-align: center;" colspan="4" width="50"><strong>Binary Code (Output)</strong></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;"><em>A</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>B</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>C</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>D</em></span></td>
<td style="text-align: center;" width="56"><em>W</em></td>
<td style="text-align: center;" width="57"><em>X</em></td>
<td style="text-align: center;" width="57"><em>Y</em></td>
<td style="text-align: center;" width="57"><em>Z</em></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
</tbody>
</table>
<h3><span style="color: #800000;">Drawing of K-map for each output</span></h3>
<p>From this truth table, the K-maps are drawing shown in Figure 1, to obtain a minimized expression for each output.</p>
<p><img fetchpriority="high" decoding="async" class="wp-image-7283 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-1.png" alt="Gray to Binary Code Converter k-map 1" width="468" height="453" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-1.png 378w, https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-1-300x290.png 300w" sizes="(max-width: 468px) 100vw, 468px" /></p>
<p style="text-align: center;"><strong>(a) k-map for W</strong></p>
<p><img decoding="async" class="wp-image-7284 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-2.png" alt="Gray to Binary Code Converter k-map 2" width="497" height="461" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-2.png 395w, https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-2-300x278.png 300w" sizes="(max-width: 497px) 100vw, 497px" /></p>
<p style="text-align: center;"><strong>(b) k-map for X</strong></p>
<p><img decoding="async" class=" wp-image-7286 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-4.png" alt="Gray to Binary Code Converter k-map 4" width="599" height="505" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-4.png 484w, https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-4-300x253.png 300w" sizes="(max-width: 599px) 100vw, 599px" /></p>
<p style="text-align: center;"><strong>(c) k-map for Y</strong></p>
<p><img loading="lazy" decoding="async" class=" wp-image-7285 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-3.png" alt="Gray to Binary Code Converter k-map 3" width="586" height="559" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-3.png 476w, https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Code-Converter-k-map-3-300x286.png 300w" sizes="auto, (max-width: 586px) 100vw, 586px" /></p>
<p style="text-align: center;"><strong>(d) k-map for Z</strong></p>
<p style="text-align: center;"><strong>Figure 1: k-maps for Gray to Binary Code Converter.</strong></p>
<h3><span style="color: #800000;">Minimized Expression for each output</span></h3>
<p>The minimized expression for each output obtained from the K-map are given below as</p>
<p>$W = A$</p>
<p>$X = \bar A B + A \bar B = A \oplus B $</p>
<p>$Y=\bar{A}\bar{B}C+\bar{A}B\bar{C}+ABC$</p>
<p style="text-align: left;">$+A\bar{B}\bar{C}$</p>
<p>$=A\oplus B\oplus C$</p>
<p style="text-align: left;">$Y = X \oplus C$</p>
<p>$Z = \bar A\bar B\bar CD + \bar A\bar BC\bar D + \bar AB\bar C\bar D $</p>
<p>$+\bar{A}BCD\text{ }\!\!~\!\!\text{ }+AB\bar{C}D+ABC\bar{D}$</p>
<p>$+A\bar{B}\bar{C}\bar{D}+A\bar{B}CD$</p>
<p>$Z=A\oplus B\oplus C\oplus D$</p>
<p style="text-align: left;">$Z = Y \oplus D$</p>
<h3><span style="color: #800000;">Logic Circuit Diagram</span></h3>
<p>Based on the above given minimized expression for each output, a logic circuit can be drawn as shown in Figure 2.</p>
<p><img loading="lazy" decoding="async" class=" wp-image-7287 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Gray-to-Binary-Converter-logic-diagram.png" alt="Gray to Binary Converter logic diagram" width="358" height="348" /></p>
<p style="text-align: center;"><strong>Figure 2: </strong><em>Gray to Binary Code</em><em> Converter logic diagram.</em></p>
<p>The post <a href="https://electricalworkbook.com/design-of-binary-to-gray-code-converter-circuit/">Design of Gray to Binary Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://electricalworkbook.com/design-of-binary-to-gray-code-converter-circuit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Design of Binary to Gray Code Converter Circuit</title>
		<link>https://electricalworkbook.com/binary-to-gray-code-converter-circuit/</link>
					<comments>https://electricalworkbook.com/binary-to-gray-code-converter-circuit/#respond</comments>
		
		<dc:creator><![CDATA[Electrical Workbook]]></dc:creator>
		<pubDate>Mon, 27 May 2019 17:57:49 +0000</pubDate>
				<category><![CDATA[Digital Electronics And Logic Design]]></category>
		<guid isPermaLink="false">https://electricalworkbook.com/?p=7239</guid>

					<description><![CDATA[<p>In this topic, you study how to design Binary to Gray Code Converter Circuit and draw the logic diagram. Truth table [&#8230;]</p>
<p>The post <a href="https://electricalworkbook.com/binary-to-gray-code-converter-circuit/">Design of Binary to Gray Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In this topic, you study how to design Binary to Gray Code Converter Circuit and draw the logic diagram.</strong></p>
<hr />
<h2><span style="color: #000080;">Truth table</span></h2>
<p>The conversion of 4-bit input Binary code (<em>A B C D</em>) into the Gray code output (<em>W X Y Z</em>) as shown in truth table 1. The 4-bit input so 16 (${2^4}$) combinations are <span id="more-7239"></span>possible and all of them are valid so no don&#8217;t care condition.</p>
<p style="text-align: center;"><strong>Table 1: Binary to Gray Code Code Converter.</strong></p>
<table>
<tbody>
<tr>
<td style="text-align: center;" colspan="4" width="50"><strong><span style="color: #800000;">Binary Code (Input) </span></strong></td>
<td style="text-align: center;" colspan="4" width="50"><strong>Gray Code (Output)</strong></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;"><em>A</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>B</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>C</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>D</em></span></td>
<td style="text-align: center;" width="56"><em>W</em></td>
<td style="text-align: center;" width="57"><em>X</em></td>
<td style="text-align: center;" width="57"><em>Y</em></td>
<td style="text-align: center;" width="57"><em>Z</em></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
</tbody>
</table>
<h3><span style="color: #800000;">Drawing of K-map for each output</span></h3>
<p>From this truth table, the K-maps are drawing shown in Figure 1, to obtain a minimized expression for each output.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-7247" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-1-1.png" alt="Binary to Gray Code Conversion k-map 1" width="533" height="507" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-1-1.png 385w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-1-1-300x285.png 300w" sizes="auto, (max-width: 533px) 100vw, 533px" /></p>
<p style="text-align: center;"><strong>(a) k-map for W</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-7248" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-2.png" alt="Binary to Gray Code Conversion k-map 2" width="525" height="486" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-2.png 395w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-2-300x278.png 300w" sizes="auto, (max-width: 525px) 100vw, 525px" /></p>
<p style="text-align: center;"><strong>(b) k-map for X</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-7249" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-3.png" alt="Binary to Gray Code Conversion k-map 3" width="570" height="512" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-3.png 445w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-3-300x270.png 300w" sizes="auto, (max-width: 570px) 100vw, 570px" /></p>
<p style="text-align: center;"><strong>(c) k-map for Y</strong></p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-7250" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-4.png" alt="Binary to Gray Code Conversion k-map 4" width="555" height="466" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-4.png 436w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Code-Conversion-k-map-4-300x252.png 300w" sizes="auto, (max-width: 555px) 100vw, 555px" /></p>
<p style="text-align: center;"><strong>(d) k-map for Z</strong></p>
<p style="text-align: center;"><strong>Figure 1: k-maps for Binary to Gray Code Converter.</strong></p>
<h3><span style="color: #800000;">Minimized Expression for each output</span></h3>
<p>The minimized expression for each output obtained from the K-map are given below as</p>
<p>$W = A$</p>
<p>$X = \bar A B + A \bar B = A \oplus B $</p>
<p>$Y = \bar B C + B \bar C = B \oplus C $</p>
<p>$Z = \bar C D  + C \bar D = C \oplus D $</p>
<h3><span style="color: #800000;">Logic Circuit Diagram</span></h3>
<p>Based on the above given minimized expression for each output, a logic circuit can be drawn as shown in Figure 2.</p>
<p><img loading="lazy" decoding="async" class=" wp-image-7244 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-Gray-Converter-logic-diagram.png" alt="Binary to Gray Converter logic diagram" width="359" height="327" /></p>
<p style="text-align: center;"><strong>Figure 2: Binary to Gray Code Converter logic diagram.</strong></p>
<p>The post <a href="https://electricalworkbook.com/binary-to-gray-code-converter-circuit/">Design of Binary to Gray Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://electricalworkbook.com/binary-to-gray-code-converter-circuit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Design of Binary to BCD Code Converter Circuit</title>
		<link>https://electricalworkbook.com/binary-to-bcd-code-converter-circuit/</link>
					<comments>https://electricalworkbook.com/binary-to-bcd-code-converter-circuit/#respond</comments>
		
		<dc:creator><![CDATA[Electrical Workbook]]></dc:creator>
		<pubDate>Mon, 27 May 2019 14:41:39 +0000</pubDate>
				<category><![CDATA[Digital Electronics And Logic Design]]></category>
		<guid isPermaLink="false">https://electricalworkbook.com/?p=7197</guid>

					<description><![CDATA[<p>In this topic, you study how to design Binary to BCD Code Converter Circuit and draw the logic diagram. Truth table [&#8230;]</p>
<p>The post <a href="https://electricalworkbook.com/binary-to-bcd-code-converter-circuit/">Design of Binary to BCD Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In this topic, you study how to design Binary to BCD Code Converter Circuit and draw the logic diagram.</strong></p>
<hr />
<h2><span style="color: #000080;">Truth table</span></h2>
<p>The input is a 4-bit binary code (<em>A B C D</em>) so 16 (${2^4}$) combinations are possible. Hence the output should have 8-bit, but first three bits will all be a 0 for all combinations of inputs, the output can be treated as 5-bit BCD code (<em>W X Y Z E</em>). The conversion of binary code into BCD code as shown in<br />
<span id="more-7197"></span></p>
<p>truth table 1,</p>
<p style="text-align: center;"><strong>Table 1: Binary to BCD Code Code Converter.</strong></p>
<table>
<tbody>
<tr>
<td style="text-align: center;" colspan="4" width="50"><strong><span style="color: #800000;">Binary Code (Input) </span></strong></td>
<td style="text-align: center;" colspan="5" width="50"><strong>BCD Code (Output)</strong></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;"><em>A</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>B</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>C</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>D</em></span></td>
<td style="text-align: center;" width="56"><em>W</em></td>
<td style="text-align: center;" width="57"><em>X</em></td>
<td style="text-align: center;" width="57"><em>Y</em></td>
<td style="text-align: center;" width="57"><em>Z</em></td>
<td style="text-align: center;" width="57"><em>E</em></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
</tbody>
</table>
<h3><span style="color: #800000;">Drawing of K-map for each output</span></h3>
<p>From this truth table, the K-maps are drawing shown in Figure 1, to obtain a minimized expression for each output.</p>
<p><img loading="lazy" decoding="async" class="wp-image-7231 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-6.png" alt="Binary to BCD Code Conversion k-map 6" width="583" height="472" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-6.png 452w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-6-300x243.png 300w" sizes="auto, (max-width: 583px) 100vw, 583px" /></p>
<p style="text-align: center;"><strong>(a) k-map for W</strong></p>
<p><img loading="lazy" decoding="async" class="wp-image-7198 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-1.png" alt="Binary to BCD Code Conversion k-map 1" width="523" height="481" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-1.png 398w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-1-300x276.png 300w" sizes="auto, (max-width: 523px) 100vw, 523px" /></p>
<p style="text-align: center;"><strong>(b) k-map for X</strong></p>
<p><img loading="lazy" decoding="async" class="wp-image-7199 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-2.png" alt="Binary to BCD Code Conversion k-map 2" width="573" height="463" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-2.png 453w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-2-300x242.png 300w" sizes="auto, (max-width: 573px) 100vw, 573px" /></p>
<p style="text-align: center;"><strong>(c) k-map for Y</strong></p>
<p><img loading="lazy" decoding="async" class="wp-image-7200 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-3.png" alt="Binary to BCD Code Conversion k-map 3" width="587" height="460" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-3.png 467w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-3-300x235.png 300w" sizes="auto, (max-width: 587px) 100vw, 587px" /></p>
<p style="text-align: center;"><strong>(d) k-map for Z</strong></p>
<p><img loading="lazy" decoding="async" class="wp-image-7201 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-4.png" alt="Binary to BCD Code Conversion k-map 4" width="527" height="501" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-4.png 385w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Conversion-k-map-4-300x285.png 300w" sizes="auto, (max-width: 527px) 100vw, 527px" /></p>
<p style="text-align: center;"><strong>(e) k-map for E</strong></p>
<p style="text-align: center;"><strong>Figure 1: k-maps for Binary to BCD Code Converter.</strong></p>
<h3><span style="color: #800000;">Minimized Expression for each output</span></h3>
<p>The minimized expression for each output obtained from the K-map are given below as</p>
<p>$W = AB + AC$</p>
<p>$X = A \bar B \bar C $</p>
<p>$Y = \bar A B + B C $</p>
<p>$Z = AB \bar C + \bar A C $</p>
<p>$E = D $</p>
<h3><span style="color: #800000;">Logic Circuit Diagram</span></h3>
<p>Based on the above given minimized expression for each output, a logic circuit can be drawn as shown in Figure 2.</p>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-7270" src="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Converter-logic-diagram.png" alt="Binary to BCD Code Converter logic diagram" width="678" height="757" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Converter-logic-diagram.png 678w, https://electricalworkbook.com/wp-content/uploads/2019/05/Binary-to-BCD-Code-Converter-logic-diagram-269x300.png 269w" sizes="auto, (max-width: 678px) 100vw, 678px" /></p>
<p style="text-align: center;"><strong>Figure 2: Binary to BCD Code Converter logic diagram.</strong></p>
<p>The post <a href="https://electricalworkbook.com/binary-to-bcd-code-converter-circuit/">Design of Binary to BCD Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://electricalworkbook.com/binary-to-bcd-code-converter-circuit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Design of BCD to Excess-3 Code Converter Circuit</title>
		<link>https://electricalworkbook.com/bcd-to-excess-3-code-converter-circuit/</link>
					<comments>https://electricalworkbook.com/bcd-to-excess-3-code-converter-circuit/#respond</comments>
		
		<dc:creator><![CDATA[Electrical Workbook]]></dc:creator>
		<pubDate>Mon, 27 May 2019 10:09:43 +0000</pubDate>
				<category><![CDATA[Digital Electronics And Logic Design]]></category>
		<guid isPermaLink="false">https://electricalworkbook.com/?p=7147</guid>

					<description><![CDATA[<p>In this topic, you study how to design BCD to Excess-3 Code Converter Circuit and draw the logic diagram. Truth table [&#8230;]</p>
<p>The post <a href="https://electricalworkbook.com/bcd-to-excess-3-code-converter-circuit/">Design of BCD to Excess-3 Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In this topic, you study how to design BCD to Excess-3 Code Converter Circuit and draw the logic diagram.</strong></p>
<hr />
<h2><span style="color: #000080;">Truth table</span></h2>
<p>The BCD (binary coded decimal) code is basically 8421 code and the conversion of 4-bit input BCD code (<em>A B C D</em>) into the excess-3 code output (<em>W X Y Z</em>) as shown in<span id="more-7147"></span> truth table 1.</p>
<table>
<tbody>
<tr>
<td style="text-align: center;" colspan="4" width="50"><strong><span style="color: #800000;">BCD Code (Input) </span></strong></td>
<td style="text-align: center;" colspan="4" width="50"><strong>Excess-3 Code (Output)</strong></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;"><em>A</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>B</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>C</em></span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;"><em>D</em></span></td>
<td style="text-align: center;" width="56"><em>W</em></td>
<td style="text-align: center;" width="57"><em>X</em></td>
<td style="text-align: center;" width="57"><em>Y</em></td>
<td style="text-align: center;" width="57"><em>Z</em></td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">1</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">1</td>
<td style="text-align: center;" width="57">1</td>
<td style="text-align: center;" width="57">0</td>
<td style="text-align: center;" width="57">0</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">0</span></td>
<td style="text-align: center;" width="56">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
</tr>
<tr>
<td style="text-align: center;" width="53"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="57"><span style="color: #800000;">1</span></td>
<td style="text-align: center;" width="56">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
<td style="text-align: center;" width="57">X</td>
</tr>
</tbody>
</table>
<p style="text-align: center;"><strong>Table 1: <em>BCD to Excess-3 Code Converter.</em></strong></p>
<h3><span style="color: #800000;">Drawing of K-map for each output</span></h3>
<p>From this truth table, the K-maps are drawing shown in Figure 1, to obtain a minimized expression for each output.</p>
<p><img loading="lazy" decoding="async" class="wp-image-7167 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-1.png" alt="BCD to Excess-3 Code Converter k-map 1" width="546" height="414" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-1.png 483w, https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-1-300x227.png 300w" sizes="auto, (max-width: 546px) 100vw, 546px" /></p>
<p style="text-align: center;"><strong>(a) k-map for W</strong></p>
<p><img loading="lazy" decoding="async" class=" wp-image-17740" src="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Converter-Circuit.png" alt="BCD to Excess-3 Code Converter Circuit" width="580" height="487" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Converter-Circuit.png 745w, https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Converter-Circuit-300x252.png 300w" sizes="auto, (max-width: 580px) 100vw, 580px" /></p>
<p style="text-align: center;"><strong>(b) k-map for X</strong></p>
<p><img loading="lazy" decoding="async" class="wp-image-7176 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-3.png" alt="BCD to Excess-3 Code Converter k-map 3" width="592" height="459" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-3.png 472w, https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-3-300x233.png 300w" sizes="auto, (max-width: 592px) 100vw, 592px" /></p>
<p style="text-align: center;"><strong>(c) k-map for Y</strong></p>
<p><img loading="lazy" decoding="async" class="wp-image-7177 aligncenter" src="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-4.png" alt="BCD to Excess-3 Code Converter k-map 4" width="505" height="467" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-4.png 414w, https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Conversion-k-map-4-300x278.png 300w" sizes="auto, (max-width: 505px) 100vw, 505px" /></p>
<p style="text-align: center;"><strong>(d) k-map for Z</strong></p>
<p style="text-align: center;"><strong>Figure 1: k-maps for BCD to Excess-3 Code Converter.</strong></p>
<h3><span style="color: #800000;">Minimized Expression for each output</span></h3>
<p>The minimized expression for each output obtained from the K-map are given below as</p>
<p>$W = A + BC + BD$</p>
<p>$X = \bar B C + \bar B D + B\bar C \bar D $</p>
<p>$Y = CD + \bar C \bar D $</p>
<p>$Z = \bar D $</p>
<h3><span style="color: #800000;">Logic Circuit Diagram</span></h3>
<p>Based on the above given minimized expression for each output, a logic circuit can be drawn as shown in Figure 2.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-7272" src="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Converter-logic-diagram2.png" alt="BCD to Excess-3 Code Converter logic diagram" width="666" height="498" srcset="https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Converter-logic-diagram2.png 610w, https://electricalworkbook.com/wp-content/uploads/2019/05/BCD-to-Excess-3-Code-Converter-logic-diagram2-300x224.png 300w" sizes="auto, (max-width: 666px) 100vw, 666px" /></p>
<p style="text-align: center;"><strong>Figure 2: <em>BCD to Excess-3 Code Converter logic diagram.</em></strong></p>
<p>The post <a href="https://electricalworkbook.com/bcd-to-excess-3-code-converter-circuit/">Design of BCD to Excess-3 Code Converter Circuit</a> appeared first on <a href="https://electricalworkbook.com">ElectricalWorkbook</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://electricalworkbook.com/bcd-to-excess-3-code-converter-circuit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
