1
0
mirror of https://github.com/Gehstock/Mist_FPGA.git synced 2026-02-21 14:47:33 +00:00
This commit is contained in:
Gehstock
2019-12-13 13:38:17 +01:00
parent eda7294d3e
commit ecdfbf8409
22 changed files with 1276 additions and 1125 deletions

View File

@@ -54,8 +54,8 @@ entity pia6821 is
addr : in std_logic_vector(1 downto 0);
data_in : in std_logic_vector(7 downto 0);
data_out : out std_logic_vector(7 downto 0);
irqa : out std_logic;
irqb : out std_logic;
irqa_n : out std_logic;
irqb_n : out std_logic;
pa_i : in std_logic_vector(7 downto 0);
pa_o : out std_logic_vector(7 downto 0);
pa_oe : out std_logic_vector(7 downto 0);
@@ -545,8 +545,8 @@ end process;
---------------------------------
pia_irq : process( irqa1, irqa2, irqb1, irqb2, porta_ctrl, portb_ctrl )
begin
irqa <= (irqa1 and porta_ctrl(0)) or (irqa2 and porta_ctrl(3));
irqb <= (irqb1 and portb_ctrl(0)) or (irqb2 and portb_ctrl(3));
irqa_n <= not (irqa1 and porta_ctrl(0)) or not (irqa2 and porta_ctrl(3));
irqb_n <= not (irqb1 and portb_ctrl(0)) or not (irqb2 and portb_ctrl(3));
end process;
end pia_arch;