|
|
|
|
=Electronics Hardware Questions=
|
|
|
|
Q: You have 8 bit ADC clocking data out every 1mS. Design a system that
will sort the output data and keep a statistics how often
each binary number appears at the output of ADC.
The diagram showes a basic idea of a possible solution: using RAM to store a statistic data.
The digital number that is to be stored is considered as a RAM address.
Once digital data at the output of ADC becomes available, memory controller generates RD signal,
and the contence of the memory cell addressed by ADC output latches into D register.
"1" in the D-register enables WR signal to the next memory cell. To calculate how many times a certain number appeared at the output of ADC
it necessary to summarize the contence of all memory cells.
|
|
|
|
|