Project

General

Profile

« Previous | Next » 

Revision 1102

Added by markw about 5 years ago

irq 1 should not be masked

View differences:

common/a8core/pia.vhdl
end if;
if (addr_decoded(2) = '1') then
data_out <= (irqa_reg(1)&irqa_reg(0) and not(porta_control_reg(5))&not(porta_control_reg(5)))&porta_control_reg;
data_out <= irqa_reg(1)&(irqa_reg(0) and not(porta_control_reg(5)))&porta_control_reg;
end if;
if (addr_decoded(3) = '1') then
data_out <= (irqb_reg(1)&irqb_reg(0) and not(portb_control_reg(5))&not(portb_control_reg(5)))&portb_control_reg;
data_out <= irqb_reg(1)&(irqb_reg(0) and not(portb_control_reg(5)))&portb_control_reg;
end if;
end if;

Also available in: Unified diff