Stormwind_mobile has quit [Ping timeout: 265 seconds]
rohitksingh has quit [Ping timeout: 245 seconds]
Stormwind_mobile has joined #m-labs
<mtrbot-ml>
[mattermost] <sb10q> @hartytp FYI I'm not getting any clock to the FPGA from the si549. Might be a software problem, might also want to be careful there before making more PCBs with the same potential hardware problem
<mtrbot-ml>
[mattermost] <sb10q> Do you have any saymas?
<mtrbot-ml>
[mattermost] <hartytp> @sb10q nope I still don’t have any saymas
<mtrbot-ml>
[mattermost] <hartytp> Have you checked he supply voltages and oe for the 549?
<mtrbot-ml>
[mattermost] <hartytp> It’s a pretty simple chip which we’ve used a lot on eval boards
<mtrbot-ml>
[mattermost] <hartytp> If it has power, i2c and oe it should work so most likely a sw issue
<mtrbot-ml>
[mattermost] <sb10q> it's not simple, there's this whole cmos/lvds adaptation trick
<mtrbot-ml>
[mattermost] <sb10q> and no I didn't probe signals, I need to take the board out of the rack without front panel, risk of breakage, etc.
Stormwind_mobile has quit [Ping timeout: 240 seconds]
<rjo>
sb: that's already fixed.
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 250 seconds]
en0k has quit [Ping timeout: 268 seconds]
en0k has joined #m-labs
Stormwind_mobile has joined #m-labs
<adamgreig>
whitequark: with pysim2 i'm missing a lot of input signals in the vcd output, even if they're explictly listed in write_Vcd, any ideas?
Stormwind_mobile has quit [Ping timeout: 245 seconds]
<adamgreig>
for instance my module has a self.valid signal, it's combinatorially connected to fifo.w_en, but the vcd doesn't have top.valid or fifo.w_en signals, all I see are output signals
<adamgreig>
in fact I don't think I see anything not written to from within the module, i.e. all inputs missing except clk and rst
Stormwind_mobile has joined #m-labs
<adamgreig>
...as far as I can tell, the traces argument to write_vcd actually doesn't get used anywhere?
<adamgreig>
i haven't fully grokked the pysim source but it seems like only signals driven from the fragment initially given to Simulator get added to signal_names, and only things in signal_names get written to vcd; signals driven by processes added later don't seem to ever get added
<rjo>
Did anybody try ARTIQ on nix on wsl on Windows yet? Or ARTIQ on nix on Ubuntu on wsl on Windows. Those stacks may or may not be relatively easy to manage. Microsoft provides everything up to ubuntu.
en0k has joined #m-labs
<mtrbot-ml>
[mattermost] <sb10q> I tried last year, it was difficult to install, slow, buggy and with very bad GUI support (needs a X server which makes the three issues worse)
<mtrbot-ml>
[mattermost] <sb10q> WSL2 might be better on the slowness/bugginess front
<mtrbot-ml>
[mattermost] <sb10q> That's why i'm still bothering with conda at all...
<mtrbot-ml>
[mattermost] <sb10q> Anyway I have a plan to build the conda binary windows packages (llvm etc.) with nix, including automated installs of visual studio and other dependencies
<mtrbot-ml>
[mattermost] <sb10q> When run in sandboxes or VMs in snapshot mode, and with total control of conda channel contents, conda can't do much damage anymore
<airwoodix>
Hello. When using nix to install the artiq tools, I get a conflict between python3.7-sip-4.19.18/.../sipconfig.py and python3.7-PyQt5.sip-4.19.18/.../sipconfig.py. This disappears when removing matplotlib (with Qt5 enabled as shown in the manual). Can anyone reproduce this? Is there a know fix (besides manually deleting python-sip from the nix
<mtrbot-ml>
[mattermost] <bradb> @sb10q Hi, I could use some help. Now that ARTIQ release 5 is out, we're going to stop using my personal fork and move over to the official repository. Up until this point, I've been building most of the ARTIQ packages in Hydra, and was able to add our packages (which depend on ARTIQ) with ease since I had access to a local build of ARTIQ. But now, there's no point in building AR <message clipped>
<mtrbot-ml>
[mattermost] <sb10q> airwoodix: please share exact command/.nix file you used to create the problem
<mtrbot-ml>
[mattermost] <sb10q> and deleting python-sip from the nix store manually will result in a corrupted store that can cause problems later on
proteus-guy has quit [Ping timeout: 265 seconds]
<mtrbot-ml>
[mattermost] <sb10q> and deleting it cleanly will cause it to be restored when you run the problematic command again
<mtrbot-ml>
[mattermost] <sb10q> @bradb I would try using the channel expressions .tar.xz as a URL input
<mtrbot-ml>
[mattermost] <sb10q> and set up nixbld.m-labs.hk as a binary substituter, and set useSubstitutes = true in your hydra install
<mtrbot-ml>
[mattermost] <bradb> Ah, hadn't thought of that, thanks! Will give it a try and let you know.
<mtrbot-ml>
[mattermost] <sb10q> "previous hydra build", I'm not sure what this does, maybe it's the right thing maybe not. you'd need to read the hydra sources to find out
<mtrbot-ml>
[mattermost] <bradb> Yeah, I tried looking around in the Hydra source yesterday, but couldn't find the relevant file(s)
<mtrbot-ml>
[mattermost] <sb10q> could be some perl source in "plugins"
<mtrbot-ml>
[mattermost] <bradb> I'll check it out if I can't get the tarball method to work. Also, for setting up nixbld as a binary substituter, that's achieved by adding nixbld.m-labs.hk to nix.binaryCaches and the appropriate key to nix.binaryCachePublicKeys in my configuration.nix, right?
<mtrbot-ml>
[mattermost] <bradb> Or do I need to do something extra for hydra to have access to those?
<mtrbot-ml>
[mattermost] <sb10q> nothing extra, just useSubstitutes = true
<mtrbot-ml>
[mattermost] <bradb> Okay cool, I've already got that set up properly then
<mtrbot-ml>
[mattermost] <bradb> Hm, I don't see anything URL-related in the "Type" dropdown box for the hydra input
rohitksingh has quit [Ping timeout: 250 seconds]
plonk_ has quit [Ping timeout: 252 seconds]
Stormwind_mobile has quit [Ping timeout: 240 seconds]
<mtrbot-ml>
[mattermost] <bradb> Should I just pass the URL as a string and use curl in my top-level .nix file?
<mtrbot-ml>
[mattermost] <sb10q> that won't work, you can't access the network in those .nix files unless you use fixed-output derivations
<mtrbot-ml>
[mattermost] <sb10q> isn't it called "tarball" or something like that?
<mtrbot-ml>
[mattermost] <sb10q> I think that can take a remote URL
<mtrbot-ml>
[mattermost] <bradb> I don't see a tarball option. Could it not be showing up for me for some reason?
<mtrbot-ml>
[mattermost] <sb10q> try "nix expression" and then builtins.fetchTarball
<mtrbot-ml>
[mattermost] <sb10q> it's surprising that the "hydra build" option doesn't support remote systems when there's another "hydra build (same system)" option
<mtrbot-ml>
[mattermost] <bradb> Yeah, I'm not entirely sure what the difference is. It doesn't help that my ability to understand perl is pretty limited. But I don't see anything that looks like uri resolving. Just searching the db in a slightly different way as the "same system" option
rohitksingh has joined #m-labs
<mtrbot-ml>
[mattermost] <bradb> But also, I just noticed that the latest commit (circa 2013) for the PathInput plugin has the message "Add support for fetching URLs as inputs." so maybe that would work?
<mtrbot-ml>
[mattermost] <sb10q> yes, maybe
<mtrbot-ml>
[mattermost] <sb10q> try it
<mtrbot-ml>
[mattermost] <bradb> Will do
<mtrbot-ml>
[mattermost] <bradb> It appears to be fetching properly. I'm getting an evaluation error because I haven't changed any of the corresponding nix files, but the error is post-fetching, so I think it works
en0k has quit [Ping timeout: 265 seconds]
aliendough has joined #m-labs
aliendough has quit [Quit: WeeChat 1.9.1]
aliendough has joined #m-labs
Stormwind_mobile has joined #m-labs
Stormwind_mobile has quit [Ping timeout: 265 seconds]
en0k has joined #m-labs
<mtrbot-ml>
[mattermost] <bradb> Okay, everything appears to be working! The builds are successful, anyway. We'll see if I run into any issues when I try to do gateware builds
<mtrbot-ml>
[mattermost] <bradb> Do you know if there's a way I can use the tarball from the latest build? The URL for the channel expression tarball is specific to the current build
rohitksingh has quit [Ping timeout: 245 seconds]
en0k has quit [Quit: Leaving]
Stormwind_mobile has joined #m-labs
mumptai has joined #m-labs
<_whitenotifier-5>
[nmigen] mwkmwkmwk opened pull request #279: hdl.ast: Fix width for unary minus operator on signed argument. - https://git.io/JeDft
<ZirconiumX>
More generally this has the fun implication that 0 != -0.
<ZirconiumX>
Or, well, "not identical to"
* mwk
sighs and tries to figure out how to install all dependencies needed to run the nmigen testsuite
m4ssi has quit [Remote host closed the connection]
<ZirconiumX>
mwk: They seem to be dragged in by `python3 setup.py develop`
<ZirconiumX>
Or else it'll complain enough
<mwk>
no
<mwk>
so far I needed to install yosys-smtbmc, symbiyosys, and currently compiling yices2
<mwk>
(because I apparently had a symlink to yosys from .local/bin, but not to yosys-smtbmc)
<_whitenotifier-5>
[nmigen] mwkmwkmwk synchronize pull request #279: hdl.ast: Fix width for unary minus operator on signed argument. - https://git.io/JeDft
<mwk>
okay, fixed
<_whitenotifier-5>
[nmigen] codecov[bot] commented on pull request #279: hdl.ast: Fix width for unary minus operator on signed argument. - https://git.io/JeDJL
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
plonk has joined #m-labs
plonk has quit [Changing host]
plonk has joined #m-labs
<Astro-_>
though zc706 qspi works in the simpler read-only mode, its status flags just haven't started turning in manual i/o mode. :(
<Astro-_>
however, the register is called intr_status and other implementations use interrupts.
<Astro-_>
I wonder if it's time to implement the arm gic interrupt controller?
<mtrbot-ml>
[mattermost] <sb10q> Yes, check the rpi.nix file in nix-scripts
<mtrbot-ml>
[mattermost] <sb10q> We don't need interrupts. Can the IRQ line status be read back just to work around shit-hardware problems without actually triggering an interrupt?
<mtrbot-ml>
[mattermost] <sb10q> That may be required anyway if the end goal is to manipulate the registers with openocd to write the flash
<mtrbot-ml>
[mattermost] <sb10q> How does vivado write the flash?
<mtrbot-ml>
[mattermost] <sb10q> And the non-manual mode can't be used for writing?
mumptai has quit [Remote host closed the connection]
rohitksingh has quit [Ping timeout: 250 seconds]
X-Scale` has joined #m-labs
<Astro-_>
just reading back is what I've been trying to do