Open linuswck opened 1 day ago
I found this when I was fixing cdc issue for fast servo port for linien. I used an async fifo for cdc purpose.
Here is where I made the change in fast-servo. https://git.m-labs.hk/M-Labs/nix-servo/commit/87059eef2b7316dbdde7867c134bd843a66f8d85
self.cdc_fifo.sink.stb & self.cdc_fifo.source.ack are always high during operation. https://git.m-labs.hk/M-Labs/nix-servo/src/commit/77643909efdad21f518d9192231188325f7296b2/fast-servo/linien-gateware/cores/dac.py#L52-L55
self.cdc_fifo.sink.stb
self.cdc_fifo.source.ack
I connected the fast servo dac output to an oscilloscope and I observed that
https://github.com/m-labs/migen/blob/c19ae9f8ae162ffe2d310a92bfce53ac2a821bc8/migen/genlib/fifo.py#L177-L234
Description
I found this when I was fixing cdc issue for fast servo port for linien. I used an async fifo for cdc purpose.
Here is where I made the change in fast-servo. https://git.m-labs.hk/M-Labs/nix-servo/commit/87059eef2b7316dbdde7867c134bd843a66f8d85
self.cdc_fifo.sink.stb
&self.cdc_fifo.source.ack
are always high during operation. https://git.m-labs.hk/M-Labs/nix-servo/src/commit/77643909efdad21f518d9192231188325f7296b2/fast-servo/linien-gateware/cores/dac.py#L52-L55I connected the fast servo dac output to an oscilloscope and I observed that
Related AsyncFIFO Migen Module
https://github.com/m-labs/migen/blob/c19ae9f8ae162ffe2d310a92bfce53ac2a821bc8/migen/genlib/fifo.py#L177-L234