Commit Graph

1297 Commits

Author SHA1 Message Date
Jędrzej Boczar 1f8868e6e9 test: add frontend.adaptation tests for different conversion ratios 2020-03-24 11:12:11 +01:00
enjoy-digital ebdbcacc1d
Merge pull request #169 from antmicro/jboc/unit-tests
Add LiteDRAMWishbone2Native tests
2020-03-21 19:12:45 +01:00
Florent Kermarrec d96dd94d55 phy/s7ddrphy: add ISERDESE2 MEMORY mode support that uses DQS to sample the DQ datas.
This also reduces read latency by 1 sys_clk cycle.
2020-03-20 18:54:23 +01:00
Jędrzej Boczar f19d92b67f test: add wishbone tests with data width mismatch 2020-03-20 14:48:50 +01:00
Jędrzej Boczar 7996ee5143 test: add missing write-enable handling 2020-03-20 14:48:50 +01:00
Jędrzej Boczar 3c0fdf0710 test: handle 'we' in DRAMMemory, add memory debug messages 2020-03-20 14:48:39 +01:00
Jędrzej Boczar e8558f6f9f test: fix bits formatting 2020-03-20 13:18:24 +01:00
Jędrzej Boczar 7593b2d9b9 test: add basic wishbone test 2020-03-20 09:30:33 +01:00
enjoy-digital 060d1807ad
Merge pull request #168 from antmicro/jboc/unit-tests-ecc
Add unit tests for ECC
2020-03-19 18:24:43 +01:00
enjoy-digital 4a784f083e
Merge pull request #165 from antmicro/jboc/unit-tests
Test: add tests for BIST modules with different access patterns
2020-03-19 18:24:00 +01:00
Florent Kermarrec 1c5e9408c8 s6ddrphy/s7ddrphy: use IOBUFDS/IOBUF for DQS even if input is not currently used. 2020-03-19 18:15:08 +01:00
Jędrzej Boczar 68d078cc78 test: add tests for LiteDRAMNativePortECCW/LiteDRAMNativePortECCR 2020-03-19 10:57:54 +01:00
Jędrzej Boczar 03f93998b5 test: move DMA specific tests to test_dma.py 2020-03-19 09:13:28 +01:00
Jędrzej Boczar 1b4647b2e1 test: add tests for LiteDRAMNativePortECC 2020-03-18 15:43:49 +01:00
enjoy-digital d68eff02da
Merge pull request #166 from Xiretza/standalone-builder-args
Allow specifying builder arguments for standalone generator
2020-03-17 21:46:35 +01:00
Xiretza ab4ce5d1af
Allow specifying builder arguments for standalone generator
This is mostly copied over from liteeth.
2020-03-17 20:02:18 +01:00
Jędrzej Boczar 36d5b42aa0 test: correct DMAReaderDriver/DMAWriterDriver logic 2020-03-17 15:37:50 +01:00
Jędrzej Boczar 6ef623efae test: cleanup test_bist.py code style 2020-03-17 14:23:08 +01:00
Jędrzej Boczar a883f88cca test: add LiteDRAMDMAReader tests 2020-03-17 14:12:09 +01:00
Jędrzej Boczar d86ebd7e9d test: add LiteDRAMDMAWriter tests 2020-03-17 12:39:10 +01:00
Jędrzej Boczar 5618d2a54c test: fix quotes 2020-03-17 09:45:28 +01:00
Jędrzej Boczar ef9b13d7e8 test: add tests for BIST modules with clock domain crossing 2020-03-16 16:38:58 +01:00
Jędrzej Boczar a00c8b7940 test: unify BIST tests, factor out repetitive code 2020-03-16 09:23:45 +01:00
Jędrzej Boczar 13aeb3fd65 test: add _LiteDRAMBISTChecker/_LiteDRAMPatternChecker tests 2020-03-16 09:11:37 +01:00
Jędrzej Boczar ba83e5645c test: add some more verbose _LiteDRAMBISTGenerator tests 2020-03-16 09:11:37 +01:00
Jędrzej Boczar 239859d95b test: add tests for _LiteDRAMPatternGenerator 2020-03-16 09:11:37 +01:00
Jędrzej Boczar ac06382b5a test: split GenCheckDriver run into configure/run 2020-03-16 09:11:37 +01:00
enjoy-digital 4cfbc71fc2
Merge pull request #162 from antmicro/jboc/benchmark
Benchmarks: fix with_uart parameter
2020-03-13 18:09:28 +01:00
Jędrzej Boczar c8423a08a3 test: exit with failure when no benchmarks succeeded 2020-03-12 14:16:21 +01:00
Jędrzej Boczar 92daf53ea2 test: fix with_uart parameter (see litex/b29f443f) 2020-03-12 14:16:21 +01:00
enjoy-digital 60b618eeba
Merge pull request #161 from antmicro/jboc/unit-tests
test: add _LiteDRAMBISTGenerator tests
2020-03-11 16:36:56 +01:00
enjoy-digital cdde6bac19
Merge pull request #160 from antmicro/mglb/add-dqs
common: PHYPadsCombiner: add "dqs" to the list
2020-03-11 16:23:53 +01:00
Jędrzej Boczar b89ecdf919 test: add _LiteDRAMBISTGenerator tests 2020-03-11 15:38:13 +01:00
Mariusz Glebocki a04b407c81 common: PHYPadsCombiner: add "dqs" to the list
S6HalfRateDDRPHY uses "dqs" instead of "dqs_p"
2020-03-11 15:01:25 +01:00
Florent Kermarrec 6101eab3ac phy/usddrphy: add assertions on iodelay_clk_freq.
200MHz min on Ultrascale.
300MHz min on Ultrascale+.
2020-03-10 16:40:44 +01:00
Florent Kermarrec 052b436d9a phy/usddrphy: add USPDDRPHY and rename sim_device parameter to device. 2020-03-10 16:07:53 +01:00
Florent Kermarrec 4ec676db27 modules: add MT40A512M8 DDR4. 2020-03-10 13:56:13 +01:00
Florent Kermarrec 183f1a6e27 phy/usddrphy: add cdly_value CSR to be able to read back configured clk/cmd delay. 2020-03-10 12:31:19 +01:00
Florent Kermarrec 26564ba93c phys: integrate PHYPadsCombiner.
pads can now be passed to the PHY as:

# DRAM Chips with common command/address lines (traditional):
pads = platform.request("ddram")

# DRAM Chips with dissociated command/address lines:
pads = [platform.request("ddram", 0), platform.request("ddram", 1)]

LiteDRAM controller will automatically adapts itself to this combined pads.
2020-03-06 18:56:28 +01:00
Florent Kermarrec 5e068f412b common: add PHYPadsCombiner to allow using fully dissociated DRAM chips and combine them to in single DRAM controller.
Most generally, DRAM chips are sharing command/address lines between chips (using a fly-by
topology since DDR3). On some boards, the DRAM chips are using separate command/address lines
and this combiner can be used to re-create a single pads structure (that will be compatible with
LiteDRAM's PHYs) to create a single DRAM controller from multiple fully dissociated DRAMs chips.
2020-03-06 18:46:07 +01:00
enjoy-digital 9ad199a116
Merge pull request #158 from antmicro/fix-copyrights
Fix copyrights
2020-03-05 19:05:33 +01:00
Karol Gugala 2ce64bd5fb Fix copyrights
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
2020-03-05 17:40:21 +01:00
Florent Kermarrec 8fee3c7edf test/reference: update kc705 ddr3_init.h. 2020-03-05 11:35:12 +01:00
Florent Kermarrec 8122209d9b modules: add MT40A256M16 2020-02-26 15:48:10 +01:00
enjoy-digital a753a3393d
Merge pull request #154 from antmicro/ddr4-sodimm
modules: add KVR21SE15S8/4 SO-DIMM
2020-02-26 15:16:22 +01:00
Piotr Binkowski 3b0ec8f996 modules: add KVR21SE15S8/4 SO-DIMM 2020-02-26 12:59:53 +01:00
Florent Kermarrec 752e006cf9 phy/usddrphy: add Ultrascale Plus support.
Similar to Ultrascale, but SIM_DEVICE needs to be changes to "ULTRASCALE_PLUS".
2020-02-25 10:36:56 +01:00
Florent Kermarrec b8339886da litedram_gen: add missing ECP5DDRPHY constant 2020-02-22 19:23:28 +01:00
enjoy-digital 87578dd2e3
Merge pull request #153 from antmicro/jboc/issue-151
test/benchmarks: add memtype to summary (#151)
2020-02-20 14:00:27 +01:00
enjoy-digital 4f9d6e413f
Merge pull request #152 from antmicro/jboc/benchmark
Benchmarks: add timeout parameter
2020-02-20 14:00:06 +01:00