riscvarchive / riscv-platform-specs

RISC-V Profiles and Platform Specification
Creative Commons Attribution 4.0 International
112 stars 39 forks source link

both CLIC and CLINT seems to be used for the same thing #46

Closed kaddkaka closed 2 years ago

kaddkaka commented 3 years ago

Two abbreviations seem to be used for "Core-Local Interrupt Controller"

CLINT is the only one mentioned in the Terminology table at the top here: https://github.com/riscv/riscv-platform-specs/blob/main/riscv-platform-spec.adoc#terminology

The specifications linked are:

Can/Should this be made more cohesive? CLIC seems more in line with PLIC.

atishp04 commented 2 years ago

No. CLIC is not inline with PLIC apart from the name. CLIC is aimed for microcontroller class systems. That's why, it is an option for M platform. ACLINT provides the local interrupts that high end systems capable of running Rich OS i.e. Linux require. Timer, IPI (both S-mode & M-mode).

That's why, ACLINT is an option in OS-A platform but not in M platform

kumarsankaran commented 2 years ago

Can we close this issue or is there anything else to discuss on this topic?

kaddkaka commented 2 years ago

Ok thanks. What is the difference between ACLINT and CLINT?

It can probably be closed (it might just be confusing for me) ...

kumarsankaran commented 2 years ago

The difference between ACLINT and CLINT is described in Section 1 Introduction of the ACLINT spec here https://github.com/riscv/riscv-aclint/blob/main/riscv-aclint.adoc. I am closing this PR. Please reopen if there are still more questions.