Commit Graph

491 Commits

Author SHA1 Message Date
Florent Kermarrec 8419f2846d core: split refresher, expose it and allow it to be reloaded externally. 2018-12-07 10:15:54 +01:00
Florent Kermarrec 8ec0bc678e modules: improve the way we define DDR4 banks/groups 2018-12-06 21:16:37 +01:00
Florent Kermarrec 1618a7636a phy: add KUSDDRPHY to __init__.py 2018-12-06 21:15:47 +01:00
Florent Kermarrec d6350d9fec test/test_axi: reduce rand_level on writes 2018-12-05 11:44:38 +01:00
Florent Kermarrec 282b60e94c frontend/axi: simplify LiteDRAMAXI2NativeW logic
Accept the Address/Data only if:
- Address & Data request are *both* valid.
- Data buffer is not full.
2018-12-05 11:44:23 +01:00
Florent Kermarrec 6778c72665 test/test_axi: cleanup, all tests passings. 2018-12-03 08:01:33 +01:00
Florent Kermarrec ebb1d3c762 frontend/axi/LiteDRAMAXI2NativeW: be sure that we already have the data before sending the command to the controller 2018-12-01 12:11:22 +01:00
Florent Kermarrec 0d5e5543fb frontend/axi: expose aw_burst2beat/ar_burst2beat 2018-11-30 12:32:15 +01:00
Florent Kermarrec da65a804be frontend/axi: expose w_buffer/r_buffer (can be useful for debug) 2018-11-30 11:59:22 +01:00
Florent Kermarrec 7f5d749c6b test: add missing +x 2018-11-30 11:58:45 +01:00
Florent Kermarrec 7ef4869db9 test/test_axi: also add randomness on rdata.valid and wdata.ready 2018-11-30 11:22:04 +01:00
Florent Kermarrec 3db68cdd50 test/test_axi/axi2native: add tests for each randomness parameters (ease finding regressions issues) 2018-11-30 10:40:45 +01:00
Florent Kermarrec 190b1bd01f test/test_axi/axi2native: add finer control on randomness 2018-11-30 09:40:13 +01:00
Florent Kermarrec 4f137b9334 test/test_axi/axi2native: add random on len, just use writes as reads 2018-11-29 23:45:38 +01:00
Florent Kermarrec 2a799e4f1d test/test_axi: set size on axi2native test 2018-11-29 23:45:31 +01:00
Florent Kermarrec e70d77e76e phy/s7dddrphy: fix nphases = 2 (same code can be shared between nphases = 2 and nphases = 4) 2018-11-29 16:56:23 +01:00
Florent Kermarrec 170b3dc67d frontend/wishbone: set aw/ar size on LiteDRAMWishbone2AXI 2018-11-26 10:37:28 +01:00
Florent Kermarrec 9a255062e0 frontend/wishbone: fix wishbone.err on LiteDRAMWishbone2AXI 2018-11-26 08:56:00 +01:00
Florent Kermarrec bc6a3f220a examples/sim/sim/py: remove apb interface 2018-11-17 09:30:58 +01:00
Florent Kermarrec e7e4bc527f examples/sim: add ddr3 micron model 2018-11-17 09:20:34 +01:00
Florent Kermarrec f219693635 examples: add simulation 2018-11-17 09:19:52 +01:00
Florent Kermarrec 30d9a3e2c2 modules: add MT40A1G8 DDR4 2018-11-13 11:05:38 +01:00
Florent Kermarrec 4459bd25ed frontend/axi: same condition to connect connect wdata.we and wdata 2018-11-13 10:37:54 +01:00
Florent Kermarrec d10e2e9d97 core: make address_mapping a controller setting 2018-11-13 09:18:46 +01:00
Florent Kermarrec 7973b7d361 frontend/axi: emits the write command only if we have the write data 2018-11-12 19:17:31 +01:00
Florent Kermarrec 6fa891d5d6 frontend/axi: fix write response for bursts 2018-11-12 18:02:54 +01:00
Florent Kermarrec 93e8510f55 test/test_axi: add bursts to axi2native 2018-11-12 18:00:28 +01:00
Florent Kermarrec e27fbc2430 test/test_axi: move definitions to top and make Access herit from Burst 2018-11-12 13:09:05 +01:00
Florent Kermarrec 4470f32ef8 test/test_axi: change order of the tests 2018-11-12 12:59:19 +01:00
Florent Kermarrec 070cc26994 test/test_axi: use separate generator for writes cmd/data 2018-11-12 12:58:19 +01:00
Florent Kermarrec 127e9285a3 frontend/wishbone: simplify LiteDRAMWishbone2Native code (resource usage almost the same) 2018-11-09 15:44:49 +01:00
Florent Kermarrec ca82ac18d0 frontend/wishbone: add LiteDRAMWishbone2AXI 2018-11-09 15:32:49 +01:00
Florent Kermarrec 3586e157f2 frontend/axi: improve len/size comment (-1), set default id_width to 1 2018-11-09 15:29:31 +01:00
Florent Kermarrec 71be616817 frontend/axi: be sure wdata is available before sending the command to the controller 2018-11-09 11:33:01 +01:00
Florent Kermarrec 55b5f40e00 modules: add AS4C256M16D3A 2018-11-08 16:40:38 +01:00
enjoy-digital 69ea8668d0
Merge pull request #62 from daveshah1/AS4C32M16
modules: Add AS4C32M16 32Mx16 SDRAM
2018-11-06 14:50:14 +01:00
Florent Kermarrec b41fe61b2a phy/kusddrphy/ddr4: multiplexed address bits are always the same (14, 15, 16) and fix ba/bg ordering 2018-11-05 17:00:47 +01:00
Florent Kermarrec 2e1978728c phy/kusddrphy: add dfi mux on address/control signals 2018-11-05 15:41:22 +01:00
David Shah 3a5d45bd5e modules: Add AS4C32M16 32Mx16 SDRAM
Signed-off-by: David Shah <dave@ds0.me>
2018-11-05 12:26:20 +00:00
Florent Kermarrec a8c3d394ec sdram_init: fix compilation 2018-11-05 10:46:47 +01:00
Florent Kermarrec af344897eb common: add DDR4 burst_length 2018-11-05 10:46:34 +01:00
Florent Kermarrec 2a9fb11b02 phy/kusddrphy: more genericity, initial DDR4 support 2018-11-05 10:46:18 +01:00
Florent Kermarrec ae5dc9f27a sdram_init: add initial DDR4 initialization 2018-11-05 09:32:08 +01:00
Florent Kermarrec 8181fea0da modules: add EDY4016A DDR4 2018-11-04 18:50:50 +01:00
Florent Kermarrec 346e64c3f2 frontend/ecc: fix typo 2018-11-04 17:07:00 +01:00
Florent Kermarrec 82c08c78c9 phy/gensdrphy: use tristate input 2018-10-29 19:27:26 +01:00
Florent Kermarrec 9ce84d96ec modules: add MT48LC16M16 (ulx3s) 2018-10-29 19:26:42 +01:00
Florent Kermarrec f36bcff49f phy/gensdrphy: cleanup/simplify pass 2018-10-19 18:26:45 +02:00
Florent Kermarrec da06715596 core/bankmachine: typo 2018-10-19 18:20:12 +02:00
Florent Kermarrec ab0d519ebb core: change cba_shift parameter to more explicit address_mapping parameter 2018-10-19 17:38:04 +02:00