Lofty changed the topic of #prjmistral to: Project Mistral: Yosys (and hopefully nextpnr) on Cyclone FPGAs - https://github.com/ZirconiumX/mistral - logs: https://freenode.irclog.whitequark.org/prjmistral
_whitelogger has joined #prjmistral
_whitelogger has joined #prjmistral
<Sarayan> e50f 612514 muxes, 6072456 routing bits, 18 max mux size, 11792056 routes, 44 max mux span size
<Sarayan> gt150f 1707292 muxes, 17012500 routing bits, 18 max mux size, 33161293 routes, 44 max mux span size
<Sarayan> gt75f 959166 muxes, 9522120 routing bits, 18 max mux size, 18503085 routes, 44 max mux span size
<Sarayan> gx25f 433482 muxes, 4261158 routing bits, 18 max mux size, 8229524 routes, 44 max mux span size
<Sarayan> gt300f 3330206 muxes, 33323376 routing bits, 18 max mux size, 65074820 routes, 44 max mux span size
<Sarayan> sx50f 560293 muxes, 5501638 routing bits, 18 max mux size, 10634202 routes, 44 max mux span size
<Sarayan> sx120f 1303736 muxes, 12984560 routing bits, 18 max mux size, 25281641 routes, 44 max mux span size
<Sarayan> I need to convert all that to a generator, weee
<Lofty> Have fun~
peeps[zen] has quit [Ping timeout: 272 seconds]
<Sarayan> ah nice, I can't compile the generated C++ code with the raw tables in them, not enough memory in my laptop
<Lofty> Oops :P
<Lofty> I guess it'll have to be runtime generated to some extent
<Sarayan> sure, but I was trying to have the non-generated tables linked in to compare at runtime with the generator results
<Sarayan> guess I'm gonna have to generate an asm file instead of a C++ one
peepsalot has joined #prjmistral
<jevinskie[m]> If you don’t need to worry about MSVC, you can do an “.incbin” in in-line assembly. I guess there is even a macro wrapper for it that comes with a build tool to support MSVC.
<Sarayan> well, it ends up with a binary so big the relocations fail
<Sarayan> gonna be external binary files, it's for debugging anyway
<Sarayan> nice side effect will be that I'll be able to commit/push, since there won't be gigabytes of source
<jevinskie[m]> ELF amd64? >4GB relocs? 🙃 I thought it was ridiculous when binaries at my old job started to hit macho’s 24-bit reloc offset limit
<kc8apf> gold is a better linker for really large binaries. Google wrote it for their 1+GB binaries. It's part of binutils.
<Sarayan> well, 7 monolithic arrays of size 0.5 to 3G
<sorear> ELF has 64-bit fields for symbol values, but some relocation types for some architectures have smaller limtis
<sorear> you can often force the compiler to generate longer instructions with -mcmodel=large or soemthing to that effect
<Sarayan> probably, but I came to the conclusion that external files would be significantly lower link times :-)
mwk_ has joined #prjmistral
mwk has quit [Ping timeout: 260 seconds]
mwk_ is now known as mwk