genii has quit [Quit: See you soon.]
lopsided98 has joined ##openfpga
Degi has quit [Ping timeout: 240 seconds]
Degi has joined ##openfpga
simeon[m] has quit [Ping timeout: 244 seconds]
promach3 has quit [Ping timeout: 244 seconds]
simeon[m] has joined ##openfpga
promach3 has joined ##openfpga
jaseg has quit [Ping timeout: 260 seconds]
jaseg has joined ##openfpga
_whitelogger has joined ##openfpga
ayazar has quit [Quit: The Lounge - https://thelounge.chat]
ayazar has joined ##openfpga
m4ssi has joined ##openfpga
ayazar has quit [Quit: The Lounge - https://thelounge.chat]
ayazar has joined ##openfpga
m4ssi has quit [Remote host closed the connection]
<azonenberg> whitequark: i saw it. Don't have a plausible explanation but i'm also getting pretty tired and about to go to sleep
<azonenberg> will look more in the morning
ayazar has quit [Quit: The Lounge - https://thelounge.chat]
ayazar has joined ##openfpga
<awygle> I should ask some of the old timers at work if they have theories (though yours sounds plausible to me)
<whitequark> i literally just wanted to read an EEPROM lol
<whitequark> "i bet my code is broken" (time passes) "i WISH my code was broken"
mossmann has quit [Ping timeout: 240 seconds]
mossmann has joined ##openfpga
peepsalot has quit [Quit: Connection reset by peep]
mumptai has joined ##openfpga
hitomi2505 has joined ##openfpga
emeb_mac has quit [Quit: Leaving.]
OmniMancer has joined ##openfpga
<awygle> whitequark: I work at a company that could be not-inaccurately described as "a collection of dozens of bitrotten (E)EPROMs"
<whitequark> i presume you can't send me any of those tho :p
<awygle> i dunno what our policy is on lending them out but i can ask
<whitequark> wait, you have a glasgow
<awygle> i have been waging a campaign to donate the really old stuff to a museum lol
<awygle> correct
<whitequark> you can just test my applet like... directly
<awygle> also correct
<whitequark> you'll need an adapter PCB with an obnoxious amount of 74xx logic
<whitequark> but that's easy
<awygle> if, as noted, obnoxious
<whitequark> typo?
<whitequark> oh
<whitequark> oh yeah
<whitequark> i mainly mean
<whitequark> i should just lay the PCB out in a proper CAD
<awygle> probably lol
<awygle> anyway i'm going to bed. later
<whitequark> nini
<pepijndevos> I have so far not really payed attention to the RISC-V hype. How does one assemble some core and peripherals into a SoC?
<OmniMancer> I think SiFive have a thingy but not sure what the result is
<sorear> I may have missed something in the scrollback but what are you trying to accomplish?
<pepijndevos> Well, say I download picorv32 or serv or some other core, to do something useful I need to integrate it with some memory, gpio, spi or whatever you want. Just curious if there is a generic ecosystem/tool for this, or you just have to download all the cores and write out the verilog glue
<daveshah> There are various tools to do this like LiteX and SoC-specific platforms like picosoc
<daveshah> But not one particular standard or anything
<sorear> I have no idea what you would consider "do something useful" to mean so I can't recommend specific cores or ecosystems
<sorear> there's also fusesoc and chipyard
<pepijndevos> I don't have a specific goal tbh
<pepijndevos> So what I was thinking... Rust embedded has a HAL ecosystem that supports various chip, but imagine I want to use Rust on my FPGA SoC...
<pepijndevos> I was just idly thinking if you could tie... LiteX, fuessoc, picosoc, chipyard, etc to automatic generation of Rust HAL support files or something.
<sorear> that sounds like it would go through device-tree or CMSIS as an intermediate stage
<sorear> I know most of the soc tools can generate device-tree and rust embedded can accept CMSIS, idk if anyone has tried to get them on a common language
<sorear> (they're different levels of abstraction - device tree tells Linux what devices exist at what addresses and what driver to use for them, CMSIS describes individual registers but not how to use them)
<pepijndevos> hmmm, I'm not really thinking anything linux capable
<pepijndevos> But basically you'd need a SoC tool to output CMSIS I guess
<sorear> also CMSIS is always generated and processed offline, device tree is generated offline and _could_ be processed offline but Linux uses it online
<pepijndevos> hm I see
<sorear> I was not meaning to imply you'd use Linux but there's no reason in principle the device tree data couldn't be used
<pepijndevos> Any particular SoC tool that's easy to play around with and get a device tree out of?
<sorear> the problem is that the device tree says you have a sifive,uart0 at 0x4C000 and you then need to map that into six registers for an embedded HAL; CMSIS gives you the registers directly
<sorear> it might make sense to / there may already exist a tool that knows the mapping and can translate
<RaYmAn> pepijndevos: It kind of sounds like https://github.com/rust-embedded/svd2rust - you'd need to generate a horrible XML file though. although unsure how
<RaYmAn> although unsure how well it's supposed*
<pepijndevos> Yea svd2rust seems how most Rust SoC are done
peepsalot has joined ##openfpga
<pepijndevos> So would be interesting if one of the FPGA SoC tools can generate that.
<daveshah> Never tried it myself but this should be able to generate svds from litex socs
<sorear> I think SVD is the actual name of the CMSIS file format and everything I said above applies to SVD
<pepijndevos> ohhhhh fancy
<pepijndevos> I will add "play with LiteX" somewhere on my list of toy projects hehe
Asu has joined ##openfpga
<zyp> litex also generates register headers directly so you don't have to take the detour through SVD
<pepijndevos> I want to try using Rust though
<zyp> ah, right
* sorear thinking #riscv needs better advertising
<sorear> although we've had a couple people there asking similar questions about soc tooling and me not being able to give a full answer
indefini[m] has quit [Quit: Idle for 30+ days]
<pepijndevos> The Fomu actually has an example of LiteX generated SVD to Rust crate.
m4ssi has joined ##openfpga
m4ssi has quit [Remote host closed the connection]
ross_s has quit [Ping timeout: 272 seconds]
ross_s has joined ##openfpga
cr1901_modern has quit [Read error: Connection reset by peer]
cr1901_modern has joined ##openfpga
cr1901_modern1 has joined ##openfpga
cr1901_modern1 has quit [Client Quit]
cr1901_modern1 has joined ##openfpga
cr1901_modern has quit [Disconnected by services]
cr1901_modern1 has quit [Client Quit]
cr1901_modern has joined ##openfpga
X-Scale` has joined ##openfpga
X-Scale has quit [Ping timeout: 246 seconds]
X-Scale` is now known as X-Scale
emeb has joined ##openfpga
GenTooMan has quit [Remote host closed the connection]
GenTooMan has joined ##openfpga
genii has joined ##openfpga
hitomi2505 has quit [Quit: Nettalk6 - www.ntalk.de]
Asu has quit [Remote host closed the connection]
Asu has joined ##openfpga
finsternis has quit [Remote host closed the connection]
OmniMancer has quit [Quit: Leaving.]
Patater has quit [Quit: Explodes into a thousand pieces]
Patater has joined ##openfpga
tux3_ has joined ##openfpga
tux3_ has quit [Changing host]
tux3_ is now known as tux3
m4ssi has joined ##openfpga
Asu has quit [Quit: Konversation terminated!]
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined ##openfpga
genii has quit [Quit: See you soon.]
m4ssi has quit [Remote host closed the connection]