ChanServ changed the topic of #yosys to: Yosys Open SYnthesis Suite: https://github.com/YosysHQ/yosys/ | Channel logs: https://libera.irclog.whitequark.org/yosys/
tpb has quit [Remote host closed the connection]
tpb has joined #yosys
peeps[zen] has quit [Read error: Connection reset by peer]
peepsalot has joined #yosys
Tokamak_ has joined #yosys
bl0x_ has joined #yosys
bl0x has quit [Ping timeout: 272 seconds]
ec has quit [Remote host closed the connection]
ec has joined #yosys
bjonnh[m]1 has quit [Ping timeout: 252 seconds]
whitequark has quit [Ping timeout: 260 seconds]
xiretza[m] has quit [Ping timeout: 265 seconds]
pepijndevos[m] has quit [Ping timeout: 252 seconds]
programmerjake has quit [Ping timeout: 246 seconds]
xiretza[m] has joined #yosys
whitequark has joined #yosys
pepijndevos[m] has joined #yosys
bjonnh[m]1 has joined #yosys
ec has quit [Remote host closed the connection]
ec has joined #yosys
programmerjake has joined #yosys
ec_ has joined #yosys
ec has quit [Ping timeout: 255 seconds]
ec_ has quit [Ping timeout: 255 seconds]
ec_ has joined #yosys
singham has joined #yosys
<singham> I face the following strange error building nextpnr for hx8k on RPI3
<singham> .
<singham> Reaping winning child 0x55a6e38f60 PID 2448 Live child 0x55a6e38f60 (ice40/chipdb/chipdb-8k.bba) PID 2450 Killed Reaping losing child 0x55a6e38f60 PID 2450 make[2]: *** [ice40/CMakeFiles/chipdb-ice40-bbas.dir/build.make:75: ice40/chipdb/chipdb-8k.bba] Error 137 Removing child 0x55a6e38f60 PID 2450 from chain. Reaping losing child 0x55c41ab000 PID 2447 make[1]: *** [CMakeFiles/Makefile2:255: ice40/CMakeFiles/chipdb-ice40-bbas.dir/all] Er
<singham> .
<singham> Above is output of "make -d"
<gatecat> probably running out of memory
<singham> So what should I do?
<singham> RPI3 has 1GB RAM
<tnt> exactly ... too low
<singham> :(
<gatecat> if you don't care about building it yourself, get it from https://github.com/YosysHQ/oss-cad-suite-build/releases/tag/2022-12-21
<singham> Thanks. How much RAM does it typically need?
<singham> Can I have swap. Then I can build it right?
<tnt> Sure ... it'll take you a few days, but it'll work.
<singham> :P
<singham> How much RAM does it use?
<tnt> I think 3-4G assuming no parallel build.
<singham> Then I should have just 3GB swap
<tnt> I would most definitely err on the side of caution and use _more_ swap than needed.
<tnt> It'll also completely trash the sdcard with tons on rewrite cycles so make sure it's a good quality one that will survive that pounding.
<singham> :P. Just joking. I'll see cross compiling.
<singham> But what takes so much RAM?!
<singham> 3-4GB is way too much!
<tnt> the bba building use some python script to build the db ... it's "easy" to do in python but eats ram like crazy.
<tnt> Feel free to rewrite it better.
<singham> bba means?
<tnt> some custom thing used here to represent the fpga db.
<tnt> There is some way to not build it and use pre-made ones, also worth looking into.
<tnt> Not sure how well that option is documented.
<singham> Checked core. bba is BinaryBlobAssembler
<singham> It seems that it is kept in memory and appended I guess with blob.
<singham> Building just for hx8k shouldn't consume that much right!
<singham> RAM
ec_ has quit [Remote host closed the connection]
ec_ has joined #yosys
<singham> What commands should I give to chipdb.py to test it
singham has left #yosys [#yosys]
ec has joined #yosys
ec_ has quit [Ping timeout: 255 seconds]
Tokamak_ has quit [Ping timeout: 255 seconds]
Tokamak_ has joined #yosys
Tokamak_ has quit [Ping timeout: 252 seconds]
Tokamak_ has joined #yosys
Tokamak_ has quit [Quit: Tokamak_]
Klotz has joined #yosys
Klotz has quit [Ping timeout: 255 seconds]
ec has quit [Remote host closed the connection]
Tokamak_ has joined #yosys
Tokamak_ has quit [Ping timeout: 255 seconds]
Tokamak_ has joined #yosys
ec has joined #yosys
nonchip has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
nonchip has joined #yosys
ec has quit [Ping timeout: 255 seconds]
ec has joined #yosys