Search Engine www.edaboard.com

Gray Binary

Add Question

Are you looking for?:
paul gray gray , gray meyer , gray and notes , gray mayer
30 Threads found on edaboard.com: Gray Binary
Hello, I was trying to make a 4 bit gray to binary code converter using while loop. It was giving me logical error in the waveform. During the first 2-3 clock pulses, the output bits were uninitialized. What can be the reason for it pls. The code is: ****************** library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE
code - vhdl i am facing problm in making it generic....... entity gray_count is generic ( width :INTEGER := 4 ); port( clk : in std_logic; rst:in std_logic; enable: in std_logic; gray: out std_logic_vector(width - 1 downto 0) ); end gray_count architecture Behavioral of gra
suppose that i have a gray-scale image which pixels are | 0 1 | | 2 3 | and each pixel is 2-bit, so the image is | 00 01 | | 10 11 | and i have 4 symbols, -3,-1,+1,+3, for which the mapping is 00 | -3 01 | -1 10 | +1 11 | +3 Also suppose that i want to add a channel coding, for example a binary linear block code (5,2), wi
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?
First, I have to assume some things, as your description of the problem is quite general: I believe, that you want to use a RAM chip to convert binary to gray code. And I am basing my comments and advice to that assumption. Sounds that you have first learn some basics regarding static RAM chips. I am using 74LS89 as the example here, but very
Hi I think this link is very useful Recomm
very simple , what you need to do is to map the binary seq to their corresponding integer, once you do that this will cut by half the number of modulated symbols. %on 4-psk M=4; mod_object = modem.pskmod('M',M, 'SymbolOrder','gray'); %%%two ways to create random data%%% x=randsrc(1,1000,); %from this you'll get ha
Yes, for FIFOs which do not have depth 2^n, you will need special gray counters. TO understand just write 3-bit gray code from 000 to 111, you notice that it is a reflection around the center axis. You can use this property to design a gray code that will skip some counts so that it can still maintain it property. Refer to this link for an (...)
I don't think BER will differ, gray coding allows the QPSK modulation and demodulation to divide as two parallel BPSK transceivers.
Can any one post the viva questions and answers for digital electronics lab. The experiments are 1.half adder and full using NAND 2.binary to gray code converter 3.gray to binary code converter 4.BCD to Excees3 code converter 5.binary adder/subtractor and BCD adder using IC 7483 6.Magnitude comparator (...)
Hi, In one of my digital electronics exam paper we had to design a binary->gray code converter using PLDs. It is given that it should be implemented in the MOST ECONOMICAL way. What should I have to select? PLA, PAL or PROM(EEPROM)? I selected PROM as we need only 4-bite wide 9 memory locations assuming that I could cheaply buy a 16x4 EEP
Yes, as the other specifications in the datasheet, it's assuming standard 8-Bit gray code. Your above posted sequence however isn't.
How can I design a gray code counter using Verilog without using a binary-gray converter?
What about converting the thermometer(32 bits) to binary (5bits) then converting the binary(5bits) to gray(5bits) ?
Hi my Friends, I found out that in matlab there is a function called bin2gray which converts from binary to gray coding, but as i saw, i have a results differ from what i expect !!! where the matlab results for 16QAM is in one of the books such as "Single- and Multi-carrier Quad
One hot encoding is encoding of a finite state machine where each state will take a separate flip flop. If u hav 8 states in Finite state machine then encoder requires 8 flip flops. Same state machine requires only three ff'f in gray and binary encoding. One hot encoding will increase the speed but area utilisation will be more. binary (...)
in gray code: one bit changes from one entry to the next: gray codes are particularly useful in mechanical encoders since a slight change in position only affects one bit. Using a typical binary code, up to n bits could change, and slight misalignments between reading elements could cause wildly incorrect readings. below is 4 bit grey (...)
Hi Can, any body tell me Where to use One Hot Encoding and gray encoding.
if you implement an async fifo, you must use gray code fifo pointer to aviod metastable or glitch problems. eg: ptr is binary code, when a state change, the 4 bits are not changed at the same time. so there may be some time that ptr turns to be a transition state.(4'b101 -> 4'b110, there may be 4'b100 or 4'b111 states). that will make your
binary Encoding : It is almost used everywhere, in all state machines, by default. Advantages: Less FFs as compared to one-hot One-hot encoding: If you need to design a faster state machine, you would benefit by one-hot-encoding, because you wont have to decode the state. gray Encoding: These will use the same number of FFs as binary (...)
The gray code is a binary numeral system where two successive values differ in only one digit. The reflected binary code was originally designed to prevent spurious output from electromechanical switches. More information
To generate gray by binary counter that its outputs routed through XORs array then we conveted the BIN to gray. Or To being with a counter that is designed to generate gray sequence WITHOUT using XORs array??? What is the considerations???
My understanding: when using gray counter,there's only 1bit toggle at one time.Therefore,you only need to judge this 1bit. When using binary counter,maybe there are 2 or more bits toggle at one time,you need to judge these 2 bits to make a correct decision. Usually these 2 bits do not arrive at the same time,thus would cause greater glitch power.
You could implement an ordinary state machine that uses gray codes for state numbers. See the first example on this page:
See this paper about gray counter implementation, it does'nt do it you claim! Which papers you are talking about?? Probably you are talking about async fifo papers!
Hello I need a method to convert graycode to decimal thank you
I think the speed compare between quasi-gray encoding and gray encoding not binary code. The quasi-gray encoding need to be added between thermometer and binary code to decrease the metability error.
gray codes are used in such case because the empty and full conditions are defined by comparison between the FIFO read and write pointer, however the read and the write process run on different indpendent clocks, if the comparison is made between binary counter false glitches might occur because of data skew to the comparator and because more than
How can I implement the up/down gray counter by VHDL ? except binary counter to gray counnter
@ltera: One Hot State Machine vs binary/gray Code State Mac