Florent Kermarrec
63358ee666
test/reference: Update.
2021-04-28 18:21:27 +02:00
Florent Kermarrec
886f60d32c
test/reference: Update.
2021-04-23 11:26:30 +02:00
Jędrzej Boczar
7028944acd
lpddr4: add missing copyright comments
2021-04-01 10:07:02 +02:00
Jędrzej Boczar
e860d86f3f
lpddr4/phy: make redundant cmd overlaps checks optional (and disabled by default)
2021-03-25 15:31:58 +01:00
Jędrzej Boczar
0ecb1340f5
lpddr4/test: fixes: use 2tCK write preamble, update read latency
2021-03-25 15:31:05 +01:00
Jędrzej Boczar
5c6796b92a
lpddr4: change MRW command encoding to avoid changing BIOS code
2021-03-25 15:30:48 +01:00
Jędrzej Boczar
eb1d900c24
lpddr4: S7PHY related fixes, MRR command, runtime configurable WRITE/MASKED-WRITE
2021-03-25 15:29:17 +01:00
Jędrzej Boczar
4415a3eaf5
lpddr4: improve simulation and Verilator tests runner
2021-03-25 15:19:16 +01:00
Jędrzej Boczar
2ab763ac5e
lpddr4: add double-rate PHY, clean up and improve PHY implementation
2021-03-25 15:19:16 +01:00
Jędrzej Boczar
183f1643aa
lpddr4: add support for MASKED-WRITE
2021-03-25 15:19:16 +01:00
Jędrzej Boczar
05ed238829
lpddr4: split implementation into multiple files in separate directory
2021-03-25 15:19:16 +01:00
Jędrzej Boczar
ee9c2b4cf7
lpddr4: implement ZQC through MPC and include it in init sequence
...
We do not yet support ZQC during operation (after init sequence)
as LPDDR4 requires 2-stage ZQC (start+latch) and 1us in between,
which requires modifying Refresher (ZQCExecutor) in LiteDRAM.
2021-03-25 15:19:16 +01:00
Jędrzej Boczar
6943a1a4a5
lpddr4: initial PHY logic and simulation tests
2021-03-25 15:19:08 +01:00
Florent Kermarrec
2d021c842e
test/reference: update.
2021-02-16 18:35:53 +01:00
enjoy-digital
2c60861929
Merge pull request #232 from antmicro/jboc/init-mr
...
init: make the write leveling MR bit configurable
2021-02-02 09:36:46 +01:00
Jędrzej Boczar
b3ce582891
test: update ddr3 and ddr4 reference headers to new MR_WLVL defines
2021-01-29 12:49:19 +01:00
Jędrzej Boczar
a1e7d805ec
test: improve error messages when comparing files in test_init.py
2021-01-28 17:44:13 +01:00
Florent Kermarrec
c29c898af4
platforms/targets: switch to LiteX-Boards.
2021-01-04 14:11:32 +01:00
Florent Kermarrec
103072c68a
test/reference: update.
2020-12-17 18:21:53 +01:00
Florent Kermarrec
b6252345af
test/reference: update ddr4.
2020-11-17 17:12:02 +01:00
Florent Kermarrec
df73b982ee
test/reference: update
2020-10-12 18:50:31 +02:00
Florent Kermarrec
39178ce460
test: add minimal OSERDESE2/OSERDESE3 simulations to check Data/Tristate latencies.
2020-10-02 12:30:19 +02:00
Florent Kermarrec
f8ee596464
test/reference: update.
2020-09-30 19:49:38 +02:00
Florent Kermarrec
6d063b196c
test/reference: update.
2020-09-30 18:06:48 +02:00
Florent Kermarrec
c4d7083677
test/reference: update.
2020-09-30 13:29:39 +02:00
Florent Kermarrec
7ccb7d8f16
test/reference: update.
2020-09-24 15:03:35 +02:00
Florent Kermarrec
8525a27762
test/reference: update.
2020-09-15 20:00:55 +02:00
Florent Kermarrec
e56f74e08b
test/reference: update.
2020-09-07 19:37:03 +02:00
Florent Kermarrec
ac825e5112
add SPDX License identifier to header and specify file is part of LiteDRAM.
2020-08-23 15:52:08 +02:00
Florent Kermarrec
198bcbab67
test/reference: update.
2020-08-07 23:14:09 +02:00
Florent Kermarrec
16fd46bf35
frontend: rename adaptation to adapter.
2020-08-05 11:10:42 +02:00
enjoy-digital
02e67ec7c5
Merge pull request #192 from antmicro/jboc/port-adaptation
...
Implement LiteDRAMNativePortUpConverter with mode="both"
2020-07-28 19:02:33 +02:00
enjoy-digital
c4c8803f4f
Merge pull request #204 from antmicro/jboc/spd-read
...
Add DDR4 SPD EEPROM data parser
2020-06-04 08:54:59 +02:00
Jędrzej Boczar
8fedc3fcd2
frontend/fifo: increase FIFO level after data has actually been written
2020-06-03 16:13:28 +02:00
Jędrzej Boczar
863c45a114
test/spd_data: add missing files to tracking
2020-06-02 15:19:53 +02:00
Jędrzej Boczar
a8f2c044c9
modules: add DDR4SPDData parser
2020-06-02 12:16:41 +02:00
enjoy-digital
d62fd24c81
Merge pull request #201 from antmicro/jboc/spd-read
...
modules/spd: save SPD data in SDRAMModule
2020-06-01 21:16:58 +02:00
Jędrzej Boczar
4233f86112
modules/spd: save SPD data in SDRAMModule to allow for runtime verification
2020-06-01 16:56:41 +02:00
Florent Kermarrec
639a31fdd2
test/test_timing: update test_txxd_controller.
2020-05-20 23:40:01 +02:00
Florent Kermarrec
fe48a9290c
test/reference: update.
2020-05-19 08:16:11 +02:00
Jędrzej Boczar
22bd01c014
frontend/wishbone: simplify by reusing LiteDRAMNativePortConverter
2020-05-13 17:14:42 +02:00
Jędrzej Boczar
efe9a44c93
frontend/adaptation: clean up LiteDRAMNativePortUpConverter code
2020-05-11 16:47:43 +02:00
Jędrzej Boczar
2f35e9714d
frontend/adaptation: fix error when read follows write to the same address
2020-05-11 16:11:40 +02:00
Jędrzej Boczar
1587ee3611
frontend/adaptation: use port.cmd.last instead of port.flush in up-converter
2020-05-11 15:28:32 +02:00
Jędrzej Boczar
35fa91c055
test/crossbar: up-conversion with mode="both" should be working now
2020-05-11 14:56:39 +02:00
Jędrzej Boczar
9b90a56e07
frontend/adaptation: combine read/write port up-converters and extend tests
2020-05-11 14:56:39 +02:00
Jędrzej Boczar
762cd6d0f1
test/adaptation: add port converter tests with mode="both"
2020-05-11 14:56:39 +02:00
Jędrzej Boczar
7a0f7a7ead
test/common: fix error in test data
2020-05-11 14:56:39 +02:00
Jędrzej Boczar
1cc9656a2d
test/crossbar: improve NativePortDriver to use separate generatos on data paths
2020-05-11 14:25:06 +02:00
Jędrzej Boczar
025e280804
test/crossbar: fix test that was not being run
2020-05-11 14:25:06 +02:00
Florent Kermarrec
52b49fb80e
test/reference: update.
2020-05-09 18:02:42 +02:00
Florent Kermarrec
20a849c652
test/reference: update ddr4_init.h
2020-04-28 11:57:11 +02:00
enjoy-digital
cec3a994e8
Merge pull request #181 from antmicro/jboc/eeprom-timings
...
Add option to load module data from DDR3 SPD EEPROM
2020-04-25 08:25:35 +02:00
Jędrzej Boczar
312bce2bf1
modules: pass rate automatically when creating module from SPD data
2020-04-17 14:14:02 +02:00
Jędrzej Boczar
07bbd79eaf
modules: update existsing SO-DIMM timings based on SPD data
2020-04-17 11:57:55 +02:00
Florent Kermarrec
d061e60611
test/reference: update.
2020-04-16 11:38:43 +02:00
Jędrzej Boczar
cf83ac6422
test: improve SPD tests of Micron DDR3 SO-DIMM modules
2020-04-16 10:57:09 +02:00
Jędrzej Boczar
854a614f99
modules: fix calculations of speedgrade from tck in SPD data
2020-04-16 10:12:23 +02:00
Jędrzej Boczar
3980e062d5
modules: add option to load module parameters from SPD data
2020-04-15 16:20:55 +02:00
Florent Kermarrec
de55a8e170
test/test_bandwidth: review, cleanup, fix typo.
2020-04-14 21:57:40 +02:00
Florent Kermarrec
907ef73971
test/test_wishbone: add comments/cleanup.
2020-04-14 21:48:44 +02:00
Florent Kermarrec
02fd39cf70
test/test_fifo: add comments.
2020-04-14 21:40:51 +02:00
Florent Kermarrec
14edb5b191
test/test_dma: add comments.
2020-04-14 19:51:31 +02:00
Florent Kermarrec
97e214b0dd
test/test_bist: add comments, fix a typo.
2020-04-14 19:44:58 +02:00
Florent Kermarrec
c55136c17a
test/test_bist: enable test_bist_csr_cdc (now passing with refactored CDC).
2020-04-14 18:14:05 +02:00
Florent Kermarrec
378c4419c1
frontend/bist: rename run/ready to run_cascade_in/run_cascade_out.
2020-04-14 16:52:02 +02:00
Florent Kermarrec
829dee6a61
frontend/bist: remove run/ready CSR.
...
run/ready are only used when generator and checker are coupled together to do alternating write/read.
In this mode, run/ready are connected directly in the gateware and are not controlled by software.
2020-04-14 16:29:05 +02:00
Florent Kermarrec
b399ae2e36
test/benchmark: default value of run is 1, no need to drive it.
2020-04-14 13:00:39 +02:00
Florent Kermarrec
4dbb5b1cbb
test/run_benchmarks: fix syntax.
2020-04-13 19:57:49 +02:00
Florent Kermarrec
966ebcbc41
test: cleanup/uniformize things between tests.
2020-04-13 19:38:29 +02:00
Florent Kermarrec
0efd619b46
test/test_adaption: review, add some comments.
2020-04-13 18:39:52 +02:00
Florent Kermarrec
38b78fc3e4
test/run_benchmarks: review, minor styles changes.
2020-04-13 18:27:16 +02:00
Jędrzej Boczar
8a0bcb3a2a
test: add core.crossbar tests
2020-04-10 12:46:10 +02:00
Jędrzej Boczar
e74a2e6a02
test: fix missing cases in bankmachine test
2020-04-08 10:31:34 +02:00
enjoy-digital
36d62d5301
Merge pull request #177 from antmicro/jboc/unit-tests-bankmachine
...
Add litedram.core.bankmachine tests
2020-04-08 09:55:20 +02:00
Jędrzej Boczar
7b8b68afcb
test: add core.bankmachine tests
2020-04-07 11:58:56 +02:00
Jędrzej Boczar
c03bed8ef6
test: add core.bandwidth.Bandwidth tests
2020-04-03 13:11:10 +02:00
Jędrzej Boczar
a62e59bccf
test: skip _CommandChooser tests from Issue #174
2020-04-01 16:19:37 +02:00
Jędrzej Boczar
00fcdf6da7
test: split core.multiplexer tests into separate files
2020-04-01 15:36:14 +02:00
Jędrzej Boczar
f619bedda2
test: clean up the code of core.multiplexer
2020-04-01 15:03:30 +02:00
Jędrzej Boczar
1dd4227b34
test: add core.multiplexer.Multiplexer tests
2020-04-01 14:21:16 +02:00
Jędrzej Boczar
ea9324601c
test: add comments to core.multiplexer._Steerer tests
2020-03-30 16:00:20 +02:00
Jędrzej Boczar
26ce99320e
test: add core.multiplexer._Steerer tests
2020-03-30 13:16:03 +02:00
Jędrzej Boczar
f36b5a4fd2
test: add core.multiplexer._CommandChooser tests
2020-03-27 15:53:29 +01:00
Jędrzej Boczar
a1b1abe329
test: use TestCase.subTest for more verbose error messages
2020-03-27 15:42:13 +01:00
Florent Kermarrec
6951428af5
test/test_fifo: minor cleanup.
2020-03-26 12:23:25 +01:00
Florent Kermarrec
0ee9d7db5f
test/test_ecc: review and cleanup.
2020-03-26 12:00:08 +01:00
Florent Kermarrec
265e79f2aa
test/gen_config: review/cleanup.
2020-03-26 11:43:33 +01:00
Florent Kermarrec
2bb8f8fd22
test/gen_access_pattern: cleanup.
2020-03-26 11:03:43 +01:00
Florent Kermarrec
72d2bbf09d
test/benchmarck: cleanup.
2020-03-26 10:46:11 +01:00
Florent Kermarrec
0cbdbf18ad
test/run_benchmarks: avoid relative imports as done on others tests.
2020-03-26 10:17:02 +01:00
enjoy-digital
24c075ed3a
Merge pull request #171 from antmicro/jboc/unit-tests-fifo
...
Add tests for litedram.frontend.fifo
2020-03-26 09:40:17 +01:00
Jędrzej Boczar
4fd6dc0ab6
test: split test_fifo_ctrl into 2 separate tests
2020-03-25 11:50:13 +01:00
Jędrzej Boczar
5d5bff3425
test: add frontend.fifo tests
2020-03-25 11:50:13 +01:00
Jędrzej Boczar
72b91a8fb7
test: add timeout_generator
2020-03-25 11:50:13 +01:00
Jędrzej Boczar
c39a6bd059
test: use @unittest.skip instead of commenting out code
2020-03-24 14:35:28 +01:00
Jędrzej Boczar
0afacba2ca
test: replace ConverterDUT.write_* with .write
2020-03-24 12:04:53 +01:00
Jędrzej Boczar
7f36717516
test: add LiteDRAMNativePortCDC tests
2020-03-24 11:55:24 +01:00
Jędrzej Boczar
1f8868e6e9
test: add frontend.adaptation tests for different conversion ratios
2020-03-24 11:12:11 +01:00
Jędrzej Boczar
f19d92b67f
test: add wishbone tests with data width mismatch
2020-03-20 14:48:50 +01:00