sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv | Matrix: #riscv:catircservices.org
heat_ has quit [Remote host closed the connection]
heat has joined #riscv
pecastro has quit [Ping timeout: 268 seconds]
cousteau_ has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
foton has quit [Remote host closed the connection]
foton has joined #riscv
hightower2 has quit [Ping timeout: 256 seconds]
Amanieu has quit [Ping timeout: 255 seconds]
Tenkawa has quit [Quit: Was I really ever here?]
Amanieu has joined #riscv
EchelonX has quit [Quit: Leaving]
khem has quit [Quit: Connection closed for inactivity]
MaxGanzII_ has joined #riscv
jacklsw has joined #riscv
KREYREN__ has quit [Ping timeout: 240 seconds]
Bluefoxicy has quit [Ping timeout: 256 seconds]
Bluefoxicy has joined #riscv
vagrantc has joined #riscv
stolen has joined #riscv
edr has quit [Quit: Leaving]
vagrantc has quit [Quit: leaving]
davidlt has joined #riscv
mlw has joined #riscv
SanchayanMaity has quit []
SanchayanMaity has joined #riscv
jacklsw has quit [Ping timeout: 264 seconds]
heat has quit [Ping timeout: 240 seconds]
BootLayer has joined #riscv
davidlt has quit [Ping timeout: 276 seconds]
mps has quit [Ping timeout: 268 seconds]
JTL is now known as JLT
JLT is now known as JTL
MaxGanzII_ has quit [Remote host closed the connection]
MaxGanzII_ has joined #riscv
Stat_headcrabed has joined #riscv
jacklsw has joined #riscv
bitoff has joined #riscv
mps has joined #riscv
khem has joined #riscv
Muddassir_Ali has joined #riscv
fayz has joined #riscv
bitoff_ has joined #riscv
<fayz> Does any one know which riscv Csrs are required to run an RTOS on fpga.
bitoff has quit [Ping timeout: 246 seconds]
davidlt has joined #riscv
<muurkha> well, you probably need to have some way to do interrupt handling. but plausibly you might prefer a nonstandard one
<muurkha> the RISC-V standard interrupt handling approach is inherently a bit slow
<muurkha> so, possibly none of them?
bitoff_ has quit [Remote host closed the connection]
<Muddassir_Ali> Basically, we have an rv32i design on Amaranth that needs to run RTOS for which we need to implement CSRs so we were wondering which CSRs need to be implemented?
<muurkha> it might depend on which RTOS you want to run on it
<muurkha> are you writing one from scratch, or are you using an existing one?
<Muddassir_Ali> we probably use Zephyr
<Muddassir_Ali> yes from scratch
shamoe has quit [Quit: Connection closed for inactivity]
<muurkha> if you're using Zephyr, you aren't writing an RTOS from scratch; Zephyr already exists
<muurkha> I think the files near https://github.com/zephyrproject-rtos/zephyr/blob/main/arch/riscv/core/isr.S should answer your question
<Muddassir_Ali> No sorry for the misconception I don't write Zephyre from scratch.
<Muddassir_Ali> I mean I design rv32i from scratch.
mps has quit [Ping timeout: 246 seconds]
<muurkha> aha, that makes more sense. awesome!
<muurkha> that file seems to use mcause, mstatus, mepc, and mscratch, which is pretty much what you'd expect from the standard RISC-V interrupt handling approach I think
<muurkha> oh and mtval
<muurkha> but then for example you have https://github.com/zephyrproject-rtos/zephyr/blob/main/arch/riscv/core/pmp.S which uses another range of CSRs for PMP. but presumably that can be configured out
<muurkha> I haven't actually done this myself, so I hope I'm not giving you bad advice
<muurkha> https://github.com/zephyrproject-rtos/zephyr/blob/main/arch/riscv/core/reset.S uses mhartid to see if it's running on the first hart
BootLayer_ has joined #riscv
mps has joined #riscv
<Muddassir_Ali> thanks 4 your help
<muurkha> it sounds like a fantastic project! I hope you have a wonderful time
<Muddassir_Ali> I hope too
BootLayer has quit [Read error: Connection reset by peer]
davidlt has quit [Quit: Leaving]
BootLayer_ has quit [Quit: Leaving]
davidlt has joined #riscv
pecastro has joined #riscv
Stat_headcrabed has quit [Quit: Stat_headcrabed]
crabbedhaloablut has joined #riscv
Muddassir_Ali has quit [Quit: Client closed]
fayz has quit [Quit: Client closed]
danilogondolfo has joined #riscv
jacklsw has quit [Ping timeout: 256 seconds]
khem has quit [Quit: Connection closed for inactivity]
ldevulder has joined #riscv
Leopold has quit [Ping timeout: 260 seconds]
Leopold has joined #riscv
heat has joined #riscv
psydroid has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
prabhakarlad has joined #riscv
prabhakar has joined #riscv
clemens3 has quit [Quit: WeeChat 2.7]
clemens3 has joined #riscv
mlw has quit [Ping timeout: 260 seconds]
BootLayer has joined #riscv
mlw has joined #riscv
stolen has quit [Quit: Connection closed for inactivity]
BootLayer has quit [Quit: Leaving]
mlw has quit [Read error: Connection reset by peer]
Galihom has quit [Quit: Bye bye]
shamoe has joined #riscv
jfsimon1981_c is now known as jfsimon
Tenkawa has joined #riscv
stolen has joined #riscv
edr has joined #riscv
andyc has joined #riscv
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #riscv
drmpeg has quit [Ping timeout: 260 seconds]
BootLayer has joined #riscv
drmpeg has joined #riscv
MaxGanzII_ has quit [Ping timeout: 240 seconds]
hightower2 has joined #riscv
koolazer has quit [Read error: Connection reset by peer]
jfsimon1981_c has joined #riscv
jfsimon has quit [Read error: Connection reset by peer]
crabbedhaloablut has quit [Read error: Connection reset by peer]
crabbedhaloablut has joined #riscv
jacklsw has joined #riscv
mlw has joined #riscv
andyc has quit [Quit: Connection closed for inactivity]
Andre_Z has joined #riscv
vagrantc has joined #riscv
jfsimon1981_c has quit [Read error: Connection reset by peer]
jfsimon1981_c has joined #riscv
khem has joined #riscv
jacklsw has quit [Ping timeout: 264 seconds]
prabhakarlad has quit [Ping timeout: 250 seconds]
prabhakar has quit [Ping timeout: 268 seconds]
ldevulder has quit [Quit: Leaving]
Andre_Z has quit [Quit: Leaving.]
mlw has quit [Ping timeout: 252 seconds]
mlw has joined #riscv
hightower2 has quit [Ping timeout: 256 seconds]
vagrantc has quit [Quit: leaving]
zjason` is now known as zjason
EchelonX has joined #riscv
jfsimon1981_c has quit [Remote host closed the connection]
mlw has quit [Ping timeout: 264 seconds]
shamoe has quit [Quit: Connection closed for inactivity]
mlw has joined #riscv
cousteau has joined #riscv
___nick___ has joined #riscv
Andre_Z has joined #riscv
___nick___ has quit [Client Quit]
Andre_Z has quit [Client Quit]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
gianluca has quit [Ping timeout: 260 seconds]
gianluca has joined #riscv
MoeIcenowy has quit [Ping timeout: 260 seconds]
shamoe has joined #riscv
n_crm_ has joined #riscv
MoeIcenowy has joined #riscv
Reinhilde has quit [Remote host closed the connection]
n_crm has quit [Ping timeout: 260 seconds]
mwette has joined #riscv
Narrat has joined #riscv
Ellenor has joined #riscv
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
psydroid has joined #riscv
zjason has quit [Read error: Connection reset by peer]
zjason has joined #riscv
mlw has quit [Ping timeout: 276 seconds]
mwette has quit [Ping timeout: 256 seconds]
mlw has joined #riscv
aburgess has quit [Ping timeout: 246 seconds]
vagrantc has joined #riscv
BootLayer has quit [Quit: Leaving]
___nick___ has quit [Ping timeout: 240 seconds]
davidlt has quit [Ping timeout: 246 seconds]
Ellenor is now known as Reinhilde
foton has quit [Ping timeout: 268 seconds]
Andre_Z has joined #riscv
dlan has quit [Ping timeout: 256 seconds]
aburgess has joined #riscv
mlw has quit [Ping timeout: 260 seconds]
psydroid has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
foton has joined #riscv
Andre_Z has quit [Quit: Leaving.]
danilogondolfo has quit [Remote host closed the connection]
dlan has joined #riscv
vagrantc has quit [Quit: leaving]
pecastro has quit [Remote host closed the connection]
pecastro has joined #riscv