sb0 changed the topic of #m-labs to: https://m-labs.hk :: Mattermost https://chat.m-labs.hk :: Logs http://irclog.whitequark.org/m-labs
<Astro-_> zc706 qspi flash status: implemented on the device but crashes it :/
sb0 has joined #m-labs
<sb0> Astro-_: crashes how?
<sb0> even if there's no DMA or anything?
cedric has quit [Ping timeout: 240 seconds]
cedric has joined #m-labs
cedric has joined #m-labs
cedric has quit [Changing host]
<sb0> in a basic PLL (e.g. 4046-based), the frequency is proportional to the control voltage, and a simple RC low-pass loop filter is often used. now I have a system where the *rate* of frequency change is proportional to the control voltage. is there a simple modification that I can make to the loop filter to get the PLL to lock?
<sb0> I'd guess putting something like a proportional+derivative circuit after the low-pass filter that smooths out the the phase detector output?
<sb0> maybe just another RC?
<cr1901_modern> sb0: Put an integrator between the system output and the feedback signal of the PLL to convert from rate of freq change to frequency?
rohitksingh has quit [Ping timeout: 250 seconds]
rohitksingh has joined #m-labs
_whitelogger has joined #m-labs
_whitelogger_ has joined #m-labs
_whitelogger_ has joined #m-labs
_whitelogger has joined #m-labs
_whitelogger_ has quit [Remote host closed the connection]
cr1901_modern has quit [Quit: Leaving.]
cr1901_modern has joined #m-labs
m4ssi has joined #m-labs
_whitenotifier-f has quit [Ping timeout: 264 seconds]
Getorix_ has joined #m-labs
m4ssi has quit [Remote host closed the connection]
m4ssi has joined #m-labs
Getorix has quit [Read error: Connection reset by peer]
<mtrbot-ml> [mattermost] <hartytp> Try writing down the phase transfer function for the open loop system. Also write down the tf you want it to have. Then it’s easy to design a compensator to map one onto the other
rohitksingh has quit [Ping timeout: 250 seconds]
m4ssi has quit [Remote host closed the connection]
<Astro-_> sb0: I was trying linear address mode to map it into memory space. the alternative is programmed I/O mode.
<sb0> Astro-_: seems there's a lot of on-chip memory, so the bootloader can be executed from there and we don't really need execute-in-place
<sb0> the Zynq ROM can copy an arbitrary program from the flash into OCM and then run it, right?
<sb0> hm the artiq firmware config.rs uses the memory-mapped flash
<whitequark> sb0: so here's an interesting issue with (n)migen simulators
<whitequark> let's say you write a process that replaces some piece of sync logic
<whitequark> if you have some HDL sync logic, then a testbench can reach in and overwrite the register values with whatever it wants. that is deterministic in both migen and nmigen simulators because they both run HDL processes first and bench processes second
<whitequark> but if you replaced that HDL sync logic with a Python process, now it's no longer deterministic because you're relying on the order in which those run
<whitequark> two different processes assigning a single signal to different values in the same delta cycle is always a (possibly latent) bug
<whitequark> different values to a single signal*
Stormwind_mobile has quit [Ping timeout: 252 seconds]
Stormwind_mobile has joined #m-labs
X-Scale` has joined #m-labs
X-Scale has quit [Ping timeout: 240 seconds]
X-Scale` is now known as X-Scale
Stormwind_mobile has quit [Ping timeout: 240 seconds]
Stormwind_mobile has joined #m-labs
X-Scale has quit [Ping timeout: 246 seconds]
X-Scale` has joined #m-labs
X-Scale` is now known as X-Scale
mumptai has joined #m-labs
enok has joined #m-labs
rohitksingh has joined #m-labs
<Astro-_> the rust libunwind situation is still very unsatisfying...
<Astro-_> maybe I should leave cargo-xbuild and return to the nix approach that already works well in artiq-fast
<whitequark> Astro-_: which situation?
<Astro-_> it's neither exposed nor built with xbuild
<whitequark> ah, and backtraces depend on it?
<whitequark> oh right, exceptions in ksupport as well
mumptai has quit [Quit: Verlassend]