Commit Graph

936 Commits

Author SHA1 Message Date
62fa023efc cxp GW: move router pipeline to frame pipeline 2025-01-14 11:37:22 +08:00
ef9d633e9b frameline GW: add reg for arbiter & broadcaster 2025-01-14 11:36:59 +08:00
26d940fbc3 frameline GW: remove eop marker 2025-01-14 10:46:01 +08:00
7ea3d563e6 cxp pipeline GW: add eop marker 2025-01-14 10:45:34 +08:00
ca3f6e4bba cxp GW: add eop marker at rx pipeline 2025-01-14 10:45:13 +08:00
c5d71f269d sim: add pix format for roi 2025-01-13 16:35:34 +08:00
e0986e524d frameline GW: add pixel format handling 2025-01-13 16:25:34 +08:00
6a39f475e9 frameline GW: remove old pixel gearbox 2025-01-13 15:48:47 +08:00
13b68b1e7d frameline GW: add gearbox docs 2025-01-13 15:47:49 +08:00
d53a393f0d frameline GW: add 14bit gearbox support 2025-01-13 13:25:03 +08:00
1006315b31 frameline GW: add 12 bits gearbox suport 2025-01-13 11:54:36 +08:00
1a24dbcdff frameline GW: fix gearbox on 10bits 2025-01-13 11:50:44 +08:00
d509d4e606 cxp GW: pipeine update docs 2025-01-13 10:39:29 +08:00
3c93ff219e cxp GW: add back rx debug buffer 2025-01-10 16:47:23 +08:00
4140468af3 cxp fw: reading the correct host connection id 2025-01-10 16:47:01 +08:00
b23c8f64cc sim: update roi testbench 2025-01-10 15:05:10 +08:00
7be1378310 frameline GW: cleanup gearbox 2025-01-10 13:11:29 +08:00
11925a3356 frameline GW: add buffer to improve timinig 2025-01-10 13:10:01 +08:00
f70f4ad93a cxp GW: add cdr for roi pipeline 2025-01-10 12:55:12 +08:00
050b4a1d97 frameline GW: add gearbox proto 2025-01-10 12:48:15 +08:00
520b746440 temp note: update 2025-01-09 15:57:13 +08:00
c5760a5528 pipeline GW: clean up buffer 2025-01-09 15:57:04 +08:00
40647b46a2 temp note: update 2025-01-09 15:56:10 +08:00
910bad029c sim GW: prototyping frame decoding pipeine
sim: add double buffer
sim: add eop marker for crc checker in double buffer
sim: add KCode, pak type & CRC generator
sim: add Stream crossbar
sim: add stream pipeline with parser & buffer
sim: add frame generator & image viewer
sim: add arbiter
sim: add broadcaster, double buffer & eop tester

sim: add roi pipeline

sim: update roi
2025-01-09 15:56:10 +08:00
4b6f3eaa06 cxp GW: rename to cxp frame pipeline
cxp GW: use roi pipeline

cxp GW: add register for cnt to imprve timinig
2025-01-09 15:56:10 +08:00
6309b4824e cxp coredevice driver: init
cxp driver: add api init
cxp driver: add cxp syscall
cxp driver: add xml download

driver: change to using linktrigger (hw trig)
2025-01-09 15:56:10 +08:00
7d02c8f3d4 api: add cxp api support for CTRL packet
api: DEBUG print
api: add bytes read for XML download

api: fix debug printout endianese issue
2025-01-09 15:56:10 +08:00
2d60ea0b53 libboard_artiq: setup
libboard_artiq: add cxp_downconn & cxp_upconn
libboard_artiq: compile mem with cxp
libboard_artiq: add cxp_proto
libboard_artiq: add cxp_phys
libboard_artiq: add cxp
libboard artiq: add cxp_ctrl
2025-01-09 15:56:10 +08:00
3f6811abe4 runtime main: add cxp phys setup 2025-01-09 15:56:10 +08:00
387f122b1d CXP firmware: camera setup init
cxp FW: add camera discovery
cxp FW: add multi channel discovery
cxp FW: add CXP version negotiate
cxp FW: add CXP operation linerate setter
cxp FW: add ConnectReset, CXP version readout
cxp FW: add connection tester
cxp FW: add master channel & topology checker
cxp FW: set packet max size to 2KiB
cxp FW: add frame buffer cfg & hostconnid
2025-01-09 15:56:10 +08:00
f91ad862bd cxp downconn firmware: packet testing
downcon fw: fix compilation error
2025-01-09 15:56:10 +08:00
526ec3fc13 cxp upconn firmware: packet testing
cxp upconn FW: fix multilane tx issue

upconn fw: rename to cxp mem
2025-01-09 15:56:10 +08:00
11d9ccedc1 cxp ctrl: Control packet handler
ctrl: add buildin delay_ms
ctrl: add proper RX Downconn ACK & REPLAY packet handling
ctrl: add send, receive & receive with timeout
ctrl: add write/read u32 u64
ctrl: add read bytes
2025-01-09 15:56:10 +08:00
e497834d1d cxp protocol: init
testing: add packet printing helper function
proto FW: use memory buffer for tx and rx
proto FW: use byteoder crate to handle endianness
proto FW: add event packet reader and writer
proto FW: add error correction for 4x char
proto FW: add pending packet
2025-01-09 15:56:10 +08:00
8e63e139c0 Cargo: add byteorder
Cargo lock: add byteorder

Cargo: update
2025-01-09 15:56:10 +08:00
aefad49e58 cxp_phys: low speed serial & GTX setup
downconn: add QPLL & GTX setup
downconn: add DRP to change linerate up to 12.5Gbps
downconn testing: add txuserclk config
upconn: add low speed serital setup
upconn & downconn: add linerate changer
2025-01-09 15:56:10 +08:00
57852cb3a1 zc706: add CXP_DEMO variant
zc706: add fmc pads
zc706: add constraint to fix comma alignment & setup/hold time issue
zc706: add csr & mem group for cxp
zc706: add CXP to rtio_channel
zc706: add frame buffer pipeline
2025-01-09 15:56:10 +08:00
0054075089 cxp: add PHY and pipeline
testing: add loopback tx for rx testing
testing: add trigger, trigger ack for testing
cxp: add upconn & downconn phy
cxp: add upconn & downconn pipeline
cxp: add rtlink
cxp: add test packet & error counter CSR
cxp: fix ch1 rx mem cannot be read
cxp: add frame buffer to use KiB instead of KB
2025-01-09 15:56:10 +08:00
9aefdc569d cxp frame pipeline: frame handling pipeline
pipeline: add eop marker, cxp_crc32 checker
frame: add stream crossbar, double buffer, parser
frame: add metadata parser, frame extractor
frame: add stream arbiter, crc checker & broadcaster
frame: add custom pixel gearbox 32:8*4
2025-01-09 15:56:10 +08:00
4cd10ef7be cxp pipeline: packet handling pipeline
tx pipeline: add CRC32 inserter
tx pipeline: add start & end of packet code inserter
tx pipeline: add packet wrapper for start & stop packet indication
tx pipeline: add code source for trigger & trigger ack packet
tx pipeline: add packet for trigger & trigger ack
tx pipeline: add test packet generator
tx pipeline: add tx_command_packet for firmware
tx command packet: add dma to store control packet
rx pipeline: add reciever path
rx pipeline: add duplicate char decoder
rx pipeline: add trig ack checker
rx pipeline: add packet decoder
decoder: add test packet checher
decoder: add packet DMA
2025-01-09 15:56:10 +08:00
90864a12b7 cxp upconn gw: add low speed serial PHY
testing: add debug fifo output b4 encoder
cxp upconn: add low speed serial
cxp upconn: add reset, tx_busy, tx_enable
cxp upconn: add clockgen module for 20.83Mbps & 41.66Mbps using counters
cxp upconn: add oserdes using CEInserter

cxp upconn gw: remove unused debug pad
2024-12-12 11:49:54 +08:00
2ea2b5e922 cxp downconn gw: add gtx up to 12.5Gbps
testing: add txusrclk mmcm & loopback mode
testing: add debug output
testing: send comma in the middle of long packet to maintain lock
downconn: don't put IDLE into fifo
downconn: add GTX and QPLL support
downconn: add DRP for GTX and QPLL to support all CXP linerates
GTX: add gtx with mmcm for TXUSRCLK freq requirement
GTX: add loopback mode parameter for testing
GTX: add gtx with 40bits internal width
GTX: use built-in comma aligner
GTX: add comma checker to ensure comma is aligner on highest linerate
GTX: set QPLL as CLK source for GTX
GTX: add multilane rx support with the same rx reseter
2024-12-12 11:49:54 +08:00
70e994ce3b fmc: add cxp_4r_fmc adepter io 2024-12-04 16:08:47 +08:00
c9d7d47c91 temp diagrams & unused sim 2024-12-04 16:08:47 +08:00
2d52bab14a temp pre commit hook 2024-12-04 16:08:47 +08:00
a0fc852623 temp flake, libunwind, local_run mod
flake: download llvm11 binary instead of compiling
local_run: preset cxp zc706 dev board ip addr
flake: add pillow for sim
libunwind build: suppress libunwind warning

flake: fix error
2024-12-04 16:08:47 +08:00
3070c00238 flake: add CXP_DEMO variant build options 2024-12-04 16:08:15 +08:00
e1f493f3ca drtio: add InjectionRequest to expects_response 2024-11-26 14:58:24 +08:00
1f5ea41934 flake: update dependencies 2024-11-20 19:58:55 +08:00
7f83d56ef5 cargo fmt 2024-11-20 09:42:49 +08:00