Commit Graph

496 Commits

Author SHA1 Message Date
Florent Kermarrec 4e2b596ab3 digilent_arty/qmtech_xc7a35t: Rename --with-mapped-flash to --with-spi-flash. 2021-07-28 11:21:51 +02:00
Florent Kermarrec fa3cc9b753 kosagi_fomu/spiflash: Switch to READ_1_1_4. 2021-07-28 11:10:34 +02:00
Florent Kermarrec 1118b09350 trenz_tec0117: Switch to LiteSPI. 2021-07-28 10:34:17 +02:00
Florent Kermarrec 9065cfa75d kosagi_fomu: Switch to LiteSPI. 2021-07-27 19:55:04 +02:00
Florent Kermarrec b3e7dbfd30 qmtech_xc7a35t: LiteSPI integration now provided by LiteX. 2021-07-27 19:39:50 +02:00
Florent Kermarrec 55ba0591df targets: Remove SpiFlash imports (Obsolete since integration is provided by LiteX). 2021-07-27 19:35:19 +02:00
Florent Kermarrec 1c52e6b8fb targets/digilent_arty/spiflash: LiteSPI integration now provided by LiteX. 2021-07-27 19:30:38 +02:00
Florent Kermarrec 15b5aec23f 1bitsquared_icebreaker_bitsy: Also switch to LiteSPI. 2021-07-27 19:27:28 +02:00
Florent Kermarrec 959780f372 1bitsquared_icebreaker: Switch to LiteSPI (with integration now done by LiteX).
Keep the old add_spi_flash call commented for now just in case we need to compare/test it.
2021-07-27 19:23:26 +02:00
Florent Kermarrec 533d25e845 1bitsquared_icebreaker: Enable LiteSPI Master but reduce FIFO depth to reduce resource usage.
Already better regarding resource usage:
Info: 	         ICESTORM_LC:  2938/ 5280    55%
Info: 	        ICESTORM_RAM:     2/   30     6%
Info: 	               SB_IO:    15/   96    15%
Info: 	               SB_GB:     8/    8   100%
Info: 	        ICESTORM_PLL:     1/    1   100%
Info: 	         SB_WARMBOOT:     0/    1     0%
Info: 	        ICESTORM_DSP:     0/    8     0%
Info: 	      ICESTORM_HFOSC:     0/    1     0%
Info: 	      ICESTORM_LFOSC:     0/    1     0%
Info: 	              SB_I2C:     0/    2     0%
Info: 	              SB_SPI:     0/    2     0%
Info: 	              IO_I3C:     0/    2     0%
Info: 	         SB_LEDDA_IP:     0/    1     0%
Info: 	         SB_RGBA_DRV:     0/    1     0%
Info: 	      ICESTORM_SPRAM:     4/    4   100%
2021-07-27 17:38:25 +02:00
Florent Kermarrec 12fb315e09 1bitsquared_icebreaker: Disable LiteSPI Master.
Requires 80e9d2cea9

Already better regarding resource usage:

Info: 	         ICESTORM_LC:  2358/ 5280    44%
Info: 	        ICESTORM_RAM:     2/   30     6%
Info: 	               SB_IO:    15/   96    15%
Info: 	               SB_GB:     8/    8   100%
Info: 	        ICESTORM_PLL:     1/    1   100%
Info: 	         SB_WARMBOOT:     0/    1     0%
Info: 	        ICESTORM_DSP:     0/    8     0%
Info: 	      ICESTORM_HFOSC:     0/    1     0%
Info: 	      ICESTORM_LFOSC:     0/    1     0%
Info: 	              SB_I2C:     0/    2     0%
Info: 	              SB_SPI:     0/    2     0%
Info: 	              IO_I3C:     0/    2     0%
Info: 	         SB_LEDDA_IP:     0/    1     0%
Info: 	         SB_RGBA_DRV:     0/    1     0%
Info: 	      ICESTORM_SPRAM:     4/    4   100%

We can still try to reduce it, but enabling Master should not use that much LCs.
2021-07-27 17:00:55 +02:00
Florent Kermarrec 0f648ac4ef 1bitsquared_icebreaker: Add test code to use LiteSPI.
Both XiP from SPI(1X) or QSPI(4X) are working, but resource usage is currently
too high to be able to switch to it by default. We'll first try to reduce it.

Resource usage using SPI(1X) and actual LiteX SPI Flash core:
Info: Device utilisation:
Info: 	         ICESTORM_LC:  2016/ 5280    38%
Info: 	        ICESTORM_RAM:     2/   30     6%
Info: 	               SB_IO:    15/   96    15%
Info: 	               SB_GB:     8/    8   100%
Info: 	        ICESTORM_PLL:     1/    1   100%
Info: 	         SB_WARMBOOT:     0/    1     0%
Info: 	        ICESTORM_DSP:     0/    8     0%
Info: 	      ICESTORM_HFOSC:     0/    1     0%
Info: 	      ICESTORM_LFOSC:     0/    1     0%
Info: 	              SB_I2C:     0/    2     0%
Info: 	              SB_SPI:     0/    2     0%
Info: 	              IO_I3C:     0/    2     0%
Info: 	         SB_LEDDA_IP:     0/    1     0%
Info: 	         SB_RGBA_DRV:     0/    1     0%
Info: 	      ICESTORM_SPRAM:     4/    4   100%


Resource usage using LiteSPI:
Info: Device utilisation:
Info: 	         ICESTORM_LC:  3964/ 5280    75%
Info: 	        ICESTORM_RAM:     2/   30     6%
Info: 	               SB_IO:    15/   96    15%
Info: 	               SB_GB:     8/    8   100%
Info: 	        ICESTORM_PLL:     1/    1   100%
Info: 	         SB_WARMBOOT:     0/    1     0%
Info: 	        ICESTORM_DSP:     0/    8     0%
Info: 	      ICESTORM_HFOSC:     0/    1     0%
Info: 	      ICESTORM_LFOSC:     0/    1     0%
Info: 	              SB_I2C:     0/    2     0%
Info: 	              SB_SPI:     0/    2     0%
Info: 	              IO_I3C:     0/    2     0%
Info: 	         SB_LEDDA_IP:     0/    1     0%
Info: 	         SB_RGBA_DRV:     0/    1     0%
Info: 	      ICESTORM_SPRAM:     4/    4   100%
2021-07-27 16:50:18 +02:00
Florent Kermarrec 0ca203487b pr243: Make led_chaser optional. 2021-07-27 15:00:18 +02:00
Florent Kermarrec 9835bd5f93 targets/muselab_icesugar_pro: +x. 2021-07-27 14:56:33 +02:00
Florent Kermarrec 2df3f9e664 pr243/platforms: Consistency with other platforms. 2021-07-27 14:55:19 +02:00
Florent Kermarrec 2418df9f2b pr243: Add @tweakoz copyrights. 2021-07-27 12:21:23 +02:00
enjoy-digital 369d2cf49d
Merge pull request #243 from tweakoz/master
add FPGA Boards (Digilent CMOD A7, Digilent Nexys 4, Micronova Mercury2)
2021-07-27 12:17:04 +02:00
Florent Kermarrec 10bfd50e22 targets/1bitsquared_icebreaker: Revert to 128KB SPRAM. 2021-07-27 12:03:39 +02:00
enjoy-digital 4d20cfe5cd
Merge pull request #245 from racerxdl/feat/MuselabIceSugarPro
muselab_icesugar_pro: initial support
2021-07-23 14:34:57 +02:00
Lucas Teske 5852dbb88f
muselab_icesugar_pro: initial support 2021-07-22 11:26:27 -03:00
Florent Kermarrec a3f479837c digilent_arty: Allow exposing raw PMOD IOs (for tests with MicroPython). 2021-07-21 13:50:12 +02:00
Florent Kermarrec a455713e0c kosagi_fomu: Handle bios_flash_offset in flash function and make DFU flash offset explicit. 2021-07-21 11:41:35 +02:00
enjoy-digital fbcecee1f8
Merge pull request #242 from tcal-x/fix-basys3-rst
Basys3: Invert reset button, so that the board is reset when btnc is pushed.
2021-07-20 19:47:53 +02:00
Florent Kermarrec 8c8e163eee trenz_tec0117: Add SDCard (SPI and SD mode), move SPI Flash to 0x00000000 and use default l2_cache_min_data_width. 2021-07-20 17:25:51 +02:00
Michael Mayers 75cadf845f add FPGA Boards
1.  Digilent CMOD A7
      https://reference.digilentinc.com/programmable-logic/cmod-a7/start

2. Digilent Nexys 4
      https://reference.digilentinc.com/programmable-logic/nexys-4/start

3. MicroNova Mercury 2
      https://www.micro-nova.com/mercury-2
2021-07-17 22:03:17 -06:00
Tim Callahan 5da2bdefb7 Invert reset button, so that board is reset when btn is pushed.
Signed-off-by: Tim Callahan <tcal@google.com>
2021-07-16 13:08:18 -07:00
enjoy-digital 4b48f15265
Merge pull request #236 from JosephBushagour/jbushagour_with_led_chaser
Add with_led_chaser argument to constructor of boards using LedChaser submodule.
2021-07-16 14:41:05 +02:00
Florent Kermarrec 6648b2f907 targets/trenz_tec0117: Switch SPI Flash to QSPI mode. 2021-07-15 09:15:34 +02:00
Florent Kermarrec c369f4bb7f trenz_tec0117: Get BIOS XiP from SPI Flash working, remove CPU variant force since can now fit default VexRiscv config. 2021-07-14 12:49:03 +02:00
Florent Kermarrec 132feaf3e8 trenz_tec0117: Prepare for 1:2 SDRAM rate (Not yet working at 1:2 but one step closer...). 2021-07-14 10:43:26 +02:00
Florent Kermarrec ba8321a3ab trenz_tec0117: Use new DDROutput to generate SDRAM Clk. 2021-07-14 10:02:58 +02:00
Florent Kermarrec 94b985ac56 trenz_tec0117: Use new integrated reset from GW1NPLL. 2021-07-14 09:55:00 +02:00
Florent Kermarrec 6e31d12fa9 trenz_tec0117: Avoid forcing CPU type (only force to lite variant when VexRiscv is selected=default). 2021-07-13 19:39:53 +02:00
Joey Bushagour 1920db3535 Add with_led_chaser argument to constructor of boards using LedChaser submodule. 2021-07-06 16:39:37 -05:00
Florent Kermarrec 8c1e6c6a02 decklink_quad_hdmi_recorder: Remove WIP (SoC + DDR3 now working) and add build/use instructions. 2021-07-02 15:54:57 +02:00
Florent Kermarrec 2dff854b7a decklink_quad_hdmi_recorder: Enable second DDR3 module. 2021-07-02 15:52:12 +02:00
Florent Kermarrec a02855d105 decklink_quad_hdmi_recorder: Increase sys_clk to 200MHz. 2021-07-02 15:07:13 +02:00
Florent Kermarrec b18f6a2c7f decklink_quad_hdmi_recorder: Enable DRAM modules 0 and 1, fix pre placement constraints. 2021-07-02 14:32:53 +02:00
Florent Kermarrec 7442639a5e targets/digilent_arty: Add default value for CRG's with_mapped_flash.
Otherwise break retro-compat on external design importing CRG without passing this new parameter.
2021-07-02 09:33:06 +02:00
Florent Kermarrec 1b65bad4c2 decklink_quad_hdmi: Add Clk IOs, use clk200 as primary clk and add JTAGBone. 2021-07-01 20:00:35 +02:00
Florent Kermarrec e65308ee13 decklink_quad_hdmi_recorder: Add DDR3 SDRAM (only first module), building but untested. 2021-06-30 09:40:08 +02:00
Florent Kermarrec 84cb5d797d decklink_intensity_pro_4k: Add WIP. 2021-06-30 09:06:00 +02:00
Florent Kermarrec ebfb4fad57 Add initial Decklink Intensity Pro 4K support (with documented PCIe / Untested). 2021-06-24 19:55:40 +02:00
Florent Kermarrec 5f8560bf69 Add initial Decklink Quad HDMI Recorder support (with documented PCIe/HDMI In).
LitePCIe Gen3 X4 enumerating correctly.
2021-06-24 19:48:31 +02:00
Florent Kermarrec 8ec1435e65 targets/decklink_mini_4k: Fix typos. 2021-06-24 19:13:18 +02:00
Sylvain Munaut 87cd56d187 targets: Add new 1bitsquared_icebreaker_bitsy target
Most basic SoC ever but ... it runs

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2021-06-21 22:11:53 +02:00
Florent Kermarrec caac75c7db trenz_max1000: Review/Cleanup. 2021-06-16 18:04:55 +02:00
Antti Lukats 8ef138eaa0 added MAX1000 board 2021-06-16 17:55:06 +02:00
Florent Kermarrec fa045e6fa4 enclustra_mercury_kx2: Comment user_led2/3 (Conflicting with DRAM pins). 2021-06-16 11:54:52 +02:00
enjoy-digital 588b430a0c
Merge pull request #217 from hansfbaier/master
QMTech EP4CE15: Add daughterboard support, small DECA addition
2021-05-25 10:15:26 +02:00