Open ericonr opened 2 years ago
Actually, there are even more reserved bits used by the wb_acq_core: https://github.com/lnls-dig/infra-cores/blob/a1b7144d5148b4ff234316f4ee08b82add3cd98d/modules/wishbone/wb_acq_core/wb_acq_core.vhd#L590-L596
I'll update the wbgen file to include these.
I couldn't guess exactly what all these reserved bits mean, but at least they are not marked as 'reserved' anymore here https://github.com/lnls-dig/infra-cores/pull/16. We should check if everything works with halcs before merging.
As seen in https://github.com/lnls-dig/halcs/blob/ae8a6a18c68cfed681517e12f7bf2d9a380d3c74/src/sm_io/modules/acq/sm_io_acq_exp.c#L39-L44
These bits are set as "reserved" in the '.wb' file, but are in fact used by the gateware to inform halcs about relevant conditions.