1
0
Fork 0
Commit Graph

552 Commits

Author SHA1 Message Date
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
morgan ce0f302b22 fmc: add cxp_4r_fmc adepter io 2024-09-09 10:08:26 +08:00
abdul124 d508c5c6f8 firmware: add unit tests for exception sync 2024-08-21 16:35:03 +08:00
abdul124 bae41253e4 firmware: sync exception names and ids 2024-08-21 16:34:25 +08:00
abdul124 20181e9915 fix nalgebra url 2024-08-07 13:49:03 +08:00
abdul124 a835149619 kernel/linalg: remove redundant unsafe blocks 2024-08-07 13:48:21 +08:00
Sebastien Bourdeauducq 78d6b7ddcf cargo fmt 2024-08-05 19:37:55 +08:00
Simon Renblad fad1db9796 comms: remove idle kernel DRTIO error case 2024-08-05 19:28:09 +08:00
Simon Renblad fee30033ec comms: run idle kernel on start-up 2024-08-05 19:28:09 +08:00
abdul124 fe6f259d48 kernel: add linalg functions 2024-08-01 18:20:32 +08:00
mwojcik 63f4783687 subkernels: support exceptions from subkernels 2024-07-31 17:22:29 +08:00
mwojcik 69a0b1bfb7 subkernels: raise exceptions to kernel 2024-07-31 17:22:29 +08:00
Sébastien Bourdeauducq 57fd327ecb rustfmt 2024-07-22 18:55:17 +08:00
abdul124 69d5b11ebf kernel/api: add nalgebra::linalg methods 2024-07-22 11:57:58 +08:00
abdul124 bab938c563 add nalgebra dependency
Co-authored-by: abdul124 <ar@m-labs.hk>
Co-committed-by: abdul124 <ar@m-labs.hk>
2024-07-22 11:13:45 +08:00
mwojcik d51e5e60c3 repeater: handle async messages 2024-07-09 23:04:34 +08:00
mwojcik 23857eef63 allow toggling SED spread with flash config key 2024-07-09 18:11:20 +08:00
abdul124 3a789889cf kernel/api: add rint api 2024-07-05 14:53:09 +08:00
mwojcik 72b814f7fd repeater: clear buffer after ping 2024-07-04 17:30:04 +08:00
morgan 586fd2f17e Gateware: remove redundant si549.py & wrpll.py 2024-05-30 15:27:16 +08:00
morgan 377f8779a0 kasli soc: refactor to use wrpll from artiq 2024-05-30 15:25:33 +08:00