jacklsw has quit [Read error: Connection reset by peer]
nvmd has quit [Quit: Later, nerds.]
nvmd has joined #riscv
nvmd has quit [Quit: Later, nerds.]
koolazer has quit [Ping timeout: 252 seconds]
jamtorus is now known as jellydonut
voltron has joined #riscv
solrize has quit [Ping timeout: 268 seconds]
hendursa1 has joined #riscv
hendursaga has quit [Ping timeout: 276 seconds]
X-Scale has quit [Ping timeout: 252 seconds]
X-Scale` has joined #riscv
X-Scale` is now known as X-Scale
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #riscv
nvmd has joined #riscv
hendursa1 has joined #riscv
BOKALDO_ has quit [Quit: Leaving]
hendursaga has quit [Ping timeout: 276 seconds]
riff-IRC has quit [Quit: PROTO-IRC v0.73a (C) 1988 NetSoft - Built on 11-13-1988 on AT&T System V]
riff-IRC has joined #riscv
voltron has quit [Remote host closed the connection]
geertu has quit [Ping timeout: 264 seconds]
arlen has joined #riscv
arlen_ has quit [Ping timeout: 264 seconds]
<gordonDrogon>
Hm. why can't I find a simple little risc-v emulator that's not all-out aimed at running Linux inside. I just want a simple little thing that I can load some test code into and run rather than something emulating a typical PC's peripherals.
<jrtc27>
spike does not have much by way of peripherals...
<jrtc27>
and there's the sail model
<dh`>
there's sys161
<gordonDrogon>
names that have so-far failed to show in my searched )-: Or I just have weak google-fu tonight...
* dh`
does a generally terrible job at promoting os/161 and system/161
<dh`>
anyway, sys161 has enough hardware widgets to boot a real kernel, but they're simple
<dh`>
if that's what you want
<jemarch>
gordonDrogon: there is a riscv GNU sim, part of GDB
<gordonDrogon>
I just want something to interpret riscv opcodes and fiddle with memory - no IO or peripherals needed.
<jemarch>
yep
<gordonDrogon>
or maybe I just write one to suit myself - to get a batter grip on the ISA anyway as my project will likely involve a lot as ASM.
<jrtc27>
I may be biased but for that I would say use the sail model
<gordonDrogon>
it would not be the first time I've done that for anothe system, but ...
<jrtc27>
it's somewhat designed to be readable...
<jemarch>
use the GNU sim
<jemarch>
you can run it from within GDB (target sim) or directly in the command line as riscv-whatever-run
stefanct has quit [Ping timeout: 250 seconds]
<jrtc27>
isn't it rather new? has anyone run test suites on it to verify correctness? and how complete is it?
<jrtc27>
I'd be concerned that it hasn't seen much burn-in
<jrtc27>
but if it works and is sufficient then sure, the gdb integration may prove useful
<jrtc27>
(it would be nice if someone implemented the debug spec for the sail model...)
<jemarch>
jrtc27: I don't know if it is much used. But it is very simple
<jrtc27>
never looked at it, my only experience with sim is it recently honouring --enable-targets=all so my builds both took silly amounts of time and didn't complete because they trip up various important things we set to -Werror like calling a function without a prototype
<jrtc27>
(and also ppc breaks with gnulib's stdlib.h)
<dh`>
mmm, gnu-quality software
<jemarch>
dh`: what is that supposed to mean?
<jrtc27>
well gnulib is a porter's nightmare
<jimwilson_>
the gdb sim in riscv-gnu-toolchain is OK but lacks recent additions like B, the upstream GDB sim is broken and needs a lot of work, mostly just rewriting patches in riscv-gnu-toolchain so upstream will take them
<jrtc27>
by design
stefanct has joined #riscv
<jemarch>
jimwilson_: what kind of rewrite would be required? Is it the same simulator or a different one?
* jrtc27
read that as "rewriting the downstream patches to the existing sim", not "rewriting the sim"
<jimwilson_>
just the usual patch review issues, they don't like how we handle syscalls and want that code to be pulled out and made more generic, and there were some other patch review issues, I posted a ~20 part patch series to the gdb mailing list, but then the gcc-11 release branch was made and I had to do other stuff
<jemarch>
ah
<jemarch>
jimwilson_: I would help there, but I am swamped as usual :(
<jemarch>
didn't even have time to play seriously with my Unmatched
* jemarch
looks at the poor thing
solrize has joined #riscv
solrize has quit [Changing host]
solrize has joined #riscv
valentin has quit [Remote host closed the connection]
GenTooMan has quit [Read error: No route to host]
GenTooMan has joined #riscv
jimbzy has quit [Quit: ZNC 1.6.6+deb1ubuntu0.2 - http://znc.in]
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #riscv
winterflaw has quit [Ping timeout: 276 seconds]
jwillikers has joined #riscv
jwillikers has quit [Remote host closed the connection]