<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