1
0
Fork 0
Commit Graph

834 Commits

Author SHA1 Message Date
morgan 9305336ba4 proto fw: handle ring buffer 2024-10-07 13:15:46 +08:00
morgan f9da1dddf9 cxp GW: add ring buffer interface 2024-10-07 13:15:27 +08:00
morgan 24a1f27705 pipeline GW: add ring buffer 2024-10-07 13:15:18 +08:00
morgan 256f2f7e8c zc706 GW: use mem region getter 2024-10-07 11:57:41 +08:00
morgan 2ca9a3191d cxp GW: add mem size getter for each mem region 2024-10-07 11:57:18 +08:00
morgan 485739404f proto fw: refactor DownConnPacket 2024-10-04 16:19:45 +08:00
morgan 3642d81612 proto fw: use byteoder crate & add cxpwrite fn 2024-10-04 16:01:51 +08:00
morgan b15d9cc668 Cargo: add byteorder 2024-10-04 16:01:32 +08:00
morgan b055abe4eb proto fw: add helper trait for cursor 2024-10-04 15:28:37 +08:00
morgan 35b84c768a proto fw: unify Ctrl packet with/without tags 2024-10-04 12:45:20 +08:00
morgan 6231795418 downconn fw: use debug mem print 2024-10-04 12:24:56 +08:00
morgan 5090f2814d proto fw: add debug mem print 2024-10-04 12:24:47 +08:00
morgan b75ebdd2e7 downconn fw: rename upconnpacket 2024-10-04 12:20:13 +08:00
morgan 4e3193e66c proto fw: rename upconn packet 2024-10-04 12:20:06 +08:00
morgan 90fff28b84 proto fw: refactor cxp crc into helper function 2024-10-04 12:09:32 +08:00
morgan 25f29bc009 proto fw: refactor crc & add downconn packet 2024-10-04 10:19:15 +08:00
morgan 8467f2d4f0 proto fw: cleanup the crc calculation 2024-10-03 17:52:26 +08:00
morgan 0f9be29f4e proto fw: add rx crc check 2024-10-03 17:38:48 +08:00
morgan bea80d0c1e downconn: loopback rx packet 2024-10-03 15:45:32 +08:00
morgan 0310793181 proto fw: add rx packet 2024-10-03 15:45:22 +08:00
morgan 6511bfc637 pipeline GW: add back crc for handling stream pak 2024-10-03 12:52:50 +08:00
morgan cbd1a20e07 cxp GW: add write_pointer csr 2024-10-03 12:00:27 +08:00
morgan 05761c5307 pipeline GW: expose writer_ptr 2024-10-03 12:00:16 +08:00
morgan 6e7bc912c9 zc706: fix debug sma pad 2024-10-03 10:48:18 +08:00
morgan dd36c01c13 cxp GW: move rx pipeline into cxp_gtx_rx cd 2024-10-03 10:47:58 +08:00
morgan 6e98d8952a pipeline GW: rename variable
pipeline GW: cleanup
2024-10-03 10:47:58 +08:00
morgan 5eadc9b49e zc706: add todo 2024-10-02 17:49:38 +08:00
morgan da9d43e675 cxp GW: add back cdc fifo 2024-10-02 17:42:15 +08:00
morgan 7b0f94674e downconn GW: move cdc fifo out of phy 2024-10-02 17:42:06 +08:00
morgan ad8260d93a main: add testing channel 2024-10-02 17:14:07 +08:00
morgan cd7cff8a8b lib: compile mem with cxp 2024-10-02 17:14:07 +08:00
morgan 97c110b626 downconn fw: use new csr
downconn fw: fix compilation warning

downconn FW: rename csr

downconn fw: cleanup

downconn fw: add rx memory test
2024-10-02 17:14:07 +08:00
morgan 186534ff01 proto fw: use new csr
proto: fix compilation warning

proto fw: add rx memory test
2024-10-02 17:14:07 +08:00
morgan 44246c293d cxp GW: add cxp phys & gtx csr
cxp GW: cleanup doc

cxp GW: move receiver path into downconn interface

cxp GW: add rx memory
2024-10-02 17:14:07 +08:00
morgan 12ac59a757 zc706 GW: add loopback tx memory
zc706 GW: add csr & mem group for cxp

zc706: add rx memory group

zc706: only use 1 lane

zc706: fix missing csr
2024-10-02 17:14:07 +08:00
morgan 78200e93d0 proto FW: use memory buffer for tx
proto FW: restore test packet

proto FW: fix test packet doesn't return mux

proto fw: add loopback tx & restore gtx test

proto fw: add mem size
2024-10-02 17:14:07 +08:00
morgan 007d40dfc3 upconn GW: exlarge debug fifo
upconn GW: remove idle word from phy

upconn GW: remove scheduler

upconn GW: fix debug buf overflow after tx disabled

upconn GW: refactor to takes in pads

upconn GW: cleanup
2024-10-02 17:14:07 +08:00
morgan 5414730baa downconn GW: rename variable
downconn GW: remove csr

downconn GW: clenaup
2024-10-02 17:14:07 +08:00
morgan 7eeceb1dfa cxp GW: use memory buffer tx command
cxp GW: add 32bit test packet

cxp GW: add 32bit trig ack to pipeline

cxp GW: restore rx loopback test

cxp GW: add idle word inserter

cxp GW: add phy to pipeline

cxp GW: add trig to pipeline

cxp GW: add tx docs
2024-10-02 17:13:47 +08:00
morgan 7cafe6a293 pipeline GW: use memory as buffer for tx commend
pipeline GW: update packet wrapper to use 32bit layout

pipeline GW: add word wide test packet

pipeline GW: add 32bit trig ack

pipeline GW: rename variable & use constant for K

pipeline GW: add IDLE word inserter

pipeline GW: refactor trigger pak into pipelining

pipeline GW: fix buffer depth

pipeline GW: cleanup

pipeline GW: cleanup

pipeline GW: add receiver memory

pipeline GW: cleanup unncessary state machine
2024-10-02 17:13:47 +08:00
morgan 17dfd6eb7e upconn FW: test test packet
upconn fw: test trig ack

upconn fw: use new csr

upconn: fix compilation warning
2024-10-02 17:13:47 +08:00
morgan 76584a6857 cxp protocol: init
testing: add rx downconn debug in
testing: add print u32 packet helper function
protocol: uncomment error
2024-10-02 17:13:47 +08:00
morgan 891584ceb9 main: add testing
runtime main: move lib location
2024-10-02 17:13:47 +08:00
morgan 6b1b2f7959 cxp downconn firmware: GTX setup
testing: add loopmode mode & tsusrclk mmcm drp bitbang
testing: add IDLE word printout
testing: add tx packet to test packet decoder
downconn: add QPLL and GTX setup
downconn: add DRP to support all CXP linerate up to 12.5Gbps
2024-10-02 17:13:46 +08:00
morgan a2b74c9212 cxp upconn firmware: low speed serial setup
testing: add trigger & trigger ack CSR to test tranmission prioirty
upconn: add some upconn error for control flow
upconn: add control packet writer
control packet: add u32 & u64 register control
control packet: add CRC calculation & packet type inserter in fw
2024-09-30 16:31:36 +08:00
morgan 7e1cf535f9 zc706: add CXP_DEMO variant
zc706: add fmc pads
zc706: add constraint to fix comma alignment & setup/hold time issue

zc706: add cxp memory map
2024-09-26 13:19:17 +08:00
morgan 22aa9555c5 cxp: add upconn interface, downconn PHY & crc
testing: add CSR control for tx trigger & trigger ack
upconn: connect trigger, trigger ack & command_packet to UpConnPHY
downconn: add GTX PHY
2024-09-26 13:19:01 +08:00
morgan 2ce9aeb45e 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 fifo to store control packet
rx pipeline: add reciever path
rx pipeline: add trig ack checker
rx pipeline: add packet decoder
decoder: add test packet checker
2024-09-26 13:16:57 +08:00
morgan 6ae29ba6b4 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: add packet scheduler with CEInserter
scheduler: send priority packet during word/char boundary
scheduler: send IDLE every 10000 words
scheduler: encode packet before sending to oserdes
2024-09-26 13:16:45 +08:00
morgan eed2a4fee9 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
2024-09-26 13:15:31 +08:00