starfive-tech / JH7100_Docs

60 stars 9 forks source link

CLIC or CLINT? #2

Open lbmeng opened 3 years ago

lbmeng commented 3 years ago

In https://github.com/starfive-tech/beaglev_doc/raw/main/JH7100%20Data%20Sheet%20V01.01.04-EN%20(4-21-2021).pdf,

on page#12, it says the following for "SiFive U74 Dual-Core":

CLIC for timer and software interrupts

and on page#13, it says the following for "SiFive E24 Core":

CLIC with support for up to 127 interrupts with 16 priority levels

Are they correct? Should it be CLINT?

pdp7 commented 3 years ago

Yes, I think you are correct that it should be CLINT. I believe SiFive uses Core-Local Interruptor (CLINT) _(see page 31 in SiFive U7 manual)_ as their implementation of the CLIC.

@davidlt @tekkamanninja is that correct?

MichaelZhuxx commented 3 years ago

For U74 Dual-Core, use CLINT and PLIC, please refer to https://github.com/starfive-tech/beaglev_doc/blob/main/vic_u7_manual_with_creativecommons.pdf

For E24 Core,use CLIC https://www.sifive.com/cores/e24

lbmeng commented 3 years ago

Thanks for the clarification!

pdp7 commented 3 years ago

I am leaving open until there is new PDF

whuhujin commented 3 years ago

U7 core supports CLINT + PLIC , and E24 supports CLIC.