256 Commits

Author SHA1 Message Date
Florent Kermarrec
712722eb38 serdes: integrate RXWordAligner/RXSkipRemover to SerdesRXDatapath 2019-11-12 10:00:02 +01:00
Florent Kermarrec
5d6e6de45b tools/test_analyzer: update 2019-11-12 08:40:48 +01:00
Florent Kermarrec
8f5d369817 targets: use reset button to reset USB3PIPE 2019-11-11 07:53:47 +01:00
Florent Kermarrec
d73c2f8698 serdes: align parameters/signals on instances 2019-11-11 07:46:35 +01:00
Florent Kermarrec
59f4c6229d targets: use static etherbone mac_address/ip_address 2019-11-11 07:39:44 +01:00
Florent Kermarrec
ef770d5f71 pcie_screamer: fix build, use user_btn0 as reset 2019-11-08 14:35:17 +01:00
Florent Kermarrec
52b7980f28 serdes/A7USB3SerDes: fix RX termination configuration, use clock from fabric for RXOOB
This fixes RXELECIDLE reception.
2019-11-08 14:34:40 +01:00
Florent Kermarrec
9700381b47 serdes/SerdesRXSkipRemover: fix cases[0] for sr_data/sr_ctrl 2019-11-07 16:34:34 +01:00
Florent Kermarrec
df49e39a66 ltssm/PollingFSM: set tx_idle when in exit mode to ease bringup 2019-11-07 14:22:09 +01:00
Florent Kermarrec
e584c07be9 lfps/LTPSUnit: add tx_idle control 2019-11-07 14:21:39 +01:00
Florent Kermarrec
a024ad2d62 ltssm/PollingFSM: add with_timers parameters
Being able to disable the timers can be useful for bringup tests
2019-11-07 14:12:27 +01:00
Florent Kermarrec
940fb216f9 serdes: simplify SerdesRXSkipRemover 2019-11-07 13:25:07 +01:00
Florent Kermarrec
842d5c6aa4 test/test_training: remove test_tseq_checker 2019-10-31 19:32:10 +01:00
Florent Kermarrec
e9b87dae42 sim: set opt_level to O0 (reduce compilation time) 2019-10-31 19:30:07 +01:00
Florent Kermarrec
96c02aa56e ltssm: implement rx_polarity detection (if ts1 received first, set rx_polarity to 0, if ts2 received first, set rx_polarity to 1) 2019-10-29 22:02:06 +01:00
Florent Kermarrec
dbb756baaa scrambling: simplify Descrambler, fixes sim 2019-10-29 21:56:48 +01:00
Florent Kermarrec
daf447e0fc serdes/USB3SerDesModel: add tx/rx_polarity support 2019-10-29 21:35:18 +01:00
Florent Kermarrec
63e485e5e6 serdes/USB3SerDesModel: add 8b10b encoders/decoders 2019-10-29 21:27:23 +01:00
Florent Kermarrec
c0a95e1c0d targets: remove rx_tseq from analyzer, pass ip_address to liteeth as str (liteeth can now convert it directly to int) 2019-10-29 21:04:25 +01:00
Florent Kermarrec
1405ee3525 core: remove enable signal to simplify, CEInserter or ResetInserter could be used on USB3PIPE is needed 2019-10-29 20:55:17 +01:00
Florent Kermarrec
4c119d730c training: simplify TSChecker (we only need to support ts1/ts2) 2019-10-29 20:49:31 +01:00
Florent Kermarrec
d4507ebf02 training: remove tseq checker (we only need to check ts1/ts2) 2019-10-29 20:47:00 +01:00
Florent Kermarrec
01c43225f0 serdes: increase cdc depth (needed for ECP5) 2019-10-18 19:52:21 +02:00
Florent Kermarrec
bc8d458a9a serdes: use stream.BufferizeEndpoints to improve timings 2019-10-18 19:09:30 +02:00
Florent Kermarrec
a3fe22b5a7 versa_ecp5: revert ethernet (faster to get debug traces) 2019-10-18 15:22:25 +02:00
Florent Kermarrec
0cb086d924 versa_ecp5: fix ispclk control, use channel 0 (pcie), add clocks debug leds 2019-10-18 14:56:10 +02:00
Florent Kermarrec
a5f94f1f0c serdes/ECP5USB3SerDes: add channel parameter 2019-10-18 14:47:55 +02:00
Florent Kermarrec
ed64134e2c add load script for ecp5_versa, rename load to load_xilinx 2019-10-18 14:32:04 +02:00
Florent Kermarrec
95a42f8d92 versa_ecp5: debug over serial instead of ethernet, disable scrambling and use trellis toolchain 2019-10-18 14:16:03 +02:00
Florent Kermarrec
bd24f207c5 serdes: use tx/rx_clk_freq for timing constraints, remove electrical idle FIXME 2019-10-18 14:14:36 +02:00
Florent Kermarrec
4a001e7479 core: add with_scrambling parameter to allow disabling it 2019-10-18 14:14:00 +02:00
Florent Kermarrec
712903d0f5 serdes/ECP5USB3SerDes: increase linerate to 5gbps, connect tx_idle/rx_idle 2019-10-17 19:28:46 +02:00
Florent Kermarrec
6237110476 ltssm: remove _fsm suffix for FSMs 2019-10-16 15:51:35 +02:00
Florent Kermarrec
5d23beab97 ltssm: implement PollingFSM according to specification (untested) 2019-10-16 11:39:45 +02:00
Florent Kermarrec
00db986239 targets: fix #!/usr/bin/env python3 location 2019-10-15 15:48:12 +02:00
Florent Kermarrec
cc26d47780 add initial ecp5 support with versa_ecp5 board (not working, serdes at 2.5gbps, only for testing LFPS for now) 2019-10-15 15:46:55 +02:00
Florent Kermarrec
a5e5735f12 tools/test_analyzer: add more triggers 2019-10-10 18:24:19 +02:00
Florent Kermarrec
86be7b76d6 serdes: expose rx_skip to user (for observation) 2019-10-10 18:23:46 +02:00
Florent Kermarrec
91b14f26a5 training: fix default scrambling value 2019-10-10 18:01:53 +02:00
Florent Kermarrec
087855bf46 training: fix TS1/TS2 loopback/scrambling mapping 2019-10-10 17:45:00 +02:00
Florent Kermarrec
ea3ef66fe7 ltssm: remove initial count, hack for hardware tests 2019-10-10 17:16:35 +02:00
Florent Kermarrec
d1f3a347df core: use Descrambler, disable Scrambler/Descrambler until ready is set 2019-10-10 17:16:13 +02:00
Florent Kermarrec
7fd9120181 scrambling: add Descrambler (Scrambler + Auto-Synchronization) 2019-10-10 17:15:18 +02:00
Florent Kermarrec
32030ed5fc tools/test_analyzer: use rising_edge triggers 2019-10-10 17:14:37 +02:00
Florent Kermarrec
4298c6611b kc705: add more signals to analyzer 2019-10-10 17:14:14 +02:00
Florent Kermarrec
5b766266c9 training/TSGenerator: test/fix control backpressure 2019-10-10 15:32:23 +02:00
Florent Kermarrec
801ee05a94 ltssm/training: test with hardware, some fixes 2019-10-10 13:54:09 +02:00
Florent Kermarrec
c961ac706e kc705: remove scrambler/ idle trigger, add more signals to analyzer 2019-10-10 13:53:21 +02:00
Florent Kermarrec
630ce0edd1 scrambling: add enable 2019-10-10 10:51:14 +02:00
Florent Kermarrec
01a942ca7b scrambling: don't scramble K codes, only keep Scrambler (Descrambler is simular) 2019-10-10 10:50:02 +02:00