Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 260 seconds]
Hoernchen has joined ##openfpga
rohitksingh has quit [Ping timeout: 240 seconds]
inoor has quit [Quit: inoor]
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Bike has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
jn__ has quit [Quit: jn__]
Hoernchen has joined ##openfpga
jn__ has joined ##openfpga
Hoernchen has quit [Ping timeout: 240 seconds]
jn__ has quit [Client Quit]
Hoernchen has joined ##openfpga
jn__ has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
genii has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 240 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 260 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
m_w has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 240 seconds]
Hoernchen has joined ##openfpga
s_frit has quit [Remote host closed the connection]
Bike has quit [Quit: Lost terminal]
s_frit has joined ##openfpga
rohitksingh has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
freemint has quit [Remote host closed the connection]
freemint has joined ##openfpga
Richard_Simmons2 has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Richard_Simmons has quit [Ping timeout: 260 seconds]
Bob_Dole has joined ##openfpga
rohitksingh has quit [Ping timeout: 248 seconds]
freeemint has joined ##openfpga
freemint has quit [Ping timeout: 260 seconds]
Richard_Simmons2 has quit [Ping timeout: 245 seconds]
Bob_Dole has quit [Ping timeout: 245 seconds]
genii has quit [Quit: Morning comes early.... GO LEAFS GO!]
freemint has joined ##openfpga
freeemint has quit [Read error: Connection reset by peer]
massi_ has joined ##openfpga
freemint has quit [Remote host closed the connection]
freemint has joined ##openfpga
Bob_Dole has joined ##openfpga
freemint has quit [Remote host closed the connection]
freemint has joined ##openfpga
massi_ has quit [Remote host closed the connection]
Hoernchen has quit [Ping timeout: 268 seconds]
Hoernchen has joined ##openfpga
bwidawsk has left ##openfpga ["WeeChat 2.7"]
freemint has quit [Ping timeout: 248 seconds]
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
____ has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
<tnt> Mmm, just got a mouser email that my LIFCL-40-EVN delivery estimate is now 1st February
Hoernchen has joined ##openfpga
<zignig> tnt: should be able to do some cool stuff with that .
<zignig> tnt: is this with the intent to get nextpnr, yosys and friends up to speed ?
<tnt> daveshah already started on it
<zignig> nice. :)
<zignig> I am currently approaching a working Boneless serial bootloader, but RealLife(tm) keeps on getting in the way.
Hoernchen has quit [Ping timeout: 240 seconds]
Hoernchen has joined ##openfpga
_whitelogger_ has joined ##openfpga
TD-Linux has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Asu has joined ##openfpga
<TD-Linux> tnt, oh cool. if it's that soon I'll order one
<TD-Linux> wait are those 3 pmods? has lattice made a good dev kit?
<TD-Linux> also lol that enormous pot for the 1 adc input
Hoernchen has quit [Ping timeout: 260 seconds]
Hoernchen has joined ##openfpga
<tnt> Maybe I got my hopes up a bit quick. The mouser web site still shows 19 Feb for those boards ... or maybe that's just for new orders ... I guess we'll see soon enough.
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 260 seconds]
Hoernchen has joined ##openfpga
_whitelogger has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 260 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
freemint has joined ##openfpga
Ultrasauce_ is now known as Ultrasauce
freemint has quit [Remote host closed the connection]
freemint has joined ##openfpga
jn__ has quit [Read error: Connection reset by peer]
jn__ has joined ##openfpga
Maylay has quit [Ping timeout: 260 seconds]
Maylay has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
X-Scale` has joined ##openfpga
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` is now known as X-Scale
somlo has quit [Remote host closed the connection]
somlo has joined ##openfpga
Hoernchen has quit [Ping timeout: 268 seconds]
freemint has quit [Remote host closed the connection]
Hoernchen has joined ##openfpga
freemint has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
somlo has quit [Ping timeout: 260 seconds]
somlo has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
genii has joined ##openfpga
____ has quit [Quit: Nettalk6 - www.ntalk.de]
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
mumptai has joined ##openfpga
Hoernchen has quit [Ping timeout: 265 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
m4ssi has quit [Remote host closed the connection]
freemint has quit [Remote host closed the connection]
freemint has joined ##openfpga
s_frit has quit [Remote host closed the connection]
s_frit has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Jybz has joined ##openfpga
rohitksingh has joined ##openfpga
Hoernchen has quit [Ping timeout: 265 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
rohitksingh has quit [Ping timeout: 268 seconds]
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
<mwk> daveshah: soooooo.
<mwk> you know how the yosys json format stores every parameter value as a string of binary digits
<mwk> with the sole exception of values that are exactly 32 bits long and contain only 0 and 1 digits?
<mwk> so I just found out the hard way that such values don't make it through our json parser if the high bit is set
<mwk> and it's actually too late by the time json11 is done parsing
<mwk> (our parser in nextpnr)
Hoernchen has quit [Ping timeout: 268 seconds]
<mwk> any suggestions on how to deal with that?
Hoernchen has joined ##openfpga
* ZipCPU|Laptop takes a look in nextpnr to see what's going on
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
<kc8apf> integers in JSON are a lie. All JSON numbers are a float and should be assumed to be single-precision.
<mwk> kc8apf: thank you for this information, but it is irrelevant because that's not what json11 is doing
<mwk> if it doesn't have a dot, it's an integer
<mwk> well, dot or 'e'
Hoernchen has quit [Ping timeout: 248 seconds]
<kc8apf> prepare to be surprised by just about every JSON implementation
Hoernchen has joined ##openfpga
<kc8apf> oh, this is gonna be good
<daveshah> mwk: might be worth checking with Claire, but I would be tempted to just store all numbers as bit vectors
<daveshah> The integer thing for 32 bits is probably more pain than it's worth
<mwk> agreed
<daveshah> I don't think that should cause much trouble for nextpnr
<mwk> I think it's the sane thing to do
<daveshah> Ditto
<sorear> what's an example of a json library that uses single precision floats as its exclusive number type?
<mwk> sorear: javascript
<mwk> also, it's double precision floats
<mwk> not single
<ZipCPU|Laptop> Wasn't there a bug report that forced nextpnr into treating integers this way?
<sorear> javascript floats are double-precision, so that's not an example
<mwk> I don't think anyone actually does single
<mwk> (hopefully)
<mwk> (I'm about to be proven wrong, aren't I)
<sorear> kc8apf said "should be assumed to be single precision" and I'm requesting sources or evidence on that
<daveshah> ZipCPU: that was the change that used integers in far fewer cases to deal with things like x and z; and to pass the width of parameters; properly
<ZipCPU|Laptop> I'm remembering something where we needed to distinguish a string containing "0" from the actual number 0
<mwk> that is now taken care of by the new "escaping" way
<mwk> (which is horrible)
<mwk> (but works)
<daveshah> Yes, it is horrible
<kc8apf> sorear: the semantics of JSON numbers are undefined. single-precision float is the most conservative choice knowing that floats are allowed in every case
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
<mwk> kc8apf: thank you for explaining the bug I just explained
<hackerfoo> This is why schemas are useful, to define range, precision, etc.
<ZipCPU|Laptop> What, not line 594?
Jybz has quit [Quit: Konversation terminated!]
<kc8apf> mwk: you said it was due to the high-bit being set. It's a bug in the parser due to them checking number of base10 digits instead of actual value range.
<mwk> kc8apf: look, can you just stop?
<mwk> all you're saying doesn't matter
<mwk> the situation is that nextpnr parser mangles incoming ints with bit 31 set
freeemint has joined ##openfpga
<OK_b00m3r> oof.
<mwk> I really don't care about the json standard, or about which line specifically is causing the problem
freemint has quit [Read error: Connection reset by peer]
<mwk> I care about deciding whether we should a) fix the parser (which involves forking off json11), or b) fix the format to not represent the values as numbers
<kc8apf> or c) sending a PR to json11 or d) combinations of the above
<kc8apf> I was on my way to providing a patch to json11 to resolve their actual bug but now I'm annoyed by your behavior and will go off to do things that don't involve being harassed for offering to do work on a problem
<hackerfoo> I worked on the specification of numeric values for WSDL.
freeemint has quit [Read error: Connection reset by peer]
freeemint has joined ##openfpga
<hackerfoo> mwk: Probably something like `int x = someDouble;`
<mwk> hackerfoo: atoi call actually, but whatever
<mwk> it really does not matter
<kc8apf> ZipCPU|Laptop: it's a combination of 593 and 594. but mwk told me to stop and doesn't care what the bug is so I'm going to ignore the channel now
<hackerfoo> Ah. You can use strtold() to be safe.
<mwk> kc8apf: I can (and did) locate the bug easily enough on my own; I didn't ask for help with that, I asked daveshah for opinion on how to handle this specific case for yosys/nextpnr, and I didn't ask you to explain how json works to me
<mwk> ditto about schemas, there's no way they could actually help here
Hoernchen has quit [Ping timeout: 248 seconds]
<mwk> 4294967295 is a valid value by design, it just happens to be broken in that given parser
ZombieChicken has joined ##openfpga
Hoernchen has joined ##openfpga
freemint has joined ##openfpga
freeemint has quit [Read error: Connection reset by peer]
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 260 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
Hoernchen has quit [Ping timeout: 248 seconds]
Hoernchen has joined ##openfpga
<kc8apf> since i'm a glutton for punishment: 4294967295 is a valid unsigned int but not a valid int
Bike has joined ##openfpga
Hoernchen has quit [Ping timeout: 268 seconds]
Hoernchen has joined ##openfpga
freemint has quit [Ping timeout: 248 seconds]
Asu has quit [Remote host closed the connection]
Bob_Dole has quit [Read error: Connection reset by peer]
Hoernchen has quit [Ping timeout: 256 seconds]
Hoernchen has joined ##openfpga
genii has quit [Quit: Morning comes early.... GO LEAFS GO!]
m_w has joined ##openfpga