Solution blatantly stolen from idff right above it.
However, this does not actually solve the problem because GHDL generates a non-constant init value, which is not supported by Yosys, or any FPGA architecture that I'm aware of.
So actually we will need to find a workaround to synthesis iadff with non-const init to some equivalent circuit with muxes and what not, or GHDL needs to be taught not to make flip-flops with non-constant init values, because they are not synthesizable.
I came across this in https://www.digikey.com/eewiki/pages/viewpage.action?pageId=59507062
Solution blatantly stolen from idff right above it.
However, this does not actually solve the problem because GHDL generates a non-constant init value, which is not supported by Yosys, or any FPGA architecture that I'm aware of.
So actually we will need to find a workaround to synthesis iadff with non-const init to some equivalent circuit with muxes and what not, or GHDL needs to be taught not to make flip-flops with non-constant init values, because they are not synthesizable.