mohamed mahmoud
Junior Member level 1
- Joined
- Jan 31, 2014
- Messages
- 16
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 118
The required function is called priority encoder.
No doubt that the encoder will work - with suitable digital input data. So apparently your TDC circuit doesn't generate the expected thermometer code.
What is the expected output for the quoted time delays in your post? For example: 4 ps, what do you think the binary output should be? Same question for 7 ps.
This is real hardware we are talking about right? Not some non-working simulation...
Why don't you show the input code?the time difference is converted to the thermometer code by some circuit and no problem in this generating digital input code .
Why don't you show the input code?
So what is it that generates the input for the thermometer to binary encoder? Do you use real hardware? Or do you use a testbench to generate bit vectors? Or (and this is the potentially problematic part) do you also simulate the fpga part that generates this 31-bit vector?
It's a priority encoder which can be e.g. implemented by the circuit shown in post #6. You have to connect the input bits in the right order.what is the circuit that convert thermometer code "corresponding to the time difference" to my suggested output ?
for first question :You've already posted that. Why not answer the questions already asked...
And
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?