I?m wondering what sort of approach I should have in coding a bigger-than-one-entity-system.
The system is going to use an FPGA to get sample data from two different kinds of AD-converters (6 + 3 A/D-converters in total). Two different LP-filters to filter the signals. An SPI-interface to all send all the data from the FPGA to the next system.
Should I have a single state machine controlling all the different entities? Or should I have some form of signal between the different blocks that determines the dataflow?