electronic_eel has quit [Ping timeout: 240 seconds]
electronic_eel has joined #glasgow
<whitequark>
error! TypeError: WebAssembly.instantiate(): Import #0 module="wasi_snapshot_preview1" error: module is not an object or function
<d1b2>
<TiltMeSenpai> yeah there would probably need to be some massaging to get it to work with the mozilla polyfill, I haven't tried using it yet
<d1b2>
<TiltMeSenpai> how big are the yosys+nextpnr wasm binaries?
<whitequark>
tiny
<whitequark>
the chipdb is massive tho
<whitequark>
... why does icepack have a megabyte of code?!!
<whitequark>
anyway so yosys.wasm is 20M, nextpnr wasm is 1.5M, chipdb for 5k is 67M
<d1b2>
<TiltMeSenpai> hmm the generic idea is to develop a board that used webasm and webusb to let people build + flash a conference badge based around an ice40 or ecp5
<whitequark>
note that you can quite possibly get yosys to be half as large if not better
<whitequark>
by subsetting it
<d1b2>
<TiltMeSenpai> yeah I was sort of wondering what I would need to do that, yosys/nextpnr would only need to build for a single fpga in a single package
<d1b2>
<TiltMeSenpai> this might actually be sorta doable?
<whitequark>
for nextpnr i'll add this natively
<whitequark>
for yosys you need abominable hacks
<whitequark>
for now at least
<whitequark>
incredibly fragile too
<d1b2>
<TiltMeSenpai> what does nextpnr ingest
<whitequark>
json
<d1b2>
<TiltMeSenpai> oh it looks like a list of cell definitions
<whitequark>
basically
<d1b2>
<TiltMeSenpai> I was wondering if it would be possible to skip yosys for some icestudio style nodal editor without any support for verilog
<d1b2>
<TiltMeSenpai> that doesn't look practical
<whitequark>
no, unless you're ready to ask people to instantiate luts and ffs directly
<d1b2>
<ld;cd> you also need techmap so it wouldn't be very cross platform
<d1b2>
<TiltMeSenpai> yowasp-nextpnr-ice40 -- Next Generation Place and Route (Version da92802) Nice! (This was literally right after installing python from the Windows Store, so pretty close to worst case possible for something like this)
<whitequark>
oh thank *gods* python from the windows store is 64-bit
<whitequark>
or it would have been a neverending nightmare
<whitequark>
so this isn't quite ready yet because you can't yet install only some of the chipdbs
<whitequark>
(I can't distribute the full package because of PyPI upload size limits)
<whitequark>
((I can ask PyPI to change them for nextpnr but it's better to split them for everyone involved))
<d1b2>
<TiltMeSenpai> this is still pretty incredible, nice work
<whitequark>
:)
ZerataX has quit [*.net *.split]
null_ptr has quit [*.net *.split]
null_ptr has joined #glasgow
ZerataX has joined #glasgow
FFY00 has quit [Ping timeout: 240 seconds]
midnight has quit [Ping timeout: 272 seconds]
midnight has joined #glasgow
midnight has quit [Ping timeout: 244 seconds]
FFY00 has joined #glasgow
midnight has joined #glasgow
ExeciN has joined #glasgow
Stormwind_mobile has joined #glasgow
m4ssi has quit [Remote host closed the connection]
ec0 has joined #glasgow
niklas has joined #glasgow
niklas is now known as Guest89907
Guest89907 is now known as niklasf
ExeciN has quit [Ping timeout: 265 seconds]
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
kmehall_ has quit [Remote host closed the connection]
kmehall has joined #glasgow
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
niklasf has quit [Ping timeout: 244 seconds]
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
<electronic_eel>
esden: I finished layout of the INA233s and fixed some silkscreen bugs
<electronic_eel>
esden: next up on my list is the power sequencer. IIRC niklas found out that with the HX8K we don't need such a sophisticated one
<electronic_eel>
but I wanted to double-check that before replacing it
<whitequark>
need to integrate it with glasgow and we finally have a first class windows story
<electronic_eel>
also we could change the tvs diode arrays to ones that can be sourced cheaply at LCSC, but are also available from digikey/mouser
<electronic_eel>
whitequark: your wasm stuff is really neat for windows, I think this is the cleanest solution for distributing glasgow to windows
<whitequark>
yeah...
<whitequark>
now we just need to get rid of the bitarray crap
<whitequark>
i regret ever pulling that in
<electronic_eel>
(also I was hanging out on azonenbergs scopehal channel and helping him design his monster logic analyzer and own line of oscilloscopes)
<whitequark>
nice
<hell__>
:o
<electronic_eel>
yeah, the bitarray is an issue
<whitequark>
it's fixable tho
<electronic_eel>
whitequark: is sdcc an issue on windows? or do you want to wasm it too?
<electronic_eel>
or provide precompiled firmware?
<whitequark>
electronic_eel: we already provide precompiled firmware i think
<whitequark>
hmm
<whitequark>
it's only in pypi packages though
<whitequark>
wasming sdcc makes no sense, we can just check in the hex files
<electronic_eel>
ah, didn't notice that, it compiled the firmware it on my machine as I installed from the git source
<whitequark>
yes
<whitequark>
it compiles if you install from git
<whitequark>
but if we had a pypi release (we do not) it would use a hex file from that
<electronic_eel>
ok, so just someone who wants to do firmware development has to have sdcc installed, don't think that is an issue
<electronic_eel>
I think sdcc even provides precompiled .exes
<whitequark>
yep
<electronic_eel>
also we don't need any bleeding edge features from sdcc. that is the big difference to yosys
<whitequark>
yep
niklas has joined #glasgow
niklas is now known as Guest30131
Guest30131 is now known as niklasf
m4ssi has joined #glasgow
niklasf has quit [Ping timeout: 260 seconds]
Stormwind_mobile has quit [Read error: Connection reset by peer]
Stormwind_mobile has joined #glasgow
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #glasgow
m4ssi has quit [Remote host closed the connection]