gram.git
4 years agogram.core.bankmachine: Factorize tXXDController valid signal
Jean THOMAS [Wed, 5 Aug 2020 14:44:43 +0000 (16:44 +0200)]
gram.core.bankmachine: Factorize tXXDController valid signal

4 years agoFix code styling
Jean THOMAS [Wed, 5 Aug 2020 14:37:38 +0000 (16:37 +0200)]
Fix code styling

4 years agoRemove steerer_sel function
Jean THOMAS [Wed, 5 Aug 2020 13:36:19 +0000 (15:36 +0200)]
Remove steerer_sel function

4 years agoFix test using delays for comb propagation instead of additional clock pulses
Jean THOMAS [Wed, 5 Aug 2020 13:33:01 +0000 (15:33 +0200)]
Fix test using delays for comb propagation instead of additional clock pulses

4 years agoAdd unit test for tXXDController
Jean THOMAS [Wed, 5 Aug 2020 12:54:30 +0000 (14:54 +0200)]
Add unit test for tXXDController

4 years agoFix AntiStarvation test
Jean THOMAS [Tue, 4 Aug 2020 15:24:51 +0000 (17:24 +0200)]
Fix AntiStarvation test

4 years agoFix exception condition
Jean THOMAS [Tue, 4 Aug 2020 13:57:38 +0000 (15:57 +0200)]
Fix exception condition

4 years agoRaise ValueError if the number of DQ pads is not a multiple of 8 (fixing #48)
Jean THOMAS [Tue, 4 Aug 2020 13:48:24 +0000 (15:48 +0200)]
Raise ValueError if the number of DQ pads is not a multiple of 8 (fixing #48)

4 years agoRaise ValueError if RefreshTimer period is unsupported (fixing #48)
Jean THOMAS [Tue, 4 Aug 2020 13:47:08 +0000 (15:47 +0200)]
Raise ValueError if RefreshTimer period is unsupported (fixing #48)

4 years agoRaise ValueError if anti-starvation timeout is unsupported (fixing #48)
Jean THOMAS [Tue, 4 Aug 2020 13:45:37 +0000 (15:45 +0200)]
Raise ValueError if anti-starvation timeout is unsupported (fixing #48)

4 years agoRaise ValueError if commands array isn't of len=4 (fixing #48)
Jean THOMAS [Tue, 4 Aug 2020 13:43:56 +0000 (15:43 +0200)]
Raise ValueError if commands array isn't of len=4 (fixing #48)

4 years agoSample data based on datavalid signal (fixes #47)
Jean THOMAS [Tue, 4 Aug 2020 13:37:08 +0000 (15:37 +0200)]
Sample data based on datavalid signal (fixes #47)

4 years agoRaise exception if no native port is present (fixing #48)
Jean THOMAS [Tue, 4 Aug 2020 13:27:40 +0000 (15:27 +0200)]
Raise exception if no native port is present (fixing #48)

4 years agoMake burstdet_reg reset-less
Jean THOMAS [Tue, 4 Aug 2020 12:14:24 +0000 (14:14 +0200)]
Make burstdet_reg reset-less

4 years agoFix simulation to support diff pairs
Jean THOMAS [Tue, 4 Aug 2020 11:24:11 +0000 (13:24 +0200)]
Fix simulation to support diff pairs

4 years agoFix sel signal used in wishbone frontend
Jean THOMAS [Tue, 4 Aug 2020 10:00:53 +0000 (12:00 +0200)]
Fix sel signal used in wishbone frontend

4 years agoDefault SEL to 1's if SEL=0 (fixes #43)
Jean THOMAS [Tue, 4 Aug 2020 09:29:28 +0000 (11:29 +0200)]
Default SEL to 1's if SEL=0 (fixes #43)

4 years agoRemove unused variable in wishbone frontend test
Jean THOMAS [Tue, 4 Aug 2020 09:28:50 +0000 (11:28 +0200)]
Remove unused variable in wishbone frontend test

4 years agoAdd additional tests for sel signal
Jean THOMAS [Mon, 3 Aug 2020 20:05:44 +0000 (22:05 +0200)]
Add additional tests for sel signal

4 years agoAdd more sel tests
Jean THOMAS [Mon, 3 Aug 2020 16:03:26 +0000 (18:03 +0200)]
Add more sel tests

4 years agoFix native port we signal (fixes #44)
Jean THOMAS [Mon, 3 Aug 2020 15:51:43 +0000 (17:51 +0200)]
Fix native port we signal (fixes #44)

4 years agoFix sel test
Jean THOMAS [Mon, 3 Aug 2020 15:51:13 +0000 (17:51 +0200)]
Fix sel test

4 years agoAdd test for wishbone sel signal
Jean THOMAS [Mon, 3 Aug 2020 15:47:09 +0000 (17:47 +0200)]
Add test for wishbone sel signal

4 years agoRevert to dqs_re from LiteDRAM
Jean THOMAS [Mon, 3 Aug 2020 11:46:34 +0000 (13:46 +0200)]
Revert to dqs_re from LiteDRAM

4 years agoUse const qualifier for gram_read/gram_write
Jean THOMAS [Mon, 3 Aug 2020 11:39:04 +0000 (13:39 +0200)]
Use const qualifier for gram_read/gram_write

4 years agoUpdate setup.py (based on LUNA)
Jean THOMAS [Mon, 3 Aug 2020 11:35:50 +0000 (13:35 +0200)]
Update setup.py (based on LUNA)

4 years agoUse mainstream ECPIX5 platform file (fixing #38)
Jean THOMAS [Mon, 3 Aug 2020 11:29:44 +0000 (13:29 +0200)]
Use mainstream ECPIX5 platform file (fixing #38)

4 years agoUse -Werror
Jean THOMAS [Mon, 3 Aug 2020 11:25:48 +0000 (13:25 +0200)]
Use -Werror

4 years agoFix memtest abort
Jean THOMAS [Mon, 3 Aug 2020 11:05:42 +0000 (13:05 +0200)]
Fix memtest abort

4 years agoAdd auto calibration result check, abort memtest if more than 10 fails
Jean THOMAS [Mon, 3 Aug 2020 11:02:07 +0000 (13:02 +0200)]
Add auto calibration result check, abort memtest if more than 10 fails

4 years agoDon't test the same rdly twice
Jean THOMAS [Mon, 3 Aug 2020 10:57:40 +0000 (12:57 +0200)]
Don't test the same rdly twice

4 years agoFix pointer bug
Jean THOMAS [Mon, 3 Aug 2020 10:57:24 +0000 (12:57 +0200)]
Fix pointer bug

4 years agoRemove we_n from xdr list
Jean THOMAS [Mon, 3 Aug 2020 10:45:01 +0000 (12:45 +0200)]
Remove we_n from xdr list

4 years agoAdd return value to gram_init
Jean THOMAS [Mon, 3 Aug 2020 10:38:52 +0000 (12:38 +0200)]
Add return value to gram_init

4 years agoRead delay calibration: return error codes
Jean THOMAS [Mon, 3 Aug 2020 10:38:28 +0000 (12:38 +0200)]
Read delay calibration: return error codes

4 years agoUse DiffPairs for DQS
Jean THOMAS [Mon, 3 Aug 2020 10:31:10 +0000 (12:31 +0200)]
Use DiffPairs for DQS

4 years agoFix warnings in libgram
Jean THOMAS [Mon, 3 Aug 2020 10:27:47 +0000 (12:27 +0200)]
Fix warnings in libgram

4 years agoCompile libgram in SourceHut builds
Jean THOMAS [Mon, 3 Aug 2020 10:02:04 +0000 (12:02 +0200)]
Compile libgram in SourceHut builds

4 years agoRemove comment
Jean THOMAS [Mon, 3 Aug 2020 09:41:26 +0000 (11:41 +0200)]
Remove comment

4 years agoRemove we_n in xdr list
Jean THOMAS [Mon, 3 Aug 2020 09:41:07 +0000 (11:41 +0200)]
Remove we_n in xdr list

4 years agoMake calibration a bit faster
Jean THOMAS [Mon, 3 Aug 2020 09:33:50 +0000 (11:33 +0200)]
Make calibration a bit faster

4 years agoFix typo
Jean THOMAS [Fri, 31 Jul 2020 11:57:59 +0000 (13:57 +0200)]
Fix typo

4 years agoRemove unused memtest
Jean THOMAS [Thu, 30 Jul 2020 16:59:04 +0000 (18:59 +0200)]
Remove unused memtest

4 years agoAdd calibration documentation
Jean THOMAS [Thu, 30 Jul 2020 16:53:23 +0000 (18:53 +0200)]
Add calibration documentation

4 years agoLoad calibration when initializing gram
Jean THOMAS [Thu, 30 Jul 2020 16:28:21 +0000 (18:28 +0200)]
Load calibration when initializing gram

4 years agoAdd rdly auto calibration
Jean THOMAS [Thu, 30 Jul 2020 16:27:33 +0000 (18:27 +0200)]
Add rdly auto calibration

4 years agoRemove DDR4 modules
Jean THOMAS [Thu, 30 Jul 2020 15:18:13 +0000 (17:18 +0200)]
Remove DDR4 modules

4 years agoFix output in gram_read_burstdet
Jean THOMAS [Thu, 30 Jul 2020 15:08:26 +0000 (17:08 +0200)]
Fix output in gram_read_burstdet

4 years agoAdd burstdet code
Jean THOMAS [Thu, 30 Jul 2020 15:03:45 +0000 (17:03 +0200)]
Add burstdet code

4 years agoRemove unnecessary volatile qualifier
Jean THOMAS [Thu, 30 Jul 2020 15:00:31 +0000 (17:00 +0200)]
Remove unnecessary volatile qualifier

4 years agoFix identation
Jean THOMAS [Thu, 30 Jul 2020 15:00:01 +0000 (17:00 +0200)]
Fix identation

4 years agoRemove write logging and change loop conditions
Jean THOMAS [Thu, 30 Jul 2020 14:59:41 +0000 (16:59 +0200)]
Remove write logging and change loop conditions

4 years agoFix identation
Jean THOMAS [Thu, 30 Jul 2020 14:59:07 +0000 (16:59 +0200)]
Fix identation

4 years agoRemove hardcoded MRx, use gramProfile instead
Jean THOMAS [Thu, 30 Jul 2020 14:58:31 +0000 (16:58 +0200)]
Remove hardcoded MRx, use gramProfile instead

4 years agoRemove memtest
Jean THOMAS [Thu, 30 Jul 2020 14:40:29 +0000 (16:40 +0200)]
Remove memtest

4 years agoRename gram_calibration_auto to gram_generate_calibration
Jean THOMAS [Thu, 30 Jul 2020 13:55:54 +0000 (15:55 +0200)]
Rename gram_calibration_auto to gram_generate_calibration

4 years agoAdd MRx mode registers to the gramProfile structure, rename gram_calibration_auto...
Jean THOMAS [Thu, 30 Jul 2020 13:55:20 +0000 (15:55 +0200)]
Add MRx mode registers to the gramProfile structure, rename gram_calibration_auto to gram_generate_calibration

4 years agoRemove main.img.bin target, add clean target
Jean THOMAS [Thu, 30 Jul 2020 13:53:13 +0000 (15:53 +0200)]
Remove main.img.bin target, add clean target

4 years agoSet default value for dram_rst
Jean THOMAS [Thu, 30 Jul 2020 13:52:39 +0000 (15:52 +0200)]
Set default value for dram_rst

4 years agoFix typo
Jean THOMAS [Thu, 30 Jul 2020 13:52:11 +0000 (15:52 +0200)]
Fix typo

4 years agoRemove iverilog, use Yosys/SymbiYosys from YoWASP
Jean THOMAS [Wed, 29 Jul 2020 17:47:59 +0000 (19:47 +0200)]
Remove iverilog, use Yosys/SymbiYosys from YoWASP

4 years agoIgnore sublime-workspace files
Jean THOMAS [Wed, 29 Jul 2020 16:50:48 +0000 (18:50 +0200)]
Ignore sublime-workspace files

4 years agoRemove datavalid signal
Jean THOMAS [Wed, 29 Jul 2020 16:49:50 +0000 (18:49 +0200)]
Remove datavalid signal

4 years agoFix peripheral addresses, improve memory testing
Jean THOMAS [Wed, 29 Jul 2020 16:09:47 +0000 (18:09 +0200)]
Fix peripheral addresses, improve memory testing

4 years agoAdd example SoC code
Jean THOMAS [Wed, 29 Jul 2020 16:01:48 +0000 (18:01 +0200)]
Add example SoC code

4 years agoFix code styling
Jean THOMAS [Wed, 29 Jul 2020 15:01:55 +0000 (17:01 +0200)]
Fix code styling

4 years agoEnsure sync2x and sync are in sync (fixes #20)
Jean THOMAS [Wed, 29 Jul 2020 14:46:25 +0000 (16:46 +0200)]
Ensure sync2x and sync are in sync (fixes #20)

4 years agoRevamp wishbone frontend (fixes #41), add tests
Jean THOMAS [Wed, 29 Jul 2020 14:17:50 +0000 (16:17 +0200)]
Revamp wishbone frontend (fixes #41), add tests

4 years agoExpose data_width
Jean THOMAS [Wed, 29 Jul 2020 14:16:55 +0000 (16:16 +0200)]
Expose data_width

4 years agoAdd more checks in delayed_enter
Jean THOMAS [Wed, 29 Jul 2020 14:16:30 +0000 (16:16 +0200)]
Add more checks in delayed_enter

4 years agoMatch SoC granularity with decoder granularity
Jean THOMAS [Wed, 29 Jul 2020 14:15:35 +0000 (16:15 +0200)]
Match SoC granularity with decoder granularity

4 years agoImport utils using the absolute module path
Jean THOMAS [Wed, 29 Jul 2020 10:01:50 +0000 (12:01 +0200)]
Import utils using the absolute module path

4 years agoUse RoundRobin implementation from nMigen
Jean THOMAS [Wed, 29 Jul 2020 09:28:33 +0000 (11:28 +0200)]
Use RoundRobin implementation from nMigen

4 years agoFix code formatting
Jean THOMAS [Tue, 28 Jul 2020 17:33:27 +0000 (19:33 +0200)]
Fix code formatting

4 years agoMake R/W tests more intense
Jean THOMAS [Tue, 28 Jul 2020 17:25:39 +0000 (19:25 +0200)]
Make R/W tests more intense

4 years agoAdd speedtest_write task
Jean THOMAS [Tue, 28 Jul 2020 17:25:18 +0000 (19:25 +0200)]
Add speedtest_write task

4 years agoRemove simticks
Jean THOMAS [Tue, 28 Jul 2020 17:25:00 +0000 (19:25 +0200)]
Remove simticks

4 years agoAdd speedtest_read task in testbench
Jean THOMAS [Tue, 28 Jul 2020 17:04:32 +0000 (19:04 +0200)]
Add speedtest_read task in testbench

4 years agoRemove unused resources
Jean THOMAS [Tue, 28 Jul 2020 15:51:41 +0000 (17:51 +0200)]
Remove unused resources

4 years agoRemove classes for read and write ports, add parameter check to gramNativePort
Jean THOMAS [Tue, 28 Jul 2020 15:47:49 +0000 (17:47 +0200)]
Remove classes for read and write ports, add  parameter check to gramNativePort

4 years agoRemove unused set_rdimm
Jean THOMAS [Tue, 28 Jul 2020 15:44:22 +0000 (17:44 +0200)]
Remove unused set_rdimm

4 years agoStop feeding DQSBUFM with constant 1 on its READx inputs
Jean THOMAS [Tue, 28 Jul 2020 15:42:29 +0000 (17:42 +0200)]
Stop feeding DQSBUFM with constant 1 on its READx inputs

4 years agoAdd _DelayLine test
Jean THOMAS [Tue, 28 Jul 2020 13:50:38 +0000 (15:50 +0200)]
Add _DelayLine test

4 years agoRename DelayLine -> _DelayLine
Jean THOMAS [Tue, 28 Jul 2020 13:35:33 +0000 (15:35 +0200)]
Rename DelayLine -> _DelayLine

4 years agoFix regressions from #ebe5cef
Jean THOMAS [Tue, 28 Jul 2020 13:33:43 +0000 (15:33 +0200)]
Fix regressions from #ebe5cef

4 years agoRemove unused imports
Jean THOMAS [Tue, 28 Jul 2020 13:09:12 +0000 (15:09 +0200)]
Remove unused imports

4 years agoUse any()/all() instead of reduce
Jean THOMAS [Tue, 28 Jul 2020 13:08:22 +0000 (15:08 +0200)]
Use any()/all() instead of reduce

4 years agoRemove unnecessary imports
Jean THOMAS [Tue, 28 Jul 2020 13:05:21 +0000 (15:05 +0200)]
Remove unnecessary imports

4 years agoSimplify tck expression
Jean THOMAS [Tue, 28 Jul 2020 12:08:33 +0000 (14:08 +0200)]
Simplify tck expression

4 years agoRemove wants_zqcs signal
Jean THOMAS [Tue, 28 Jul 2020 11:28:54 +0000 (13:28 +0200)]
Remove wants_zqcs signal

4 years agoFix regression in #14a2154
Jean THOMAS [Tue, 28 Jul 2020 10:18:00 +0000 (12:18 +0200)]
Fix regression in #14a2154

4 years agoRemove unused variable
Jean THOMAS [Mon, 27 Jul 2020 17:37:40 +0000 (19:37 +0200)]
Remove unused variable

4 years agoSimplify refresher code
Jean THOMAS [Mon, 27 Jul 2020 17:29:00 +0000 (19:29 +0200)]
Simplify refresher code

4 years agoAdd test for CommandChooser
Jean THOMAS [Mon, 27 Jul 2020 16:54:57 +0000 (18:54 +0200)]
Add test for CommandChooser

4 years agoImport Delay in gram tests
Jean THOMAS [Mon, 27 Jul 2020 16:54:23 +0000 (18:54 +0200)]
Import Delay in gram tests

4 years agoMention contrib/test_failfast in test README
Jean THOMAS [Mon, 27 Jul 2020 16:19:22 +0000 (18:19 +0200)]
Mention contrib/test_failfast in test README

4 years agoRemove unused event
Jean THOMAS [Mon, 27 Jul 2020 15:58:04 +0000 (17:58 +0200)]
Remove unused event

4 years agoRemove unusable test
Jean THOMAS [Mon, 27 Jul 2020 14:48:22 +0000 (16:48 +0200)]
Remove unusable test

4 years agoUse If instead of a Switch
Jean THOMAS [Mon, 27 Jul 2020 14:41:58 +0000 (16:41 +0200)]
Use If instead of a Switch

4 years agoFix wrong T1 signal
Jean THOMAS [Mon, 27 Jul 2020 14:41:29 +0000 (16:41 +0200)]
Fix wrong T1 signal