ChanServ changed the topic of #glasgow to: glasgow debug tool · code https://github.com/GlasgowEmbedded/glasgow · logs https://freenode.irclog.whitequark.org/glasgow · discord https://1bitsquared.com/pages/chat · production https://www.crowdsupply.com/1bitsquared/glasgow · no ETAs at the moment
Stormwind_mobile has quit [Ping timeout: 240 seconds]
tomtastic has quit [Ping timeout: 240 seconds]
tomtastic has joined #glasgow
Getorix has joined #glasgow
Getorix_ has quit [Ping timeout: 264 seconds]
<esden> whitequark: YEY! :D
<esden> electronic_eel: hey, so what is the status of your changes? :)
<d1b2> <TiltMeSenpai> awesome 🎉
<d1b2> <TiltMeSenpai> idk if that breaks irc
<Stary> not only does it not break irc but it also shows up as unicode
<d1b2> <TiltMeSenpai> huh, the fact that it doesn't break irc is pretty cool. I wonder what percentage of irc clients handle unicode gracefully though
<whitequark> tbh if unicode broke irc we should put irc in the trash bin of history
<d1b2> <TiltMeSenpai> that's fair
<d1b2> <TiltMeSenpai> lol, now that nextpnr builds for webasm I'm running out of reasons to not develop a fully in-browser icebreaker workbench
<whitequark> you'd have to implement WASI for the browser first
<mwk> .... I mean irc is already halfway to the trash bin of history
<d1b2> <TiltMeSenpai> I think mozilla has a polyfill already, it's not fast though
<d1b2> <TiltMeSenpai> I think it would probably substantially impact performance
<whitequark> really?
<whitequark> nextpnr isn't really calling a lot of syscalls
<d1b2> <TiltMeSenpai> https://wasi.dev/polyfill/
<whitequark> hm
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
m4ssi has joined #glasgow
<whitequark> $ pip install yowasp-nextpnr-ice40-all
<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
<whitequark> i finished https://yowasp.org/, for ice40 at least
<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]
niklas has joined #glasgow
niklas is now known as Guest7457
Guest7457 has quit [Ping timeout: 246 seconds]