Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ResReg: process (div_reset, div_clk)
- begin
- if div_reset = '1' then
- CalValdiv_int <= X"00"; --when reset, set Calval to 0
- elsif rising_edge(div_clk) then
- CalValdiv_int <= CalValdiv_int(6 downto 0) & ResLsb; --for each rising clock, shift result.
- end if;
- end process;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement