Comments (8)
I don't know what the FIR feature is, so perhaps I misunderstand the question, but the machine timer interrupt works fine. I use it in SweRVolf
from cores-veer-el2.
Can you guide me how did it use it. As i was able to configure the internal timers but was unsuccessful with the Machine Timer Interrupt
from cores-veer-el2.
Hamza, the machine timer interrupt is an input pin to the core. Your SOC needs to have a CLINT or some other timer component. If it is programmable and on your system bus, you can program it via the core using ld/st to the memory mapped IO.
FIR is a Fast Interrupt Redirect
mechanism that is available in EL2/EH2 which allows external interrupts via the PIC to use a vector table in the DCCM directly to speed up interrupt handling.
from cores-veer-el2.
Actually the quote i added was a reply to me by @agrobman.
from cores-veer-el2.
Hamza, just to re-iterate on my previous comment : timer_int
is an input to the core. Within the core, you can use it per the RISC-V standard - it is a defined architectural function, with enable/disable via MIE and a specified mcause
.
How this interrupt is generated and delivered to the core is not part of EH2, but usually a timer module in your SOC or a CLINT in your SOC will provide this functionality.
This is a completely different feature than the external interrupt mechanism that the EH2 PIC provides, as indicated by @agrobman.
from cores-veer-el2.
yes i have a timer peripheral which generates the interrupt externally. But there is no information on how to configure this timer_int of the core. Can u help me with that
from cores-veer-el2.
mstatus[MIE] = 1, mie[MTIE] = 1 should enable M-timer interrupts - see riscv priv spec ..
from cores-veer-el2.
ok thanks
from cores-veer-el2.
Related Issues (20)
- Compilation fails HOT 3
- compile fail with TEST=dhry HOT 1
- Swerv RISC V HOT 2
- SRAM instance export HOT 3
- Remove (or make optional) the JTAG IDCODE command HOT 6
- Export ECC violation signals to the top level as status outputs
- Add support for DMI export to system
- Synthesis issue due to perr_dat_ff signal
- Improve readability and usability of common_defines.vh generated file
- UCR in synthesis
- Caliptra JTAG TdoEn missing output HOT 2
- CDC Error HOT 1
- LHS lesser than RHS : el2_ifu_mem_ctl.sv : ic_debug_way
- Simulation hits max cycle count for dhry, cmark_iccm, cmark_dccm HOT 11
- Does this design work with VCS/Cadence/Mentor simulators after memories were moved from design to tb_top? HOT 2
- Error while build through "make irun" HOT 7
- FuseSoC core description file is missing
- Request to review Lint Issues in Veer RTL HOT 2
- Relation between Core reset(rst_l) and dbg_rst_l
- EL2_DMA_CTRL.sv AXI interface the burst length mode, awlen & arlen is not used, it is Error ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cores-veer-el2.