Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

binary to gray code counter

Status
Not open for further replies.

opttimus

Newbie level 1
Joined
Dec 15, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
how to write vhdl program to get count up binary when input is 1 and change to gray code when input is 0
binary Gray Code
000 000
001 001
010 011
011 010
100 110
101 111
110 101
111 100

Can anybody help pls?
 

I am not familiar with VHDL coding! But what stops you from doing?
have a if statement with two loops , one for binary and for gray code!! That's it!
 

there is no need to use Loops for this code. At this level, it would be easy enough with a simple decoder.

- - - Updated - - -

but there are plenty of exmples out there - how about trying google?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top