??? 06/13/10 18:47 Read: times |
#176646 - Its safer.. Responding to: ???'s previous message |
The particular application I was using it for was a fifo to transfer data across clock domains,where the clocks are non-syncronous which means that the address counts are sampled non-deterministically. the advantage in using grey codes for the input/output address counters is that as there is only ever one bit change and so if only one bit changes you can gaurentee that no incorrect codes get propagated. The address counters are also used to generate the full/half full/empty flags.Multiple bits changing in asyncronous clock domains is just asking for trouble.
There are time advantages as well with grey counters as the decode logic for the next state in the counter state machine is the simplest possible, on a par with one-hot coding. |
Topic | Author | Date |
Modeling With Gray Code | 01/01/70 00:00 | |
Good idea | 01/01/70 00:00 | |
I use php for a lot of modeling | 01/01/70 00:00 | |
most recently.. | 01/01/70 00:00 | |
Let's discuss faster... | 01/01/70 00:00 | |
Its safer.. | 01/01/70 00:00 | |
Slightly hostile enviroment | 01/01/70 00:00 | |
For sure...hostile | 01/01/70 00:00 | |
sort of... | 01/01/70 00:00 | |
fifo grey-code addressing | 01/01/70 00:00 | |
Its all hand waving again. | 01/01/70 00:00 | |
Using Spreadsheets | 01/01/70 00:00 | |
gawk/sh/cut/sed | 01/01/70 00:00 | |
Cygwin environment | 01/01/70 00:00 |