gram.git
4 years agoDefine PLL's PHASELOADREG input
Jean THOMAS [Mon, 29 Jun 2020 12:46:59 +0000 (14:46 +0200)]
Define PLL's PHASELOADREG input

4 years agoUse -n option in vvp to enable CTRL+C
Jean THOMAS [Mon, 29 Jun 2020 12:40:55 +0000 (14:40 +0200)]
Use -n option in vvp to enable CTRL+C

4 years agoFix PLL instanciation code for CRG simulation
Jean THOMAS [Mon, 29 Jun 2020 12:37:02 +0000 (14:37 +0200)]
Fix PLL instanciation code for CRG simulation

4 years agoDump whole module
Jean THOMAS [Mon, 29 Jun 2020 12:36:39 +0000 (14:36 +0200)]
Dump whole module

4 years agoFix DQSBUFM floating DYNDELAY
Jean THOMAS [Mon, 29 Jun 2020 12:35:45 +0000 (14:35 +0200)]
Fix DQSBUFM floating DYNDELAY

4 years agoSet DRAM's CK_N to low
Jean THOMAS [Mon, 29 Jun 2020 12:29:51 +0000 (14:29 +0200)]
Set DRAM's CK_N to low

4 years agoFix autopep8 madness
Jean THOMAS [Mon, 29 Jun 2020 12:27:52 +0000 (14:27 +0200)]
Fix autopep8 madness

4 years agoUse BB instead of TRELLIS_IO
Jean THOMAS [Mon, 29 Jun 2020 12:26:51 +0000 (14:26 +0200)]
Use BB instead of TRELLIS_IO

4 years agoFix CRG, revert to resetful sync domain
Jean THOMAS [Mon, 29 Jun 2020 12:25:45 +0000 (14:25 +0200)]
Fix CRG, revert to resetful sync domain

4 years agoSet UART RX to 1'b1
Jean THOMAS [Mon, 29 Jun 2020 12:25:19 +0000 (14:25 +0200)]
Set UART RX to 1'b1

4 years agoAdd -Wall to simulations
Jean THOMAS [Mon, 29 Jun 2020 12:24:33 +0000 (14:24 +0200)]
Add -Wall to simulations

4 years agoAdd testbench for SoC simulation
Jean THOMAS [Fri, 26 Jun 2020 14:41:55 +0000 (16:41 +0200)]
Add testbench for SoC simulation

4 years agoUse FST instead of VCD
Jean THOMAS [Fri, 26 Jun 2020 14:41:31 +0000 (16:41 +0200)]
Use FST instead of VCD

4 years agoExclude .fst files
Jean THOMAS [Fri, 26 Jun 2020 14:41:17 +0000 (16:41 +0200)]
Exclude .fst files

4 years agoAdd DDRSoC simulation
Jean THOMAS [Fri, 26 Jun 2020 13:20:34 +0000 (15:20 +0200)]
Add DDRSoC simulation

4 years agoAdd gitignore for simulation folder
Jean THOMAS [Fri, 26 Jun 2020 13:19:52 +0000 (15:19 +0200)]
Add gitignore for simulation folder

4 years agoFix PLL code
Jean THOMAS [Fri, 26 Jun 2020 13:19:06 +0000 (15:19 +0200)]
Fix PLL code

4 years agoAdd DRAM model
Jean THOMAS [Fri, 26 Jun 2020 10:00:36 +0000 (12:00 +0200)]
Add DRAM model

4 years agoFix typo
Jean THOMAS [Thu, 25 Jun 2020 20:29:41 +0000 (22:29 +0200)]
Fix typo

4 years agoAdd simulation code
Jean THOMAS [Thu, 25 Jun 2020 19:00:20 +0000 (21:00 +0200)]
Add simulation code

4 years agoAdd README.md for gram tests
Jean THOMAS [Thu, 25 Jun 2020 13:10:50 +0000 (15:10 +0200)]
Add README.md for gram tests

4 years agoAdd rddata_en, wrdata_mask tests
Jean THOMAS [Thu, 25 Jun 2020 11:47:43 +0000 (13:47 +0200)]
Add rddata_en, wrdata_mask tests

4 years agoAdd wrdata, wrdata_en tests to Phase Injector unit tests
Jean THOMAS [Thu, 25 Jun 2020 11:40:04 +0000 (13:40 +0200)]
Add wrdata, wrdata_en tests to Phase Injector unit tests

4 years agoFix R/W permissions to the bare minimum
Jean THOMAS [Thu, 25 Jun 2020 10:50:45 +0000 (12:50 +0200)]
Fix R/W permissions to the bare minimum

4 years agoSet UART bridge SEL signals to 0xF
Jean THOMAS [Thu, 25 Jun 2020 10:35:36 +0000 (12:35 +0200)]
Set UART bridge SEL signals to 0xF

4 years agoAdd Wishbone read/write helpers
Jean THOMAS [Thu, 25 Jun 2020 10:32:49 +0000 (12:32 +0200)]
Add Wishbone read/write helpers

4 years agoUse constants for CSR addresses
Jean THOMAS [Thu, 25 Jun 2020 10:32:36 +0000 (12:32 +0200)]
Use constants for CSR addresses

4 years agoAdd bank address test
Jean THOMAS [Thu, 25 Jun 2020 10:28:48 +0000 (12:28 +0200)]
Add bank address test

4 years agoFix DFII testing, test address set
Jean THOMAS [Thu, 25 Jun 2020 10:26:25 +0000 (12:26 +0200)]
Fix DFII testing, test address set

4 years agoAdd buggy test for DFII
Jean THOMAS [Wed, 24 Jun 2020 16:53:01 +0000 (18:53 +0200)]
Add buggy test for DFII

4 years agoFix CSR issue in PhaseInjector (r_data used for reading host data)
Jean THOMAS [Wed, 24 Jun 2020 15:59:50 +0000 (17:59 +0200)]
Fix CSR issue in PhaseInjector (r_data used for reading host data)

4 years agoFix CSR issue in DFII (r_data used for reading host data)
Jean THOMAS [Wed, 24 Jun 2020 15:56:31 +0000 (17:56 +0200)]
Fix CSR issue in DFII (r_data used for reading host data)

4 years agoSimply arbiter when there is only 1 request to arbitrate
Jean THOMAS [Wed, 24 Jun 2020 08:56:21 +0000 (10:56 +0200)]
Simply arbiter when there is only 1 request to arbitrate

4 years agoEnsure we have at least one master
Jean THOMAS [Wed, 24 Jun 2020 08:34:39 +0000 (10:34 +0200)]
Ensure we have at least one master

4 years agoOnly declare wants_zqcs signal if needed
Jean THOMAS [Tue, 23 Jun 2020 19:50:44 +0000 (21:50 +0200)]
Only declare wants_zqcs signal if needed

4 years agoSimplify connections from refreshers to IOs (not FSM state dependent anymore)
Jean THOMAS [Tue, 23 Jun 2020 19:16:12 +0000 (21:16 +0200)]
Simplify connections from refreshers to IOs (not FSM state dependent anymore)

4 years agoRefactor test code
Jean THOMAS [Tue, 23 Jun 2020 15:37:26 +0000 (17:37 +0200)]
Refactor test code

4 years agoFix DFII bitfield constants
Jean THOMAS [Tue, 23 Jun 2020 14:10:12 +0000 (16:10 +0200)]
Fix DFII bitfield constants

4 years agoFix public libgram header
Jean THOMAS [Tue, 23 Jun 2020 14:09:17 +0000 (16:09 +0200)]
Fix public libgram header

4 years agoCompile libgram as C99 code
Jean THOMAS [Tue, 23 Jun 2020 14:09:04 +0000 (16:09 +0200)]
Compile libgram as C99 code

4 years agoFix typo in GramWidth enum declaration
Jean THOMAS [Tue, 23 Jun 2020 12:44:05 +0000 (14:44 +0200)]
Fix typo in GramWidth enum declaration

4 years agoFix ZQCSExecuter (set a signal to the proper size), and fix ba in both ZQCSExecuter...
Jean THOMAS [Tue, 23 Jun 2020 11:56:31 +0000 (13:56 +0200)]
Fix ZQCSExecuter (set a signal to the proper size), and fix ba in both ZQCSExecuter, RefreshSequencer and RefreshExecuter

4 years agoRefresher: fix a address size (fixes #14)
Jean THOMAS [Tue, 23 Jun 2020 11:48:44 +0000 (13:48 +0200)]
Refresher: fix a address size (fixes #14)

4 years agoRemove shadowing statement
Jean THOMAS [Mon, 22 Jun 2020 16:02:42 +0000 (18:02 +0200)]
Remove shadowing statement

4 years agoReplace bits_for with range
Jean THOMAS [Mon, 22 Jun 2020 15:54:05 +0000 (17:54 +0200)]
Replace bits_for with range

4 years agoRemove code for hybrid formal proof, unused
Jean THOMAS [Mon, 22 Jun 2020 15:51:31 +0000 (17:51 +0200)]
Remove code for hybrid formal proof, unused

4 years agoRollback to the ECP5 P/N used in ECPIX-5
Jean THOMAS [Mon, 22 Jun 2020 14:00:31 +0000 (16:00 +0200)]
Rollback to the ECP5 P/N used in ECPIX-5

4 years agoFix pinout
Jean THOMAS [Mon, 22 Jun 2020 13:18:26 +0000 (15:18 +0200)]
Fix pinout

4 years agoUse TRELLIS_IO instead of BB in ECP5 PHY
Jean THOMAS [Mon, 22 Jun 2020 13:18:03 +0000 (15:18 +0200)]
Use TRELLIS_IO instead of BB in ECP5 PHY

4 years agoUpdate memtest code in libgram
Jean THOMAS [Fri, 19 Jun 2020 13:51:10 +0000 (15:51 +0200)]
Update memtest code in libgram

4 years agoRemove tests from gram.compat
Jean THOMAS [Fri, 19 Jun 2020 12:27:22 +0000 (14:27 +0200)]
Remove tests from gram.compat

4 years agoMove tests to a dedicated folder
Jean THOMAS [Fri, 19 Jun 2020 10:14:58 +0000 (12:14 +0200)]
Move tests to a dedicated folder

4 years agoAdd unit tests for delayed_enter
Jean THOMAS [Thu, 18 Jun 2020 22:38:14 +0000 (00:38 +0200)]
Add unit tests for delayed_enter

4 years agoAdd test case for delayed_enter
Jean THOMAS [Thu, 18 Jun 2020 17:08:44 +0000 (19:08 +0200)]
Add test case for delayed_enter

4 years agoUse BB instance for bidirectionnal IOs
Jean THOMAS [Thu, 18 Jun 2020 15:18:56 +0000 (17:18 +0200)]
Use BB instance for bidirectionnal IOs

4 years agoRemove lambdasoc dependency from UARTBridge
Jean THOMAS [Wed, 17 Jun 2020 14:56:50 +0000 (16:56 +0200)]
Remove lambdasoc dependency from UARTBridge

4 years agoRollback PHY changes, use raw pins
Jean THOMAS [Wed, 17 Jun 2020 13:33:44 +0000 (15:33 +0200)]
Rollback PHY changes, use raw pins

4 years agoPartially fix the tristate IOs on DDR3 RAM
Jean THOMAS [Tue, 16 Jun 2020 16:28:11 +0000 (18:28 +0200)]
Partially fix the tristate IOs on DDR3 RAM

4 years agoFix oMigen cases and resource syntax
Jean THOMAS [Tue, 16 Jun 2020 14:33:28 +0000 (16:33 +0200)]
Fix oMigen cases and resource syntax

4 years agoFix old CSRStatus code
Jean THOMAS [Tue, 16 Jun 2020 14:29:29 +0000 (16:29 +0200)]
Fix old CSRStatus code

4 years agoFix variable read as an attribute
Jean THOMAS [Tue, 16 Jun 2020 14:26:35 +0000 (16:26 +0200)]
Fix variable read as an attribute

4 years agoUpdate switch to nMigen syntax
Jean THOMAS [Tue, 16 Jun 2020 14:23:55 +0000 (16:23 +0200)]
Update switch to nMigen syntax

4 years agoFix CSR attribute error
Jean THOMAS [Tue, 16 Jun 2020 14:21:47 +0000 (16:21 +0200)]
Fix CSR attribute error

4 years agoFix CSR attribute error
Jean THOMAS [Tue, 16 Jun 2020 14:20:32 +0000 (16:20 +0200)]
Fix CSR attribute error

4 years agoFix pin count error (related to #9)
Jean THOMAS [Tue, 16 Jun 2020 14:05:46 +0000 (16:05 +0200)]
Fix pin count error (related to #9)

4 years agoFix pin count error (related to #9)
Jean THOMAS [Tue, 16 Jun 2020 14:04:27 +0000 (16:04 +0200)]
Fix pin count error (related to #9)

4 years agoExclude contrib/ and libgram/ from package installation
Jean THOMAS [Tue, 16 Jun 2020 13:40:53 +0000 (15:40 +0200)]
Exclude contrib/ and libgram/ from package installation

4 years agoPulse trigger signal rather than continuous trigger in Timeline test
Jean THOMAS [Tue, 16 Jun 2020 10:17:47 +0000 (12:17 +0200)]
Pulse trigger signal rather than continuous trigger in Timeline test

4 years agoAdd testing for Timeline elaboratable
Jean THOMAS [Tue, 16 Jun 2020 10:12:31 +0000 (12:12 +0200)]
Add testing for Timeline elaboratable

4 years agoRemove VCD files
Jean THOMAS [Tue, 16 Jun 2020 10:05:48 +0000 (12:05 +0200)]
Remove VCD files

4 years agoRemove unused code
Jean THOMAS [Tue, 16 Jun 2020 08:32:59 +0000 (10:32 +0200)]
Remove unused code

4 years agoReformulate GRAM_RW_FUNC section
Jean THOMAS [Tue, 16 Jun 2020 08:32:28 +0000 (10:32 +0200)]
Reformulate GRAM_RW_FUNC section

4 years agoAdd example code for headless SoC
Jean THOMAS [Tue, 16 Jun 2020 07:59:11 +0000 (09:59 +0200)]
Add example code for headless SoC

4 years agoAllow libgram to run outside a SoC
Jean THOMAS [Tue, 16 Jun 2020 07:55:49 +0000 (09:55 +0200)]
Allow libgram to run outside a SoC

4 years agoFix autopep8 madness
Jean THOMAS [Mon, 15 Jun 2020 13:35:40 +0000 (15:35 +0200)]
Fix autopep8 madness

4 years agonMigen workaround: put default case at the end of the Switch
Jean THOMAS [Mon, 15 Jun 2020 13:34:37 +0000 (15:34 +0200)]
nMigen workaround: put default case at the end of the Switch

4 years agoInclude dash in compiler prefix variable
Jean THOMAS [Mon, 15 Jun 2020 13:34:02 +0000 (15:34 +0200)]
Include dash in compiler prefix variable

4 years agoFix clock signal for ECP5 PHY
Jean THOMAS [Fri, 12 Jun 2020 10:42:22 +0000 (12:42 +0200)]
Fix clock signal for ECP5 PHY

4 years agoFix readout issue in Wishbone bridge (mentionned in #8)
Jean THOMAS [Fri, 12 Jun 2020 10:41:41 +0000 (12:41 +0200)]
Fix readout issue in Wishbone bridge (mentionned in #8)

4 years agoAdd while(1) loop to firmware
Jean THOMAS [Fri, 12 Jun 2020 10:40:34 +0000 (12:40 +0200)]
Add while(1) loop to firmware

4 years agoExpose native port directly
Jean THOMAS [Fri, 12 Jun 2020 10:35:21 +0000 (12:35 +0200)]
Expose native port directly

4 years agoFix default clock domain for gramNativePort
Jean THOMAS [Fri, 12 Jun 2020 10:34:39 +0000 (12:34 +0200)]
Fix default clock domain for gramNativePort

4 years agoFix autopep8 madness
Jean THOMAS [Fri, 12 Jun 2020 07:50:49 +0000 (09:50 +0200)]
Fix autopep8 madness

4 years agoRemove unused legacy attributes (fixes #3)
Jean THOMAS [Thu, 11 Jun 2020 16:48:02 +0000 (18:48 +0200)]
Remove unused legacy attributes (fixes #3)

4 years agoAdd no_retiming attribute
Jean THOMAS [Thu, 11 Jun 2020 16:11:11 +0000 (18:11 +0200)]
Add no_retiming attribute

4 years agoAllow longer lines
Jean THOMAS [Thu, 11 Jun 2020 15:57:48 +0000 (17:57 +0200)]
Allow longer lines

4 years agoRename sys2x to sync2x
Jean THOMAS [Thu, 11 Jun 2020 13:32:25 +0000 (15:32 +0200)]
Rename sys2x to sync2x

4 years agoRemove unused code
Jean THOMAS [Thu, 11 Jun 2020 12:37:45 +0000 (14:37 +0200)]
Remove unused code

4 years agoFix comparison value
Jean THOMAS [Thu, 11 Jun 2020 11:10:27 +0000 (13:10 +0200)]
Fix comparison value

4 years agoMake memory test code more verbose
Jean THOMAS [Thu, 11 Jun 2020 10:58:34 +0000 (12:58 +0200)]
Make memory test code more verbose

4 years agoFix write signal name for CSR (fixes #5)
Jean THOMAS [Thu, 11 Jun 2020 10:31:09 +0000 (12:31 +0200)]
Fix write signal name for CSR (fixes #5)

4 years agoRemove old commented code
Jean THOMAS [Thu, 11 Jun 2020 10:12:20 +0000 (12:12 +0200)]
Remove old commented code

4 years agoRestrict exposed classes
Jean THOMAS [Thu, 11 Jun 2020 09:54:07 +0000 (11:54 +0200)]
Restrict exposed classes

4 years agoAdd default case for _DownConverter Switch
Jean THOMAS [Thu, 11 Jun 2020 09:50:56 +0000 (11:50 +0200)]
Add default case for _DownConverter Switch

4 years agoMake non gram_* symbols local symbols (fixes #2)
Jean THOMAS [Thu, 11 Jun 2020 09:49:51 +0000 (11:49 +0200)]
Make non gram_* symbols local symbols (fixes #2)

4 years agoRemove SDR/DDR/DDR2 modules (unsupported)
Jean THOMAS [Wed, 10 Jun 2020 15:25:20 +0000 (17:25 +0200)]
Remove SDR/DDR/DDR2 modules (unsupported)

4 years agoRemove get_csrs() (useless)
Jean THOMAS [Wed, 10 Jun 2020 15:09:33 +0000 (17:09 +0200)]
Remove get_csrs() (useless)

4 years agoAdd test firmware
Jean THOMAS [Wed, 10 Jun 2020 14:51:03 +0000 (16:51 +0200)]
Add test firmware

4 years agoAdd link to LambdaConcept website
Jean THOMAS [Wed, 10 Jun 2020 14:04:06 +0000 (16:04 +0200)]
Add link to LambdaConcept website

4 years agoRemove unused files
Jean THOMAS [Wed, 10 Jun 2020 13:51:21 +0000 (15:51 +0200)]
Remove unused files