Download Atari ST System-on-Chip in VHDL (Author: Lyndon Amsdon) [undated]
Transcript
CLOCK_E <= '1' when e_counter = "0110" or e_counter = "0111" or e_counter = "1000" or e_counter = "1001" else '0'; --SR FlipFlop process(dcm8,RESET) begin if RESET = '0' then int_vman <= '1'; elsif rising_edge(dcm8) then if (e_counter = "0010" and VPAn = '0') then int_vman <= '0'; elsif VPAn = '1' then int_vman <= '1'; end if; end if; end process; --Generate DTACK to end bus cycle DTACKn <= '0' when (int_vman ='0' and (e_counter = "1000" or e_counter ="1001")) else '1'; VMAn <= int_vman; end Behavioral;