02-02-2019 05:00 AM
i have a xc2c1287vqg100c cpld, and now i have a question about the initial value of registers in CPLDs?
02-02-2019 06:18 AM
The registers have an initial value if needed, exactly as needed. You have to define initial value at preset, reset or set conditions.
Here is an example:
process(Clk) begin if(rising_edge(Clk)) then if(sync_reset='1') then Q <= '0'; else Q <= D; end if; end if; end process;