Vlad.
Full Member level 3
- Joined
- Jun 4, 2012
- Messages
- 179
- Helped
- 3
- Reputation
- 6
- Reaction score
- 4
- Trophy points
- 1,298
- Location
- Bucharest/Romania
- Activity points
- 2,568
Hi,
I have custom FPGA board which has a lot of peripherals like: temperature sensors, RTC, ADC etc. The board has also a high speed mezzanine connector to communicate and take data from some high- speed ADCs and not only.
Right now I am thinking to design the firmware in term of the length of the data string which will be send out from the FPGA to a PC and how should I do it. Consider the following scenarios:
1- I want to readout all the on-board sensors and the mezzanine ADC data, hence in this case the data string will have a maximum length;
2- I want to readout only a few sensors, hence the actual length of data bits will be smaller than the case in the 1st scenario.
In this case which type of data string length should I use? A user defined length for the whole sensors, and mask only the data bits of interest in the PC? or should I allocate a dynamically user-configurable length as per number of sensors used?
I hope I was clear enough.
Cheers,
Vlad
I have custom FPGA board which has a lot of peripherals like: temperature sensors, RTC, ADC etc. The board has also a high speed mezzanine connector to communicate and take data from some high- speed ADCs and not only.
Right now I am thinking to design the firmware in term of the length of the data string which will be send out from the FPGA to a PC and how should I do it. Consider the following scenarios:
1- I want to readout all the on-board sensors and the mezzanine ADC data, hence in this case the data string will have a maximum length;
2- I want to readout only a few sensors, hence the actual length of data bits will be smaller than the case in the 1st scenario.
In this case which type of data string length should I use? A user defined length for the whole sensors, and mask only the data bits of interest in the PC? or should I allocate a dynamically user-configurable length as per number of sensors used?
I hope I was clear enough.
Cheers,
Vlad