enjoy-digital
455305a3ed
Merge pull request #322 from antmicro/msieron/make-tests-parallel-safe
...
Make tests safe to run in parallel
2023-01-31 08:25:18 +01:00
Florent Kermarrec
f94366c769
ci: Add help2man install for verilator compilation.
2023-01-20 19:14:17 +01:00
Florent Kermarrec
18f00151ed
ci: Specify verilator sha1 (Build broken with recent versions).
2023-01-19 10:01:38 +01:00
Florent Kermarrec
d95c1fc583
frontend/dma: Update omit signals in LiteDRAMDMAReader (Thanks @mohammadshahidzade).
2023-01-16 11:21:47 +01:00
Michal Sieron
a912a88081
Make tests safe to run in parallel
...
For example using pytest-parallel you can greatly reduce time it takes
to run all tests.
```
$ pytest --workers auto test
```
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-11 21:49:50 +01:00
enjoy-digital
b749e10970
Merge pull request #321 from antmicro/msieron/sdram-hw-test
...
frontend/bist: replicate LFSR output to fill the DRAM port
2023-01-11 19:10:23 +01:00
Michal Sieron
dad2c972f7
test/common: fix expected data for test_bist.py
...
Expected data needs to be replicated to fill given data_width.
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-11 17:13:52 +01:00
Michal Sieron
73c3ec6b68
frontend/bist: make LFSR output comb
...
Otherwise first output after reset is 0.
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-11 15:36:19 +01:00
Michal Sieron
f466c5f1db
frontend/bist: replicate LFSR output to fill DRAM port
...
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-11 15:36:19 +01:00
Michal Sieron
89581c1da7
gen: increase ROM size
...
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-11 15:36:19 +01:00
Florent Kermarrec
69b401dea1
test/test_init: Update.
2023-01-10 14:45:27 +01:00
enjoy-digital
d17b021aa2
Merge pull request #320 from antmicro/msieron/sdram-spd
...
init: Define `SDRAM_PHY_[DDR3|DDR4|...]` and `SDRAM_PHY_SUPPORTED_MEMORY`
2023-01-10 09:39:12 +01:00
Michal Sieron
8fa325310a
init: define SDRAM_PHY_SUPPORTED_MEMORY
...
To use as a default value when one can't read SDRAM size from the SPD.
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-09 16:03:09 +01:00
Michal Sieron
4c9f184566
init: define SDRAM_PHY_[DDR3|DDR4|...]
...
Will allow to ifdef code specific to some memory types like SPD reads.
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-09 16:03:09 +01:00
enjoy-digital
8339f54322
Merge pull request #319 from antmicro/msieron/fix-bist-errors
...
frontend/bist: properly signal finished writes
2023-01-05 22:21:23 +01:00
Michal Sieron
f45ca410ad
frontend/bist: properly signal finished writes
...
Without it, software was resetting the generator too early and wrong
data was being written to the RAM.
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2023-01-04 14:00:59 +01:00
Florent Kermarrec
3b2bcf91ed
ci: Switch to ubuntu 22.04 and increase similarities with LiteX's CI.
2022-12-09 11:06:58 +01:00
Florent Kermarrec
6b00d1adce
ci: Install RISC-V GCC with litex_setup.py.
2022-12-08 21:57:50 +01:00
Florent Kermarrec
379db85fc7
bench: Update with LiteX/LiteX-Boards changes.
2022-12-08 10:29:43 +01:00
enjoy-digital
1f1ab2d3ea
Merge pull request #314 from antmicro/msieron/fix-ddr4-sim
...
Fix DFITimingsChecker for DDR4 simulation
2022-11-18 12:47:13 +01:00
Michal Sieron
f25604c153
Fix DFITimingsChecker for DDR4 simulation
...
In case of DDR4 tRFC and tREFI timings are actually dictionaries with
timings specific for the chosen refresh mode.
Right now, it is impossible to simulate DDR4, because an exception
happens in `DFITimingsChecker.prepare_timings` method when indexing
`val` variable.
This is due to the fact, that in `DFITimingsChecker.__init__` we request
timing values from the module by name, ignoring the fact that some of
them (tRFC and tREFI) need to be first accessed using the chosen refresh
mode.
This commit fixes this error, by properly using `key` parameter when
calling `SDRAMModule.get` method to get only required timing.
If one were to fix it in `DFITimingsChecker.prepare_timings` method,
it would require duplicating logic from `SDRAMModule.get` so this is a
simpler and cleaner solution.
Signed-off-by: Michal Sieron <msieron@antmicro.com>
2022-11-14 21:36:17 +01:00
Florent Kermarrec
c770dd62ed
test/test_lpddr5: Add tINIT2 as allowed warning.
2022-10-25 08:58:20 +02:00
Florent Kermarrec
d1529d7508
ci: Bump to ubuntu 20.04.
2022-10-14 18:17:02 +02:00
Florent Kermarrec
ae0763e252
axi: Update frontend/test with LiteX changes.
2022-09-15 17:52:01 +02:00
Florent Kermarrec
559dd24c99
phy/gw2ddrphy: Minor cosmetic cleanups.
2022-09-08 16:09:38 +02:00
Florent Kermarrec
cff8500f52
phy/gw2ddrphy: Add explicit TXCLK_POL and set it to 1 for DQS.
2022-09-08 16:03:39 +02:00
Florent Kermarrec
5b72d1a34a
gw2ddrphy: Add TCLK_SOURCE on DQS's OSER4_MEM.
2022-09-08 10:49:54 +02:00
Florent Kermarrec
ab9aec9129
phy/gw2ddrphy: Make oen signal names consistent.
2022-09-07 17:02:56 +02:00
Florent Kermarrec
22b823fdbc
phy/gw2ddrphy: Use same BitSlip moduel than ECP5DDRPHY.
2022-09-07 16:58:15 +02:00
Florent Kermarrec
f869d8e3d6
phy/gw2ddrphy: Increase similarities with ecp5ddrphy and add checkme notes.
2022-09-07 16:03:20 +02:00
Florent Kermarrec
434b00e65a
phy/gw2ddrphy: Fix Vendor name, update copyright.
2022-09-07 12:14:11 +02:00
Icenowy Zheng
c7eba6f704
Add intitial GW2DDRPHY (ported from ECP5DDRPHY), WIP.
2022-09-07 11:25:30 +02:00
Florent Kermarrec
dfc03a26b3
CONTRIBUTORS: Update.
2022-09-07 10:18:59 +02:00
Florent Kermarrec
3d066c87f9
ci: Add comment for Verilator build/install.
2022-06-27 17:46:37 +02:00
Florent Kermarrec
e662fadf8a
test/test_init: Update.
2022-05-10 10:38:55 +02:00
Florent Kermarrec
85e4c995d8
litedram/gen: .init renaming no longer required with https://github.com/enjoy-digital/litex/pull/1293 .
2022-05-09 18:02:57 +02:00
Florent Kermarrec
2b8af870c5
phy/usddrphy/Clk: Connect cdly_value only on first clk pad.
2022-05-02 17:34:52 +02:00
Florent Kermarrec
692355d120
CONTRIBUTORS: Update.
2022-05-02 13:43:38 +02:00
Florent Kermarrec
745f2a060a
bench/targets: Use full imports.
2022-05-02 13:07:29 +02:00
Florent Kermarrec
47ddb03ec8
phy/rpc/arty: Use new I2C init to automatically inialize Vbucks and integrate modified DDR3 IOs (SSTL15).
2022-04-29 14:16:47 +02:00
Florent Kermarrec
b313fe5224
phy/rpc/arty: Remove calls to add_csrs (No longer required) and fix build.
2022-04-29 13:13:38 +02:00
Florent Kermarrec
9e0d5ca22d
phy/rpc: Add Arty target file that has used to validate RPC-DRAM.
2022-04-29 13:10:22 +02:00
Florent Kermarrec
f396253729
frontend/axi/rmw: Fix simulation mismatch between unit-test/verilator.
2022-04-11 17:49:19 +02:00
Florent Kermarrec
15f7ba2713
frontend/adapter: Set with_common_rst to False on ClockDomainCrossing.
2022-04-01 11:46:43 +02:00
enjoy-digital
000c220a57
Merge pull request #300 from antmicro/variable_dq_dqs_ratio
...
Allow for variable DQ/DQS ratio
2022-03-31 17:21:01 +02:00
Ryszard Różak
18d25d84c3
Update test/reference/*_init.h
...
Signed-off-by: Ryszard Różak <rrozak@antmicro.com>
2022-03-30 13:42:47 +02:00
Karol Gugala
574df6f908
Allow for variable DQ/DQS ratio
...
Signed-off-by: Ryszard Różak <rrozak@antmicro.com>
2022-03-30 13:42:47 +02:00
Florent Kermarrec
b404a7f0f2
dfii: Improve hardware/software control comments.
2022-03-28 14:27:41 +02:00
enjoy-digital
c396e3f153
Merge pull request #302 from antmicro/external-dfi-injector
...
dfi: add possibility to have an external dfi injector
2022-03-28 14:22:31 +02:00
enjoy-digital
27939f2d0b
Merge pull request #301 from Johnsel/arduino_mkrvidor4000
...
Added AS4C4M16 for Arduino MKR Vidor 4000 support
2022-03-28 14:16:38 +02:00