Forum Discussion
Altera_Forum
Honored Contributor
8 years agoreg "a" will sample "config_reg" once at 100Mhz in one of the steps on the state machine....
values from register "a" are not set to false path.... process(clk100mhz) beginif (rising_edge(clk100mhz)) then if (sig_from_another_100mhz_process='1') then a<=config_reg; a_was_set<='1'; else a_was_set<='0'; end if; if (a_was_set='1') then b<=a; end if; end if; end process; b and a should be able to hold the correct value of config_Reg, assuming config_reg does ***not*** changes