Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
* [libre-riscv-dev] how do we test external interrupts?
@ 2020-07-28 13:30 Luke Kenneth Casson Leighton
  2020-07-28 14:54 ` Samuel Falvo II
  0 siblings, 1 reply; 6+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-07-28 13:30 UTC (permalink / raw)
  To: Libre-RISCV General Development

i've started on the XICS controller, and have converted both the ICS and
ICP.  a simple unit test on XICS-ICS shows it to be functional.

however we are hampered in several ways:

1) there does not appear to exist an actual accessible specification.

2) the only implementations are source code (linux kernel, qemu)

3) nobody else has written unit tests

4) given that XICS is involved in *external* interrupts, how do we even
*begin* to write a unit test that runs under e.g. qemu and the simulator,
here??

so i'd like to open up the discussion to develop a strategy here.

my feeling is that we may have to create a simulated peripheral (an
interrupt driven 16550 UART) in ISACaller which would allow exploration,
here.

thoughts welcome.

l.



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-28 13:30 [libre-riscv-dev] how do we test external interrupts? Luke Kenneth Casson Leighton
2020-07-28 14:54 ` Samuel Falvo II
2020-07-28 16:14   ` Luke Kenneth Casson Leighton
2020-07-28 16:41     ` Samuel Falvo II
2020-07-28 16:50       ` Jacob Lifshay
2020-07-28 18:20         ` Luke Kenneth Casson Leighton

Libre RISC-V Mailing list Archives (accessible via public-inbox)

Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev

Example config snippet for mirrors


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git