m_w has quit [Quit: Leaving]
futarisIRCcloud has joined ##openfpga
unixb0y has quit [Ping timeout: 240 seconds]
unixb0y has joined ##openfpga
Lord_Nightmare has quit [Ping timeout: 248 seconds]
genii has quit [Remote host closed the connection]
wpwrak has quit [Read error: Connection reset by peer]
wpwrak has joined ##openfpga
wpwrak has quit [Read error: Connection reset by peer]
wpwrak has joined ##openfpga
Bike has quit [Quit: Lost terminal]
Lord_Nightmare has joined ##openfpga
rohitksingh_work has joined ##openfpga
Lord_Nightmare has quit [Ping timeout: 268 seconds]
Lord_Nightmare has joined ##openfpga
<rqou> wtf why can't i get quartus to pack three arithmetic luts in a lab?
<rqou> oh wat
<rqou> you can force quartus into arithmetic mode by connecting cout to a wire going nowhere
<rqou> ZOMG WTF
<rqou> carry chains don't go _down_
<rqou> they go _across_
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
X-Scale has quit [Read error: Connection reset by peer]
futarisIRCcloud has joined ##openfpga
<rqou> afaict an undriven lut input is 1
<rqou> a constant 1 on aload is really bad, it actually generates a lut to feed it
<rqou> hmm, why can't it use the "invert" bit for this?
<rqou> sload does have a dedicated "use 1" bit
<rqou> so there's one mystery bit resolved
<rqou> hmm, no wonder some doc describes these bits as "tie-offs"
<rqou> there's still one mystery bit though
pointfree1 has quit [Ping timeout: 260 seconds]
<rqou> azonenberg, awygle: any guesses what the one mystery bit does?
pointfree1 has joined ##openfpga
<azonenberg> Carry chains go horizontal?
<rqou> lol yeah
<azonenberg> thats funny
<azonenberg> (also in xilinx they go UP)
<azonenberg> i dont know anywhere they go down
<rqou> ice40?
<rqou> although i think they go up too
bitd has joined ##openfpga
<pie_> <rqou> you can force quartus into arithmetic mode by connecting cout to a wire going nowhere
rohitksingh_work has quit [Read error: Connection reset by peer]
<pie_> gotta love it when you have to bend over backwards to get your language to do what you want
<rqou> yeah, quartus is quite getting in the way when it comes to these control signals
<rqou> azonenberg: random thought, we should have some syntax for "fpgaasm" that isn't a netlist
<rqou> i.e. conceptually a flattened list of mux settings
<azonenberg> hmmm
<daveshah> rqou: that is basically what FASM is
<daveshah> Also how my ecp5 text config format works
<rqou> FASM?
<pie_> i.e. "representations that dont suck"? :D
<pie_> something about semantic gaps and whatnot
<pie_> i think semantic gap is my most recent favorite "word"
rohitksingh_work has joined ##openfpga
<rqou> hmm, i think one of the config lines here has an extraneous bit?
<rqou> as in, it could have been optimized away, but they didn't
<rqou> azonenberg: is this possible?
<rqou> no wait
<rqou> hmm, maybe i confused myself again
<rqou> i hate dealing with these f*cking bits
<rqou> soooo many control signals
<rqou> no wonder later families dropped a bunch of these
<rqou> oh hey azonenberg, how's your house?
<azonenberg> rqou: we finished insulating the two bedrooms downstairs, and did all but two corners of the office where i have to build removeable access panels for drain cleanouts
<azonenberg> hung a bunch upstairs but no finished rooms yet
<rqou> seems like you're finally cleaning up "misc" too
<rqou> azonenberg: contest: me finishing max v RE vs you finishing your house? :P
<azonenberg> The misc list still has a bunch of things
<rqou> i mean, so does the max v misc list
<rqou> i'd estimate max v is at about 85% completion right now
<azonenberg> i never finished running the cable trays, i have to fix a few things the electrical inspector complained about still (mostly relocating an attic box or two)
<azonenberg> i have to caulk the wire penetrations on all of the ceiling electrical boxes (thankfully not that many) that open into conditioned spaces
<azonenberg> ally did the walls already but couldnt reach the ceiling boxes
<pie_> rqou, you will lose, software projects are never done xD
<rqou> lol pie_
<pie_> otoh i hope states could be reached for libraries and such where one can say, yeah this is good, its sound, its not missing anything, if its not maintianed for 5 years you should still be able to use it fine
<pie_> like, it kind of bothers me that "actively maintained" needs to be a thing
<pie_> i want to be able to leave something in an acceptable finished state so i can work on something else without feeling guilty about artisanship
<rqou> you can be like me and just turn it in for homework :P
<rqou> although i can't do that anymore :P :P
<pie_> haha
<pie_> on that note it would be interesting to look at a list of software still useful/usable 20 (or whatever) years later
<pie_> qu1j0t3 ^
<azonenberg> rqou: At this point my goal is to finish insulating all walls by the end of this coming weekend
<rqou> aargh, i hate how much time "throwaway" software takes to write
<azonenberg> Then do the attic insulation over the coming week after work
<azonenberg> Ordering sheetrock some time early in the week, or even this weekend
<azonenberg> so that it will arrive as soon as insulation is done
<rqou> i thought you needed inspection first?
<azonenberg> Yes, but the instant he signs off i want to start hanging :p
<azonenberg> Which means having the stuff here by the time of the inspection
<azonenberg> Which means figuring out how much we need, and ordering it, asap
<rqou> azonenberg: how exactly do we need to _actually_ understand these global control bits?
<rqou> just enough to activate all documented and useful features, or _everything_ everything?
<pie_> rqou, i think that wouls depend on what you want? :P
<pie_> how likely is it somethign weird could happen if you dont understand everything
<pie_> rqou, depending on how much extra work it is, you might as well go all the way since you're already doing it?
<pie_> wont need to waste spin-up time later :P
<rqou> um, no
<rqou> afaict the remaining features can't be activated in quartus at least the way i'm doing it
<rqou> it'd probably require hardware testing
<pie_> i see
futarisIRCcloud has quit [Quit: Connection closed for inactivity]
<daveshah> rqou: at least in the ecp5 and the ice40, there are things that we suspect exist in hardware but the vendor tools don't let us do, but we haven't experimented with them and don't really plan to
<rqou> whee, i found the missing control mux settings
<rqou> i hope there's only two and not many more
<rqou> ok, i managed to go from bitstream->spreadsheet->code and everything is at least internally consistent
<rqou> so that's a decent start i guess
<rqou> now for yet more mux fuzzing
<rqou> ok, so each mux has 5 more settings for half the local tracks each
<rqou> alright, these bits are finally sanely organized for once
<pie_> & thred
<pie_> too bad its probably not a good idea unless youre manic depressive
<pie_> cool people are a bad inflence
Miyu has joined ##openfpga
<pie_> whitequark for based curated catgirl pictures
<pie_> someone just asked me for my desktop background
wolfspraul has joined ##openfpga
<q3k> i get similarly vivid dreams on ssris
<q3k> and it gets super fucking annoying if you get them night after night
<q3k> also i'm not sure about whitequark, but i'd personally choose to not have to take those drugs in the first place over the somewhat cute side effects i get from time to time
<pie_> yeah i presumed as much :P :/
<pie_> i mean obviously being sick is no fun
<pie_> whitequark, what is this, i neeed this https://twitter.com/whitequark/status/979224754656718848
pie__ has joined ##openfpga
pie_ has quit [Ping timeout: 260 seconds]
X-Scale has joined ##openfpga
rohitksingh_work has quit [Read error: Connection reset by peer]
Bike has joined ##openfpga
noobineer has joined ##openfpga
noobineer has quit [Max SendQ exceeded]
noobineer has joined ##openfpga
nurelin has quit [Ping timeout: 276 seconds]
nurelin has joined ##openfpga
Ultrasauce has quit [Ping timeout: 276 seconds]
Miyu has quit [Ping timeout: 256 seconds]
nurelin has quit [Ping timeout: 276 seconds]
genii has joined ##openfpga
nurelin has joined ##openfpga
cr1901_modern has quit [Read error: Connection reset by peer]
<jn__> rqou: hey, i got an idea for those broadcom LED microcontrollers
<jn__> rqou: an eBPF-based LED trigger with LED program offloading
* jn__ runs
<pie__> pkill -9 jn
<pie__> collateral damage ignored
<jn__> ☠
<qu1j0t3> pie__: among my personal stuff that's probably only 16 years right now, but I don't consider 20 years "a long time"
<qu1j0t3> pie__: personal i mean "open source and actively used by others"
<pie__> wow that synopsys
<pie__> OK
<awygle> using a jackhammer before 8am should be a crime.
<qu1j0t3> especially to open a jam jar
<awygle> why the hell would you have construction crews work 7am-3pm
<awygle> when it's light til 9pm
<q3k> citing the polish classic, "czy panowie musza tak napierdalac od bladego switu"
<q3k> #onlypolish90skids
<awygle> Google gives "do men have to napierdalac from a pale dawn"
<awygle> which is so close to an explanation as to be infuriating lol
<q3k> it's a quote from an unfortunately untranslatable cult classic film
<q3k> scene: a neurotic primary school teacher gets awoken by a construction crew, shouts out from the window: "do you fine gentlemen must insist on making so much fucking noise from the break of dawn?!"
<q3k> there's a lot of 'jezu' and 'kurwa' in that film.
<pie__> haha
<q3k> fansubbing this film into english is on my bucket list, but it really is difficult
* awygle adds "swear in Polish" to a text document titled "To Learn"
<awygle> actually I bet my grandmother can swear in Polish. I'll have to play this YouTube clip for her next time I see her.
<q3k> she likely knows the film
<awygle> na she's not polish. but granddad spoke it and she's a linguist
<q3k> ah
<pie__> lol
user10032 has joined ##openfpga
wpwrak has quit [Read error: Connection reset by peer]
wpwrak has joined ##openfpga
<keesj> sorry.. absolute noob here but... I have an ice stick and did managed to build / modify and run https://github.com/cyrozap/iCEstick-UART-Demo is there an example or using the IR leds (capture/replay) for a remote or similar?
<keesj> Wireless control applications such as high end remote controls, TVs, LED lighting control and others can also be implemented. (http://www.latticesemi.com/icestick)
<awygle> keesj: on the bottom of that page, if you click "design file" under "downloads", there's an IrDA example design
<awygle> (technically two, one for tx and one for rx)
<awygle> that should get you somewhat started at least. beyond that, you have to implement whatever protocol your remote transmits, i guess
cr1901_modern has joined ##openfpga
<rqou> keesj: one relatively-common remote control protocol is called "RC-5" (not to be confused with the encryption algorithm)
<keesj> I once did generating the code using a micro controller (bit bang) and do remember some of the details
<rqou> in that case you "just" need to translate that into a FSM
<rqou> or some other "good for hardware" style
cr1901_modern1 has joined ##openfpga
cr1901_modern has quit [Disconnected by services]
cr1901_modern1 has quit [Client Quit]
<keesj> I will take at look at the download (also found a contstraint file that contained the constraint for the irda tranciever)
cr1901_modern has joined ##openfpga
<kc8apf> I've never been happy with FASM syntax. It was the best we could come up with quickly. It works but I believe it would be much simpler with a bit of hierarchical structure.
<keesj> I was thinking of a very simple state machine and a shift register to push out the bits.
<keesj> (but I only really care about sending .. once I know the code.. I might grab it using a logic analyzer)
<daveshah> kc8apf: I've tried to do that with my ECP5 text-based config format, it's FASM split into tiles with some designations for different config types. At the moment I don't particularly like the way configs are split across tiles, it makes IO configs look a bit odd. Example below for a picorv32
<kc8apf> starting to look like BLIF
<kc8apf> ;)
<daveshah> the inspiration is from the ice40 "icebox_explain" format, which is actually a one-way transformation only at the moment, but I suspect that is ultimately BLIF derived
<daveshah> I thought about JSON but not sure how much benefit that really brings for this kind of thing
<daveshah> HLC for the ice40 adds more layers of hierarchy but it just makes things more annoying
<daveshah> Anything I do PAR wise for the ECP5 will probably just link against the libtrellis C++ library and avoid intermediate files of any kinds, just using in-memory structures (equivalent to that file though)
<kc8apf> each device family is still likely to need its own format
<daveshah> yeah, definitely
<kc8apf> might be a fool's game to try to make a format to accomodate them all
<kc8apf> I _do_ want to be able to instance tiles directly from high-level languages though
<daveshah> I think most of this stuff actually is not so much family-specific but vendor-specific
<daveshah> So really it needs to be done maybe 4-5 times and that is it
<daveshah> e.g. I am sure the same IL would be fine for 7-series, s6 and UltraScale; likewise for ECP5, ECP3, MachXO2 etc; once the tools get to that level
<kc8apf> 7-series and s6 have completely different frame formats and tile structures
<kc8apf> anyway, switching to paying work for the day
<mithro> daveshah: Yeah - I regret using HLC - specially as I seem to be the only user of it
<daveshah> Yeah, sorry, I wouldn't have let you use it if I knew how bad it was
<daveshah> That said there wasn't a good alternative
<mithro> I have a tiny little C++ library which makes it slightly easier to deal with
<daveshah> If we could go back, I would have suggested making icebox_unexplain
<mithro> daveshah: Yeah - I would have probably gone that direction too
<mithro> hindsight is 20-20 and all though
<daveshah> That is actually quite similar to FASM and the ecp5 config
m_w has joined ##openfpga
<shapr> everyone seen bunnie's NeTV2 before the project ends? https://www.crowdsupply.com/alphamax/netv2 it uses a risc-v softcore, and has an option for a XC7A50T
Miyu has joined ##openfpga
Miyu has quit [Ping timeout: 276 seconds]
<q3k> sounds close to polish construction, so I guess russia?
<q3k> well, depends on the kind of polish construction
<rqou> lots of concrete used in HK too
<pie__> azonenberg, house thread ^
<pie__> seriously warping my sense of reality today
[X-Scale] has joined ##openfpga
X-Scale has quit [Ping timeout: 248 seconds]
[X-Scale] is now known as X-Scale
jhol has quit [Read error: Connection reset by peer]
mumptai has joined ##openfpga
user10032 has quit [Quit: Leaving]
jhol has joined ##openfpga
GreeningGalaxy has joined ##openfpga
GreeningGalaxy is now known as Deille
Deille is now known as Ellied
mumptai has quit [Quit: Verlassend]
kristian1aul has joined ##openfpga
kristianpaul has quit [Ping timeout: 264 seconds]
<pie__> this artist tho https://9tuna6.tumblr.com/
Ellied has quit [Quit: WeeChat 1.6]
Bike has quit [Ping timeout: 260 seconds]
m_w has quit [Ping timeout: 256 seconds]
ZipCPU|Laptop has quit [Quit: Leaving]
Ultrasauce has joined ##openfpga
Bike has joined ##openfpga
bitd has quit [Quit: Leaving]
m_w has joined ##openfpga
<pie__> rqou, huh so the kanna charger is actually a thing https://i.imgur.com/wvPil7d.png
ZombieChicken has joined ##openfpga