amclain has quit [Ping timeout: 240 seconds]
pie_ has quit [Ping timeout: 240 seconds]
mifune has joined ##openfpga
mifune has joined ##openfpga
azonenberg_work has joined ##openfpga
mifune has quit [Ping timeout: 260 seconds]
<lain> you're holding it wrong
<cr1901_modern> Well, stage 1 compilation bombs with a very informative "Unknown error". That's good.
amclain has joined ##openfpga
azonenberg_work has quit [Ping timeout: 255 seconds]
azonenberg_work has joined ##openfpga
<qu1j0t3> :(
<openfpga-github> [openfpga] rqou opened issue #103: Timing analyer warns on all loops, not just combinatorial loops https://git.io/vHDlV
<azonenberg> rqou: hmm, i think that might be kinda a duplicate of #39
<azonenberg> i didn't close the "post-part timing analysis" ticket because it isnt finished yet :p
<14WAA7YSF> [openfpga] rqou commented on issue #103: @azonenberg wants to close in favor of #39 https://git.io/vHDlx
<92AAA881N> [openfpga] rqou closed issue #103: Timing analyer warns on all loops, not just combinatorial loops https://git.io/vHDlV
<azonenberg> interesting, why weird usernames for the github bot?
<openfpga-github> [openfpga] rqou commented on issue #39: - [ ] ```<azonenberg_work> [Blinky] has a stateful feedback loop in a fabric-based (vs hard IP) counter... https://git.io/vHD8f
<azonenberg> aaand that one is fine
<azonenberg> huh
<rqou> "cloud"
<rqou> :P
<azonenberg> rqou: see PM
_whitelogger has joined ##openfpga
<rqou> holy shit the FB ordering in the xilinx pinout tables isn't consistent
<rqou> pages that list only 2 FBs go left->right
<rqou> pages that have 4 go top left -> bottom left -> top right -> bottom right
<azonenberg_work> lolol
<azonenberg_work> Is it possible
<azonenberg_work> that this reflects the actual die structure?
<azonenberg_work> like, going outward from a center spine or something
<rqou> probably not
<azonenberg_work> with even addresses on one side and odd on the other or somethig?
<rqou> although XAPP399 almost certainly tells you the die structure
<rqou> i think this is just the table layout conventions
amclain has quit [Quit: Leaving]
<openfpga-github> [openfpga] rqou pushed 9 new commits to master: https://git.io/vHD0T
<openfpga-github> openfpga/master 2675b65 Robert Ou: xc2bit: Add some basic plumbing for 128 macrocell
<openfpga-github> openfpga/master 0910a3b Robert Ou: xc2bit: Add 128-macrocell ZIA encoding
<openfpga-github> openfpga/master 265ca6d Robert Ou: xc2bit: Add deliberately-incorrect ZIA data for 128-macrocell parts
<rqou> apologies for the ugly; working on cleaning that up next
<azonenberg> Ok, so... #102 looks worth investigating
<azonenberg> the ethernet test fails after one iteration
<azonenberg> thinking it has an optimal placement
<azonenberg> when it clearly does not
<azonenberg> So my cost function must not properly be handling that
<azonenberg> aha
<azonenberg> introduced the bug in the constification
<7GHAA6GY0> [openfpga] azonenberg closed issue #102: Ethernet test fails to route (using 110% eastbound cross-connections) https://git.io/vHDIH
<18WAAEKFX> [openfpga] azonenberg pushed 2 new commits to master: https://git.io/vHD0A
<18WAAEKFX> openfpga/master 365c790 Andrew Zonenberg: Timing: report number of paths being analyzed
<18WAAEKFX> openfpga/master 25589f1 Andrew Zonenberg: Greenpak4PAREngine: Fixed bug introduced by const-ification causing routing congestion to be ignored. Fixes #102.
<azonenberg> So i guess the next step is to have it correctly understand flipflops etc
<azonenberg> But before i do that i want to refactor the timing data acquisition code a bit
mifune has joined ##openfpga
mifune has joined ##openfpga
_whitelogger has joined ##openfpga
<openfpga-github> [openfpga] rqou pushed 1 new commit to master: https://git.io/vHDEF
<openfpga-github> openfpga/master 2e8f215 Robert Ou: BUGFIX: Fix some more bugs resulting from const cleanup...
<rqou> azonenberg: sorry about that. TIL you can overload on const-ness
<rqou> and gcc silently accepts it without warning
<rqou> I should switch to building with clang
<rqou> clang warns in this case
<rqou> this is a nice footgun/unfeature
<azonenberg> i need a good linter
<rqou> i legitimately didn't even know that was possible
<azonenberg> There is no good use for it
<azonenberg> if a function is const, it is
<azonenberg> if it modifies the object, it's not
<azonenberg> why would you ever have a function that can be both?
<azonenberg> So definitely should warn
<rqou> clang does
<rqou> i see _this_ is what people meant when they said gcc errors are inferior
<rqou> writing mostly C (and embedded C) i didn't really notice
<azonenberg> well maybe we can switch over to clang at some point
<rqou> you already can
<rqou> CC=clang CXX=clang++ cmake
<azonenberg> i meant as default
<azonenberg> is there an option to do that?
<rqou> not really
<rqou> our cmake is pretty borked in terms of "options"
<rqou> also, the test matrix gets bigger and bigger the more options you add
azonenberg_work has quit [Ping timeout: 240 seconds]
azonenberg_work has joined ##openfpga
<cyrozap> Does the CI system for openfpga build with both gcc and clang? I like to do that on my projects to: 1.) Make sure that my code can build with both compilers. 2.) Get ALL THE WARNINGS!
<rqou> i thought the CI system barely ran period?
* cyrozap doesn't know
<rqou> i have a "public service auto-build machine" that's not CI
<rqou> it's nightlies only
<rqou> and the build is broken right now because i haven't installed libudev-dev on the server
<cyrozap> I mean just a simple build test, not a full hardware-in-loop CI build. Like on Travis-CI or something.
<rqou> waiting for somebody (you? azonenberg?) to test the no-libudev rewrite
<rqou> my server does that twice a day
<cyrozap> I don't have GPK hardware :P
<rqou> bunch of unfixed bustage though
<azonenberg> rqou: We have a CI build server running buildbot but it doesnt seem to be working right now
<azonenberg> it may have something to do with the fact that i unplugged my gpak devkits from the test VM
<rqou> cyrozap: you can at least examine it and see if i'm way off the mark or not
<azonenberg> i need moar devkits
<rqou> you seem to be more familiar with weird linux distro/integration stuff
<azonenberg> i asked silego for two more as part of this new shipment of awesomeness they're going to send me
<rqou> hmm yosys is doing something
<rqou> all builds are busted right now
<rqou> might be related to my ugly sed hacks that i never got around to upstreaming :P
<openfpga-github> [openfpga] azonenberg pushed 2 new commits to master: https://git.io/vHDui
<openfpga-github> openfpga/master 06feeed Andrew Zonenberg: Merge branch 'master' of github.com:azonenberg/openfpga
<openfpga-github> openfpga/master 24ede80 Andrew Zonenberg: Refactored to do rising/falling measurements in one go
<cyrozap> I like Travis because you need to pull in all dependencies for each build, so if you add a dependency without adding it to the Travis script, or if you have a weird version of a lib installed locally that doesn't match what everyone else can wget, the build will fail.
<azonenberg> cyrozap: yeah we used to use travis
<azonenberg> but it didnt have the ability to run HIL tests
<azonenberg> So we switched to buildbot
<azonenberg> Also, this is what Splash does
<azonenberg> you can't even use libc without going through its internal dependency resolution process
<rqou> meanwhile i'm here running jenkins with a slave running in a jvm on qemu-user-static on an lxc container
<rqou> :P
<azonenberg> so you're guaranteed hash-identical inputs for the same build on two boxen
<azonenberg> (not necessarily identical outputs, as the compiler may add timestamps etc)
<cyrozap> You can do both, though. Travis builds just to make sure it works on all OS/compiler combos, then buildbot for HIL.
<azonenberg> Yeah i guess
<azonenberg> Definitely something to think about
<azonenberg> cyrozap: btw what is the current status of the psoc work?
<cyrozap> On hold while I work on other projects :P
<cyrozap> I'll come back to it eventually.
<azonenberg> Lol that works
<cyrozap> Once I start working on it again, the first step will be to write a UDB/DSI/routing memory-dump-to-netlist/Verilog script, so we can check our bitstreams.
<azonenberg> :D
<azonenberg> also, stencil for the PMOD -> 8x MMCX board came in today
<azonenberg> still waiting on PCBs
<azonenberg> still have two more greenpak characterization boards to design
<cyrozap> We certainly have enough info at this point. pointfree's diagrams really helped me visualize everything and match it all up with the patents.
<rqou> and see if this is totally busted or reliable enough?
<rqou> i tested it on a number of platforms, but they're all debian-based
<rqou> i don't know if a "more infected with systemd" distro like fedora would work or not
<cyrozap> rqou: Again, I have no hardware to test with.
<rqou> no, i meant "look at how i implemented the code"
<rqou> it pokes sysfs a bunch
<cyrozap> I've never done anything with sysfs before, so I'm not sure how useful my review will be :/
<rqou> ah ok nvm
<cyrozap> I mean, nothing programmatically
<azonenberg> Off to get some sleep
<azonenberg> This is gonna be a busy weekend so i'll try to get coding in when i can
X-Scale has quit [Quit: I love my HydraIRC -> http://www.hydrairc.com <-]
m_t has joined ##openfpga
qu1j0t3 has quit [Ping timeout: 255 seconds]
pie_ has joined ##openfpga
qu1j0t3 has joined ##openfpga
<openfpga-github> [openfpga] rqou pushed 8 new commits to master: https://git.io/vHDrp
<openfpga-github> openfpga/master fdf3e1b Robert Ou: xc2bit: Deduplicate FB reading; misc cleanup
<openfpga-github> openfpga/master cb3e1fb Robert Ou: xc2bit: Deduplicate a bunch of dumping code
<openfpga-github> openfpga/master 5e78cbe Robert Ou: xc2bit: Deduplicate ZIA/PLA .jed writing
<rqou> slowly sorting out the copypasta
_whitelogger has joined ##openfpga
mifune has quit [Ping timeout: 240 seconds]
mifune has joined ##openfpga
m_t has quit [Quit: Leaving]
mifune has quit [Ping timeout: 255 seconds]
mifune has joined ##openfpga
pie_ has quit [Changing host]
pie_ has joined ##openfpga
mifune has quit [Client Quit]
_whitelogger has joined ##openfpga
reportingsjr is now known as shaddox
shaddox is now known as reportingsjr
m_t has joined ##openfpga
indy has quit [Ping timeout: 246 seconds]
indy has joined ##openfpga
scrts has quit [Ping timeout: 246 seconds]
scrts has joined ##openfpga
mifune has joined ##openfpga
mifune has quit [Changing host]
mifune has joined ##openfpga
<azonenberg> rqou: mmm, copypasta
<azonenberg> with awesomesauce and cool beans
<openfpga-github> [openfpga] rqou pushed 7 new commits to master: https://git.io/vHDpz
<openfpga-github> openfpga/master a70b8f3 Robert Ou: xc2bit: Implement enough of 256-MC to dump ZIA+PLA
<openfpga-github> openfpga/master d092405 Robert Ou: xc2bit: Add 256-MC ZIA choice encoding
<openfpga-github> openfpga/master e248533 Robert Ou: xc2bit: Add deliberately-incorrect 256-MC ZIA map
<rqou> writing tests for all of this is gonna be a lot of fun when i get around to actually doing that
<rqou> i also actually still need to more-extensively test the larger macrocell bit encoding
Hootch has joined ##openfpga
<azonenberg> Machamp vs Dugtrio
<rqou> wtf get back to work :P
<rqou> go test my PR or something :P
* azonenberg is waiting for ISE to compile
<rqou> lool
<rqou> go install fedora on a scratch machine and test my PR :P
<rqou> (fedora being the counterpart to debian for being very systemd-infected vs barely-systemd-infected)
ZipCPU|Laptop has joined ##openfpga
<azonenberg> Don't have any scratch machines
<azonenberg> and i dont have enough ram to run my eight general purpose VMs, an FPGA PAR, plus another sandbox VM
* azonenberg needs a dual socket xeon rig with 8 DIMM slots asap
<azonenberg> 8+ i mean
<rqou> ugh the slowest part of blackboxing zia mux encodings is waiting for ise
<azonenberg> lol
<azonenberg> yosys + gp4par is soooo fast compare to ise
<azonenberg> its great
<rqou> yeah, blinky PARs in <1s on my museum-piece ppc mac
<rqou> which predates gigahertz :P
<azonenberg> how about ethernet
<rqou> once we make this return right answers most of the time rather than some of the time, i think it'll actually be competitive with ise
<azonenberg> that is one of my other most complex tests
<rqou> the "not needing 20gb" part already wins
<azonenberg> I dont think it will be competitive with ISE ever
<azonenberg> i think it'll blow ISE out of the water :p
<rqou> but we won't have ABEL or schematic entry! :P
<azonenberg> loool
<azonenberg> They wont be missed :p
<rqou> vhdl might be
<azonenberg> Yes but yosys will get vhdl support one day
<azonenberg> From you or somebody else
<rqou> i don't know whether ABEL or schematic actually have any holdouts anymore
<azonenberg> I did schematic entry in school at my profs insistence for one class project
<rqou> ~15 years ago my dad forced the team he was in charge of to switch from schematic to verilog
<azonenberg> keep in mind this is the guy who taught curtis priem digital design
<azonenberg> if that says anything about his age :p
<rqou> apparently my dad said that verilog despite footguns still had fewer errors than schematics and was much easier to check/review/compare
<azonenberg> diffability alone is a reason to never use schematic
* azonenberg remembers he needs to work with whitequark on pcbhdl
<azonenberg> that kinda got dropped
<rqou> yeah
<rqou> oh yeah, i asked my dad how he did ERC/DRC on his complex designs without really using software:
<azonenberg> "interns"
<rqou> there were two engineers, a stack of printouts, and an array of highlighters of different colors
<rqou> pretty advanced, no? :P
<rqou> the state of the eda industry is pretty great
<rqou> (/s)
ZipCPU|Laptop has quit [Ping timeout: 260 seconds]
wpwrak has quit [Read error: Connection reset by peer]
wpwrak has joined ##openfpga
ZipCPU|Laptop has joined ##openfpga
azonenberg_work has quit [Ping timeout: 240 seconds]
azonenberg_work has joined ##openfpga
<rqou> azonenberg_work: you don't have die images of the xc2c384, do you?
<rqou> the ZIA mux is _wierd_
Hootch has quit [Quit: Leaving]
<rqou> *weird
ZipCPU|Laptop has quit [Ping timeout: 240 seconds]
ZipCPU|Laptop has joined ##openfpga
ZipCPU|Laptop has quit [Ping timeout: 240 seconds]
ZipCPU|Laptop has joined ##openfpga
<openfpga-github> [openfpga] rqou pushed 6 new commits to master: https://git.io/vHyJx
<openfpga-github> openfpga/master 404282d Robert Ou: xc2bit: Implement enough of 384-MC to write ZIA+PLA to jed
<openfpga-github> openfpga/master b0ba823 Robert Ou: xc2bit: Add 284-MC ZIA encoding
<openfpga-github> openfpga/master ae2ee77 Robert Ou: xc2bit: Add deliberately-incorrect ZIA data for 384-MC
ZipCPU|Laptop has quit [Ping timeout: 268 seconds]
ZipCPU|Laptop has joined ##openfpga
Zarutian has joined ##openfpga
X-Scale has joined ##openfpga
mifune has quit [Ping timeout: 255 seconds]
cotton has joined ##openfpga
ZipCPU|Laptop has quit [Ping timeout: 260 seconds]
<whitequark> azonenberg: found some other person interested in pcbhdl fwiw
<whitequark> but right now health doesn't permit me to do much work, OSS or otherwise, so it's temporarily on hold
<rqou> oh so that's why you seem to be less active than usual :(
<rqou> hope you feel better soon
<lain> ^ hope so too @ whitequark
<whitequark> thanx
mifune has joined ##openfpga
mifune has joined ##openfpga
ZipCPU has quit [Ping timeout: 240 seconds]
m_t has quit [Quit: Leaving]
ZipCPU|Alt has joined ##openfpga
ZipCPU has joined ##openfpga
ZipCPU|Alt has quit [Client Quit]
ZipCPU|Laptop has joined ##openfpga
cotton has quit [Ping timeout: 260 seconds]
mifune has quit [Ping timeout: 260 seconds]
theMagnumOrange has quit [Remote host closed the connection]
ZipCPU|Laptop has quit [Ping timeout: 260 seconds]