sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv
j0hnny has joined #riscv
cwebber has joined #riscv
ivii has quit [Quit: Konversation terminated!]
j0hnny has quit [Ping timeout: 250 seconds]
jimwilson has quit [Quit: Leaving]
seninha has quit [Quit: Leaving]
join_subline has joined #riscv
join_subline has quit [Ping timeout: 256 seconds]
join_subline has joined #riscv
join_subline has quit [Ping timeout: 240 seconds]
join_subline has joined #riscv
join_subline has quit [Ping timeout: 250 seconds]
join_subline has joined #riscv
join_subline has quit [Ping timeout: 256 seconds]
jacklsw has joined #riscv
join_subline has joined #riscv
jimwilson has joined #riscv
jamtorus has joined #riscv
jellydonut has quit [Ping timeout: 256 seconds]
KombuchaKip has quit [Quit: Leaving.]
lainon has joined #riscv
lainon has quit [Quit: lainon]
KombuchaKip has joined #riscv
jacklsw has quit [Read error: Connection reset by peer]
vagrantc has quit [Quit: leaving]
BOKALDO has joined #riscv
jacklsw has joined #riscv
riff-IRC has quit [Remote host closed the connection]
riff-IRC has joined #riscv
huseyinkozan has joined #riscv
winterflaw has joined #riscv
jjido has joined #riscv
nun has quit [Ping timeout: 252 seconds]
nun has joined #riscv
alMalsamo has quit [Ping timeout: 276 seconds]
_inky has quit [Ping timeout: 260 seconds]
ivii has joined #riscv
alMalsamo has joined #riscv
NishanthMenon has quit [Ping timeout: 268 seconds]
llamp[m] has quit [Ping timeout: 268 seconds]
gruetzkopf has quit [Ping timeout: 268 seconds]
Starfoxxes has quit [Ping timeout: 268 seconds]
rsalveti has quit [Ping timeout: 268 seconds]
NishanthMenon has joined #riscv
gruetzkopf has joined #riscv
rsalveti has joined #riscv
<la_mettrie> it seems that StarFive's VisionFive SoC I ordered from allnetchina.cn on 5th of January is still in a "confirmed" state (instead of "shipped"). i wonder if i should try to cancel it and think about something else.
psydroid has joined #riscv
TianruiWei[m] has joined #riscv
Andre_H has joined #riscv
llamp[m] has joined #riscv
Starfoxxes has joined #riscv
Andre_H has quit [Client Quit]
Andre_H has joined #riscv
_inky has joined #riscv
Andre_H has quit [Client Quit]
KombuchaKip has quit [Ping timeout: 256 seconds]
Hypercube3D has joined #riscv
Hypercube3D_ has joined #riscv
<Hypercube3D_> qwestion: I'm working through what is available in China for RISC-V searching shopping sites and then checking out their developer IDEs
<Hypercube3D_> windoze only IDEs I give up immediately. those with linux I try out. The more interesting ones are those with IDE's for linux on ARM and RISC-V
<Hypercube3D_> The easiest linux ide i found so far is for CH32V307 - https://www.youtube.com/watch?v=JHzsH9RhTR4 - http://mounriver.com
<Hypercube3D_> A bit more involved getting linux and Logan Nano RISC-V - GD32VF103CBT6 working
<Hypercube3D_> Next target is to get RISC-V on a ULX3S working :)
<Hypercube3D_> After that world domination: :)
<Hypercube3D_> Build a Digital Quantum Computer attached to the RISC-V - https://hellosemi.com/hypercube/pmwiki.php?n=Main.DigitalQuantumComputer
<josuah> Hypercube3D_: I missed the question in that, but I guess you are after RISC-V that can be driven nicely from Linux?
<josuah> I am currently wrapping my head around GD32VF103's USART register to get it working
<josuah> I got it blinking though :)
<josuah> I am on my way for getting some code for a few boards so I can run "make" and "make flash" and get the board to blink
<Hypercube3D_> Definitely driving anything from Linux is nice because you can pull in scripts and other IDEs (like GAMBAS) to make extremely powerful PC integrated systems
<josuah> a "libopencm3" for RISC-V would be very nice https://libopencm3.org/
<josuah> there is also an ESP32-C3, never played with it
<Hypercube3D_> I got 100pcs of ESP32-C3 to make new boards and some dev boards to try out the dev environment - I will be playing with those in a few days.
<josuah> there is also the FE310 by SiFive, but not a lot of peripheral on it
mithro has quit [Ping timeout: 245 seconds]
<Hypercube3D_> I can't seem to order any SiFive chips - not sure why they don't sell to stockists
<josuah> I bought mine from digikey
<josuah> but maybe digikey bought the few they had as a regular custommers, not as distributors
mithro has joined #riscv
<josuah> still has RTC, PWM, I2C, SPI, UART, GPIO though
NishanthMenon has quit [Ping timeout: 252 seconds]
<Hypercube3D_> i never could order from anywhere SiFive chips - now the shortages kill that idea 100%
<Hypercube3D_> They are mad not to order chips and start selling.
NishanthMenon has joined #riscv
<Hypercube3D_> Thanks josuah :)
<josuah> Hypercube3D_: my pleasure :)
<Hypercube3D_> I'll order a few boards (expensive for what they are) - but I also need at least 100pcs chips to build boards - otherwise it gets binned eventually :(
<josuah> the price is still high for an MCU, maybe because it is not massively produced yet
jimwilson has quit [Remote host closed the connection]
jimwilson has joined #riscv
<Hypercube3D_> doesn't sound right - about $90,000 to produce a chip and 9 months if done flat out speed
<Hypercube3D_> Each wafer may cost $3000 (depending on process/wafer size) and likely yield 1000 to 10,000 chips costing $0.2 per chip
<Hypercube3D_> After packaging it cost $0.4
<Hypercube3D_> A lot of instant profit if done right - no need to sell at high price and kill your market
<josuah> are you planning to build a Digital Quantum Computer (learned the word today, from your project) prototype out of MCUs?
<Hypercube3D_> Sadly it is my duty to dominate the world :)
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<josuah> that sounds like a weird strategy indeed
<josuah> maybe it did put a lot of debt onto the authors
<gordonDrogon> do these boards/chips just look like USB storage to the host?
<josuah> gordonDrogon: maybe it is possible to do it like what the RP2040 does, but at least for the GD32VF103, the easiest way to flash it was through USB, yes, but with DFU protocol
<gordonDrogon> I'd like something I can preferably just drop a binary image into and have it load and run it ...
<josuah> with dfu-util
<gordonDrogon> ah, ok. I'll look at that (linux friendly I hope)
<josuah> cp $file $target is barely any harder than ./flash-chip.sh (or in my case "make flash")
<josuah> gordonDrogon: I am flashing it from OpenBSD without trouble :D
<gordonDrogon> once I find a board with enough RAM that is (which for me is 512KB to 1MB)
<gordonDrogon> thanks.
<josuah> also, there is programming through J-TAG
<Hypercube3D_> Try this website for GD chip - https://www.sigmdel.ca/michel/ha/gd32v/longan_nano_01_en.html
<gordonDrogon> 32K RAM )-:
<gordonDrogon> still very few boards that are in-between the "microcontroller" and full-blown Linux sizes...
<gordonDrogon> probably no/little demand for that range though.
<Hypercube3D_> Teensi boards are in-betweeners
<gordonDrogon> meanwhile I'll keep using my emulator although it's a shade slow...
<josuah> gordonDrogon: maybe you knew https://linuxgizmos.com/ ?
<josuah> small things able to run Linux
<gordonDrogon> I'm not after Linux though - RV32IM although I can do without M at a pinch.
<gordonDrogon> I have my own retro style OS written in a very retro language; BCPL... (just call me weird if you like! :)
<gordonDrogon> I currently have most of it running in an emaulator written in BCPL running on a retro 8/16 bit CPU. it's very very slow, but makes it ok for testing/bringup.
<gordonDrogon> just a fun/personal project.
<gordonDrogon> ESP32-C3 is about the best so-far, but I've started to tentatively look at my own FPGA solution for it.
Hypercube3D_ has quit [Quit: Leaving]
Hypercube3D has quit [Quit: Leaving]
jmdaemon has quit [Ping timeout: 250 seconds]
<josuah> gordonDrogon: I discovered the Uxn project from https://100r.co/site/uxn.html lately
<josuah> they ported their virtual machine (in the java sense, but a nimble and simple one) to various platforms
<gordonDrogon> that's quite interesting - sort of in the same idea as pico-8 - ish...
<gordonDrogon> BCPL runs on-top of a bytecode VM too, so my task of getting BCPL going on RV is essentially porting/re-writing my existing bytecodeVM from the 65816 world to the RV world.
<gordonDrogon> My aims are for 'self hosting' - which I have to a good degree with my existing system - it's just a bit slow.
<josuah> there are example projects here: https://github.com/hundredrabbits/awesome-uxn#emulators
<josuah> but building a VM for a language sounds an extremely good use of an FPGA!
<josuah> also a fun project
<gordonDrogon> ultimately it would be good if I could build a CPU (in an FPGA) that executed the byecode directly but that may be beyond my ken (for now, anyway)
<gordonDrogon> however RV ASM is making it remarkably easy - far (far!) easier than writing it in '816 assembler anyway.
<gordonDrogon> although arguably I did the 'hard work' in '816 code, so translating it to RV is not that hard.
<gordonDrogon> and despite being 32-bit, the RV code is more code-dense than the 65826 code is, and clock tick for clock tick much faster.
<josuah> gordonDrogon: and you would have built a compiler!
<gordonDrogon> no - that was already written
<gordonDrogon> and I had a binary for it too, so the bootstrap paradox for that had been 'solved' many years ago. BCPL dates for about 1966..
<gordonDrogon> BCPL was used to write B which was used to write C ...
<gordonDrogon> I suspect the very first BCPL compiler was written in Algo.
<gordonDrogon> *Algol.
<gordonDrogon> example BCPL code for anyone vaguely interested: https://unicorn.drogon.net/sort.b.txt
<josuah> I would miss my lovely types
<gordonDrogon> you get used to it.
jjido has joined #riscv
seninha has joined #riscv
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
BOKALDO has quit [Quit: Leaving]
kaph has joined #riscv
_inky has quit [Ping timeout: 256 seconds]
rvalles has quit [Ping timeout: 256 seconds]
_inky has joined #riscv
jjido has joined #riscv
jeancf has joined #riscv
aerkiaga has joined #riscv
_inky has quit [Read error: Connection reset by peer]
aerkiaga has quit [Remote host closed the connection]
alMalsamo has quit [Ping timeout: 276 seconds]
jamtorus is now known as jellydonut
_inky has joined #riscv
alMalsamo has joined #riscv
BOKALDO has joined #riscv
aerkiaga has joined #riscv
seninha has quit [Quit: Leaving]
seninha has joined #riscv
EchelonX has quit [Quit: Leaving]
aerkiaga has quit [Remote host closed the connection]
jeancf has quit [Quit: Konversation terminated!]
jeancf has joined #riscv
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Andre_H has joined #riscv
cwebber has quit [Remote host closed the connection]
jjido has joined #riscv
aerkiaga has joined #riscv
Andre_H has quit [Quit: Leaving.]
compscipunk has quit [Quit: WeeChat 2.8]
KombuchaKip has joined #riscv
compscipunk has joined #riscv
Andre_H has joined #riscv
bauruine has joined #riscv
KombuchaKip has quit [Ping timeout: 256 seconds]
vagrantc has joined #riscv
alMalsamo has quit [Ping timeout: 276 seconds]
KombuchaKip has joined #riscv
jacklsw has quit [Read error: Connection reset by peer]
jmdaemon has joined #riscv
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
___nick___ has joined #riscv
jjido has joined #riscv
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
rvalles has joined #riscv
rvalles has quit [Client Quit]
rvalles has joined #riscv
jmdaemon has quit [Ping timeout: 256 seconds]
jmdaemon has joined #riscv
jeancf has quit [Ping timeout: 256 seconds]
musti has joined #riscv
mahmutov_ has joined #riscv
<gordonDrogon> well, taken a puunt and ordered a board via aliexpress - estimated 23rd Feb to the UK, so here's hoping!
aerkiaga has quit [Remote host closed the connection]
BOKALDO has quit [Quit: Leaving]
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jjido has joined #riscv
huseyinkozan has quit [Quit: Konversation terminated!]
<SpaceCoaster> GordonDrogon: exciting, what did you order?
<SpaceCoaster> The BCPL snippet was interesting, clear and concise. Did you say it complies to bytecode for an interpreter?
EchelonX has joined #riscv
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
jeancf has joined #riscv
alMalsamo has joined #riscv
musti has quit [Ping timeout: 256 seconds]
ivii has quit [Quit: Konversation terminated!]
ivii has joined #riscv
joev1 has quit [Ping timeout: 250 seconds]
joev1 has joined #riscv
epony has quit [Quit: QUIT]
___nick___ has quit [Ping timeout: 256 seconds]
jjido has joined #riscv
ivii has quit [Quit: Konversation terminated!]
ivii has joined #riscv
KombuchaKip has quit [Ping timeout: 256 seconds]
mahmutov_ has quit [Ping timeout: 268 seconds]
ivii has quit [Quit: Konversation terminated!]
ivii has joined #riscv
bauruine has quit [Remote host closed the connection]
<gordonDrogon> SpaceCoaster, yes - BCPL has traditionally compiled into an intermediate code there are several variants and the latest (for a couple of decades or more) is a bytecode
<gordonDrogon> I think it would be relativly easy to "JIT" compile the bytecode into native on the fly too - although from a niave point of view just copy in the snippets I've written for each byte instruction...
<gordonDrogon> it would save a few cycles dispatch per opcode.
<gordonDrogon> there is another code the compiler can output which is supposedly easier to translate to a native format but I've not looked at it.
winterflaw has quit [Ping timeout: 276 seconds]
jeancf has quit [Ping timeout: 256 seconds]
<SpaceCoaster> Is this your first foray into FPGAs?
aerkiaga has joined #riscv
<gordonDrogon> yes
<gordonDrogon> possibly jumping in at the deep end, but there are cores that seem to be ready to go, according to the somewhat scant documentation for it.
<gordonDrogon> and I have quie enjoyed writing RV asm code. it's fasr easier than the old 65'816..
<SpaceCoaster> Yes it looks like it ships with picorv32. Agreed on the RV asm, very regular. I read the book https://www.amazon.com/RISC-V-Reader-Open-Architecture-Atlas/dp/0999249118
<SpaceCoaster> It was a long time since I read an chip manual and probably the first time I paid for one!
<SpaceCoaster> I think the draft or most of the contents are online. It explains the rational for the choices.
<gordonDrogon> I'd done a lot of sparc & i860 many years ago so it felt familiar - my plan to get to grips with it was to write my own RISC-V emulator - which I did although even running C on it, I found I only needed 22 base instructions to run most of the simple code I could use to test it with.
<gordonDrogon> I've not counted but I don't think I'm using much more than dozen base instructions in my VM interpreter....
<gordonDrogon> the plethora of registers is what's good though - I can keep all state in them. no need for ram to run the bytecode interpreter at all.
<SpaceCoaster> Looking forward to hearing about it. Might take a while to arrive with the Chinese new year etc.
jjido has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
joev1 has quit [Ping timeout: 256 seconds]
joev1 has joined #riscv
jmdaemon has quit [Ping timeout: 268 seconds]
cwebber has joined #riscv
_inky has quit [Ping timeout: 268 seconds]
KombuchaKip has joined #riscv
_inky has joined #riscv
jmdaemon has joined #riscv
Andre_H has quit [Quit: Leaving.]