Commit Graph

103 Commits

Author SHA1 Message Date
Florent Kermarrec d88b127abb create SATACON and use it in bist_tb 2014-12-15 19:13:32 +01:00
Florent Kermarrec ddb9d52270 bist: add ctrl_errors/data_errors and clean up 2014-12-15 19:04:45 +01:00
Florent Kermarrec d193bd3321 hdd: improve debug print 2014-12-15 19:04:07 +01:00
Florent Kermarrec 707b43178b add simple synthetizable BIST 2014-12-15 16:44:12 +01:00
Florent Kermarrec d4cd159c9c command: fix ValueError msg 2014-12-15 15:34:00 +01:00
Florent Kermarrec 0a1403cec5 command: memorize data on RX path before presenting it to the user 2014-12-15 15:31:08 +01:00
Florent Kermarrec d970bfb140 transport: add _get_item and simplify _encode_cmd/_decode_cmd 2014-12-15 13:38:50 +01:00
Florent Kermarrec f226de5ba0 modify addressing (in sectors) and improve hdd model debug 2014-12-15 13:26:53 +01:00
Florent Kermarrec 6a783ad291 command: fix TX path with random acknowledge 2014-12-14 21:03:14 +01:00
Florent Kermarrec ddc99febb5 command: address/length in bytes 2014-12-14 20:30:21 +01:00
Florent Kermarrec a284f2a9de hdd: manage sector_size, limitation to 2048 dwords per dma 2014-12-14 20:30:01 +01:00
Florent Kermarrec 8b21e5fd21 hdd: rearrange code (will be easier to understand) 2014-12-14 16:49:35 +01:00
Florent Kermarrec 79e82d6ccd command_tb: add random (still something to fix on TX) 2014-12-14 16:38:38 +01:00
Florent Kermarrec 46a39b7d41 rename bfm to hdd and clean up 2014-12-14 16:20:22 +01:00
Florent Kermarrec 0959f5b979 command: add fsm for RX Path and manage D2H response in bfm 2014-12-14 15:32:00 +01:00
Florent Kermarrec f01a8934f2 bfm: fix HDD read_dma_cmd, identify_dma_cmd and clean up 2014-12-14 13:14:32 +01:00
Florent Kermarrec 623a3883c6 transport: generate sop on RX path 2014-12-14 12:59:02 +01:00
Florent Kermarrec a0cb0c6474 command_tb: add streamer and logger 2014-12-14 12:49:35 +01:00
Florent Kermarrec b6d5e23264 bfm: create basic HDD model 2014-12-14 11:44:12 +01:00
Florent Kermarrec 1e68b1a907 remove transport_tb (transport will be tested in command_tb) 2014-12-14 10:57:16 +01:00
Florent Kermarrec b1c71f26bd use description instead of layout 2014-12-14 10:52:56 +01:00
Florent Kermarrec 8f9efde39e regroup all constants/ definitions in common 2014-12-14 10:45:26 +01:00
Florent Kermarrec 11c99f8377 command: wip 2014-12-13 11:33:22 +01:00
Florent Kermarrec eb226c1ade bfm: dma_skeleton 2014-12-13 01:18:08 +01:00
Florent Kermarrec 66ef7950ab command: code TX part and add command_tb 2014-12-12 22:26:04 +01:00
Florent Kermarrec 71f6a16913 transport: remove dma_setup and pio_setup_d2h (not needed our controller) 2014-12-12 18:16:30 +01:00
Florent Kermarrec fe875ea650 remove Layer in module names 2014-12-12 14:35:48 +01:00
Florent Kermarrec b9a9e075fd transport: merge cmd and data Sink/Source, will be easier 2014-12-12 14:31:00 +01:00
Florent Kermarrec 9ae703efbe transport_tb: add basic test for TX path 2014-12-12 11:22:21 +01:00
Florent Kermarrec 7ea46ed7a6 transport: add transport_tb skeleton and fix compilation 2014-12-12 00:56:29 +01:00
Florent Kermarrec ed9d9e1375 transport: code SATATransportLayerRX (untested) 2014-12-11 21:56:56 +01:00
Florent Kermarrec 1aab9a449e transport: code SATATransportLayerTX (untested) 2014-12-11 20:19:14 +01:00
Florent Kermarrec e4c0b4a11f phy: remove ALIGN primitives on RX path 2014-12-11 18:35:56 +01:00
Florent Kermarrec f976b65cf1 link: add auto-check on link_tb 2014-12-06 14:35:18 +01:00
Florent Kermarrec 0f50eab880 link: fix CONT on RX path 2014-12-06 01:23:03 +01:00
Florent Kermarrec 21a279af72 link: test HOLD on RX path 2014-12-05 21:27:26 +01:00
Florent Kermarrec c28067d672 link: test RX path 2014-12-05 20:26:09 +01:00
Florent Kermarrec b238c41b26 link_tb: use LinkTXPacket and LinkRXPacket from bfm 2014-12-05 18:00:02 +01:00
Florent Kermarrec e900b9031c move test 2014-12-05 17:48:01 +01:00
Florent Kermarrec 6f96338962 bfm: add FIS decoding/encoding 2014-12-05 01:13:55 +01:00
Florent Kermarrec 9da1f7fcbb bfm: rewrite it and split Physical / Link layers 2014-12-04 23:43:21 +01:00
Florent Kermarrec 6e6243e983 transport: define FIS layouts 2014-12-03 16:53:20 +01:00
Florent Kermarrec ddd4b65f44 link: split SATALinkLayer in SATALinkLayerTX and SATALinkLayerRX 2014-12-03 15:29:01 +01:00
Florent Kermarrec d3974882e4 link: manage CONT on RX path 2014-12-03 11:50:31 +01:00
Florent Kermarrec 47a5a9529b link: manage CONT on TX path 2014-12-03 11:12:26 +01:00
Florent Kermarrec cab5b7b8f8 link: simplify BFM 2014-12-03 09:17:51 +01:00
Florent Kermarrec 6cc8686402 link: manage hold 2014-12-03 02:06:43 +01:00
Florent Kermarrec ed97f378ff link: add CRC check to BFM 2014-12-02 20:02:43 +01:00
Florent Kermarrec f2757ef8dd link: fix link_tb (due to others modifications) 2014-12-02 19:53:13 +01:00
Florent Kermarrec 31b9132dd9 link: improve and clean up crc_tb, scrambler_tb 2014-12-02 19:24:46 +01:00