<sb0>
which doesn't seem to do anything with the socket
<whitequark>
sb0: yeah, there's no server
<whitequark>
it'd be pretty easy to finish though
sb0 has quit [Quit: Leaving]
mumptai_ has joined #m-labs
mumptai has quit [Ping timeout: 252 seconds]
sb0 has joined #m-labs
proteusguy has joined #m-labs
ohsix has joined #m-labs
rohitksingh_work has joined #m-labs
mumptai_ has quit [Quit: Verlassend]
mtrbot-ml_ has joined #m-labs
mtrbot-ml has quit [Read error: Connection reset by peer]
futarisIRCcloud has joined #m-labs
mtrbot-ml has joined #m-labs
mtrbot-ml_ has quit [Ping timeout: 258 seconds]
jevinskie has joined #m-labs
m4ssi has joined #m-labs
jevinskie has quit [Ping timeout: 258 seconds]
Ultrasauce has quit [Quit: Ultrasauce]
Ultrasauce has joined #m-labs
jevinskie has joined #m-labs
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
jevinskie has quit [Ping timeout: 255 seconds]
sb0 has quit [Ping timeout: 258 seconds]
ohama has quit [Disconnected by services]
ohama has joined #m-labs
<key2>
what is the reason we use gray counter in order to make an async fifo ?
hartytp has joined #m-labs
jevinskie has joined #m-labs
<whitequark>
if you do multi bit cdc with a 2FF you can only have one bit change at a tie
<whitequark>
*time
<mtrbot-ml>
[mattermost] <hartytp> hartytp joined the team.
<cr1901>
if more than one bit changes, it's possible one of the 2ff will settle on the previous value, and other 2ffs will settle on the new value. This results in an invalid value seen in the dest clk domain.
<cr1901>
If you limit to one bit change, then well, either the previous value or the new value is seen in the dest clk domain. And if the prev value was propogated, the new value will be seen in the dest clk domain after one clk cycle in src has elapsed
<cr1901>
(or well, after a time interval of "whichever clk is slower" has elapsed)
<key2>
whitequark: suppose I want to write during one time, and then read
<key2>
meaning read/write can not happen at the same time
<key2>
but the read counter and write counter are on 2 different clock domain
<key2>
do I need to implement that with a gray counter ?
<whitequark>
key2: can you explain some other way?
<key2>
I need a mechanism in which I store into a Memory some data that come from a clockdomaine A, once finished and crc validated, I want to read them but from clock domain B. while reading, writing can not occur, while writing, reading can not occur either. so it's either way. in this case, do I need to compare with a gray conter ? or the fact that one operation happens after the other one can prevent me from doing so, if we consider
<key2>
that the write counter got propagated properly
jevinskie has quit [Ping timeout: 246 seconds]
rohitksingh_work has quit [Read error: Connection reset by peer]
<whitequark>
key2: sounds like you need two PulseSynchronizer
<key2>
where ?
<key2>
and why
<whitequark>
one for request (write->read), one for ack (read->write)
<whitequark>
and well, it's basically the same as BusSynchronizer but with a memory and not a bus
rohitksingh has joined #m-labs
ohama has quit [Read error: Connection reset by peer]
ohama has joined #m-labs
rohitksingh has quit [Ping timeout: 246 seconds]
rohitksingh has joined #m-labs
<key2>
whitequark: can you tell me more about it ? what do PulseSynchronizer do that is needed in my case ?
<whitequark>
take a look at BusSynchronizer, it does everything you need
m4ssi has quit [Remote host closed the connection]
jevinskie has joined #m-labs
jevinskie has quit [Ping timeout: 245 seconds]
jevinskie has joined #m-labs
rohitksingh has quit [Ping timeout: 258 seconds]
jevinskie has quit [Ping timeout: 245 seconds]
gnufan_home has joined #m-labs
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 248 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 258 seconds]
rohitksingh has joined #m-labs
rohitksingh has quit [Ping timeout: 268 seconds]
rohitksingh has joined #m-labs
proteusguy has quit [Ping timeout: 246 seconds]
rohitksingh has quit [Remote host closed the connection]
Gurty has quit [Ping timeout: 258 seconds]
Gurty has joined #m-labs
ohama has quit [Read error: Connection reset by peer]