[Milkymist-devel] PS/2
Sébastien Bourdeauducq
sebastien.bourdeauducq at lekernel.net
Tue Nov 10 06:04:20 PST 2009
On Tuesday 10 November 2009 14:42:57 Takeshi MATSUYA wrote:
> Thank you for merging. :-)
> The uclinux is currently running with ps2 and vga console.
> But PS2 interrupt ack writing does not work. (D-Cache is disabled)
> UART rx/tx interrupt ack writing does not work too.
> I doubt ISE bug or etc.
Now that I checked, it seems that LM32 is designed to use edge-triggered
interrupts (despite its documentation stating the opposite) while all cores in
Milkymist use level-triggered interrupts (in compliance with the LM32 doc).
This configuration works (and UART interrupts are correctly acked in the demo
firmware) but it makes interrupt handling uselessly complex and wastes a few
FPGA LUTs.
I will convert all cores to edge-triggered interrupts and then we will start
debugging this interrupt issue on a more sane basis. And with edge-triggered
interrupts, there will be no need for core-level interrupt acking.
Sébastien
More information about the Devel
mailing list