Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

Binary to gray code converter experiment

28/03/2021 Client: saad24vbs Deadline: 2 Day

Preface
· You will need Logisim to complete this project assignment. Further information about LogiSim is at http://www.cburch.com/logisim/. If you have not done so already, download and install Logisim 2.7.1 from http://sourceforge.net/projects/circuit/.

1. Introduction
The objective of this project is to reinforce your understanding of binary codes, combinational logic design, and logic simulation. You must: (i) design a combinational logic circuit that displays the hexadecimal value of a gray code input according to the specifications given below; (ii) debug and test your design by simulating it using the Logisim simulator; and (iii) document your work in a short report.

2. Gray Codes
Consider a system where a value is changed by being incremented or decremented by one. The value is encoded by n binary signals. As a specific example, consider a value, represented with 4 bits, being incremented from 3 to 4. In a traditional weighted binary encoding, 3 is represented as 0011 and 4 is represented as 0100. For the change from 3 to 4, three bits must change. Since the time of the transitions in the actual signals will always be different if examined at a sufficiently fine scale, the value will not change instantaneously from 3 to 4. As an example, the transition could occur as follows, where the transitions to value 7 and then value 5 are transient in nature.

0011 (3)  0111 (7)  0101 (5)  0100 (4)

The physical reality of such signal transitions can create problems for applications including mechanical encoders and asynchronous (clock-free) systems. This problem can be overcome using Gray codes, which are non-weighted codes that can be used to represent values. Gray codes have the special property that any two adjacent values differ in just one bit. For example, the standard four-bit Gray code for 3 is 0010 and the code for 4 is 0110. These two codes differ in just one bit, the second bit from the left. So, only a single signal needs to change from 0 to 1 (or 1 to 0 for other values) to represent an adjacent value. You can read more about Gray codes at http://en.wikipedia.org/wiki/Gray_code.

For this project we consider a special type of Gray code called a Balanced Gray code. In a Balanced Gray code, the number of transitions for each bit position is the same when counting through the values. For example, a four-bit Balanced Gray code can be used to count from 0 to 15 (hexadecimal F). There are 16 transitions as the count goes from 0 to 1 to 2 and so on to 15 and then back to 0. For a Balanced Gray code, there are four bit transitions for each of the four bit positions during the 16 total transitions. This property is useful in some applications.

Table I below shows the encoding of hexadecimal values 0 through F using a 4-bit Balanced Gray code.

Table I. Hexadecimal Values and Associated 4-bit Balanced Gray Code and Binary Code

Hexadecimal Value

Balanced Gray Code (X3 X2 X1 X0)

Binary Code (Y3 Y2 Y1 Y0)

0

0 0 0 0

0 0 0 0

1

1 0 0 0

0 0 0 1

2

1 1 0 0

0 0 1 0

3

1 1 0 1

0 0 1 1

4

1 1 1 1

0 1 0 0

5

1 1 1 0

0 1 0 1

6

1 0 1 0

0 1 1 0

7

0 0 1 0

0 1 1 1

8

0 1 1 0

1 0 0 0

9

0 1 0 0

1 0 0 1

A

0 1 0 1

1 0 1 0

B

0 1 1 1

1 0 1 1

C

0 0 1 1

1 1 0 0

D

1 0 1 1

1 1 0 1

E

1 0 0 1

1 1 1 0

F

0 0 0 1

1 1 1 1

3. Design Specification
You are to design a combinational logic circuit that accepts a four-bit Balanced Gray code (X3 X2 X1 X0) as its input and creates a four-bit output (Y3 Y2 Y1 Y0) that uses standard binary encoding to represent the same hexadecimal value. In other words, the circuit translates between the Balanced Gray code input and the binary code output as indicated in Table I. Figure 1 provides a block diagram of the function. You do not need to minimize the logic function or associated circuit, but you may choose to do so.

Note that Table I is not a true truth table in that it is not ordered by input. You can rearrange the rows in Table I to construct a standard truth table with inputs X3 X2 X1 X0 appearing in order from 0000, 0001, 0010, …, 1111.

Figure 1. Block diagram of the converter function.

4. Modeling the Circuit in Logisim
Use the Pin device in Logisim’s Wiring library to control the four inputs (X3 X2 X1 X0) to the combinational circuit. The Pin device is also available on Logisim’s toolbar. Each pin can be interactively set to 0 or 1 using Logisim’s Poke tool to test the circuit for different Balanced Gray code input values. If the proper connections are in place when Logisim is running, signals with logic level 1 appear in bright green and signals with logic level 0 ar

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Academic Master
Helping Hand
Quality Assignments
WRITING LAND
Financial Hub
Solution Provider
Writer Writer Name Offer Chat
Academic Master

ONLINE

Academic Master

Hello, I an ranked top 10 freelancers in academic and contents writing. I can write and updated your personal statement with great quality and free of plagiarism

$69 Chat With Writer
Helping Hand

ONLINE

Helping Hand

I will cover all the points which you have mentioned in your project details.

$57 Chat With Writer
Quality Assignments

ONLINE

Quality Assignments

I have read and understood all your initial requirements, and I am very professional in this task.

$46 Chat With Writer
WRITING LAND

ONLINE

WRITING LAND

I am known as Unrivaled Quality, Written to Standard, providing Plagiarism-free woork, and Always on Time

$41 Chat With Writer
Financial Hub

ONLINE

Financial Hub

You can award me any time as I am ready to start your project curiously. Waiting for your positive response. Thank you!

$69 Chat With Writer
Solution Provider

ONLINE

Solution Provider

I am known as Unrivaled Quality, Written to Standard, providing Plagiarism-free woork, and Always on Time

$58 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

Example of maladaptation in human geography - Draw a pig personality test online - Product testing nike australia - Cover page of report - Turnitin report - Can i eat cupcakes with braces - Biochemistry - Ps4 error ce 32911 6 - Middleton cheney primary school - The purpose of the pledge of allegiance - Visio 2010 uml stencil - Cell lab report in biology - Forgiving my father lucille clifton - Climograph of brazil - Cloud computing within an enterprise risk management framework - Description of a park in winter - In argumentation, criticism is __________. - CRIM J 2 - Two case studies - Only Bethuel Best - Personal Health History - If you had 50000 to invest - Wk 5, HCS 430: DR 2 - Propose a nursing informatics project for your organization - Essay - Atalanta and the great race - Evolution by natural selection worksheet answer key pdf - When i heard the learn d astronomer analysis - This living hand john keats analysis - Warlow v harrison case brief - Ted talk the revolutionary power of diverse thought - Barriers to effective communication and how to overcome them ppt - Homework for lab 4 batteries bulbs and current - Interviews and Interrogations CRJ-573 - Pci compliance policy and procedures template - Decreased intracranial adaptive capacity - Owl english purdue edu owl resource 560 01 - Week 7 Organizational Change Paper - Keiko meaning in hawaiian - Ancient communities introduction - Supply chain management ppt mba - Skill related component of fitness - Limiting and excess reactants worksheet - Tesla code of conduct - Ocd 1 - Mcq on segmentation targeting and positioning - Basildon council refuse collection - Elsevier hesi a2 book - Pilgrim's progress chapter 1 - Michael of juno 2007 crossword - Va fiduciary hub columbia sc phone number - Lonsdale shores land for sale - For don m banned line by line analysis - Assessment Type: Individual Assignment and Video presentation Weighting: 20 % Total Marks: 20 - A green pigment that traps energy from sunlight is - Safe practices for motor vehicle operations ansi asse z15 1 - Name a mineral that exhibits the physical properties listed - Ethical dilemma and ethical lapse - Engineering stage gate process - Individual Project week 3 - Informational interview paper sample - Favored cooperation with the romans - Compared to women in colonial chesapeake new england women - Assessment 2 : Evidence-Based Population Health Improvement Plan - Purl org dc elements 1.1 - Biology -2 - College appeal letter sample - Discussion response - Fables and parables example - Database system project proposal - Discussion 2 - Reality Check Assignment - You hear no entiendo el problema you write entender - Dr john monagle pain management - 2009 ap macroeconomics free response answers - How far is venus from the sun in km - Business Finance Assignment - Symbol uk down syndrome - Raci responsible accountable consulted informed - Easi joist span table - Digestive System - Diabetic - 1 page 3 reference - What is the moral of matilda - Coherent point of view - Essay - Shprintze fiddler on the roof - Case Analysis - Deliverable 1 - Attracting the Eyes of Viewers - At a construction site a pipe wrench struck the ground - Francine rivers net worth - Automatic negative thoughts examples - Monitor on psychology subscription - Ats time clock manual - The merchant of venice antonio quotes - What kind of dye is sudan iv - Need some help Quality Control 2 Discussion - Ethical Decision-Making - Recommended cutting speed for aluminum - Dapps rule