litex.git
9 years agocpuif: add CSR_ prefix to CSR base addresses (avoid conflicts between CSR and mems...
Florent Kermarrec [Mon, 2 Mar 2015 11:25:59 +0000 (12:25 +0100)]
cpuif: add CSR_ prefix to CSR base addresses (avoid conflicts between CSR and mems bases)

9 years agosdram: only keep frontend logic and sdram core declaration in soc/sdram.py, move...
Florent Kermarrec [Mon, 2 Mar 2015 11:05:50 +0000 (12:05 +0100)]
sdram: only keep frontend logic and sdram core declaration in soc/sdram.py, move other logic to sdram/core

9 years agosoc/sdram: be more generic in naming
Florent Kermarrec [Mon, 2 Mar 2015 10:55:28 +0000 (11:55 +0100)]
soc/sdram: be more generic in naming

9 years agosdram: create core dir and move lasmicon/minicon in it
Florent Kermarrec [Mon, 2 Mar 2015 10:35:53 +0000 (11:35 +0100)]
sdram: create core dir and move lasmicon/minicon in it

9 years agosdram: rename self.phy_settings to self.settings (using phy.settings instead of phy...
Florent Kermarrec [Mon, 2 Mar 2015 10:21:13 +0000 (11:21 +0100)]
sdram: rename self.phy_settings to self.settings (using phy.settings instead of phy.phy_settings seems cleaner)

9 years agosdram: reintroduce dat_ack change (it was a small issue on wishbone writes (sending...
Florent Kermarrec [Mon, 2 Mar 2015 09:59:43 +0000 (10:59 +0100)]
sdram: reintroduce dat_ack change (it was a small issue on wishbone writes (sending data 1 clock cycle too late) that was not detected by memtest)

9 years agosdram: improve memtest by adding 2 different writes/reads
Florent Kermarrec [Mon, 2 Mar 2015 09:51:53 +0000 (10:51 +0100)]
sdram: improve memtest by adding 2 different writes/reads
doing only a write and read is not enough: if we reloaded a fpga with write that is not working after functional fpga, it would not trigger an error.

9 years agosdram: for now revert dat_ack change (it seems there is an small issue, will have...
Florent Kermarrec [Mon, 2 Mar 2015 09:28:53 +0000 (10:28 +0100)]
sdram: for now revert dat_ack change (it seems there is an small issue, will have a closer look)

9 years agosdram/lasmicon: create a separate file for the crossbar and remove it from lasmibus
Florent Kermarrec [Mon, 2 Mar 2015 08:18:32 +0000 (09:18 +0100)]
sdram/lasmicon: create a separate file for the crossbar and remove it from lasmibus

9 years agosdram: move dfii to phy
Florent Kermarrec [Mon, 2 Mar 2015 08:08:28 +0000 (09:08 +0100)]
sdram: move dfii to phy

9 years agosdram: fix remaining data_valid in dma_lasmi
Florent Kermarrec [Mon, 2 Mar 2015 08:05:18 +0000 (09:05 +0100)]
sdram: fix remaining data_valid in dma_lasmi

9 years agosdram: create test dir and move lasmicon/minicon tests to it
Florent Kermarrec [Mon, 2 Mar 2015 07:42:55 +0000 (08:42 +0100)]
sdram: create test dir and move lasmicon/minicon tests to it

9 years agosdram: create frontend dir and move dma_lasmi/memtest/wishbone2lasmi to it
Florent Kermarrec [Mon, 2 Mar 2015 07:24:51 +0000 (08:24 +0100)]
sdram: create frontend dir and move dma_lasmi/memtest/wishbone2lasmi to it

9 years agolasmi: simplify usage for the user (it's the job of the controller to manage write...
Florent Kermarrec [Sun, 1 Mar 2015 20:22:12 +0000 (21:22 +0100)]
lasmi: simplify usage for the user (it's the job of the controller to manage write/read latencies on acks)

9 years agosoc: add initial verilator sim support: ./make.py -t simple -p sim build-bitstream :)
Florent Kermarrec [Sun, 1 Mar 2015 17:25:47 +0000 (18:25 +0100)]
soc: add initial verilator sim support: ./make.py -t simple -p sim build-bitstream :)

9 years agoflash/spi: make bitbang optional (enabled by default)
Florent Kermarrec [Sun, 1 Mar 2015 16:06:24 +0000 (17:06 +0100)]
flash/spi: make bitbang optional (enabled by default)

9 years agouart: use data instead of d on endpoint's layouts (coherency with others cores)
Florent Kermarrec [Sun, 1 Mar 2015 15:56:48 +0000 (16:56 +0100)]
uart: use data instead of d on endpoint's layouts (coherency with others cores)

9 years agouart: add sim phy
Florent Kermarrec [Sun, 1 Mar 2015 15:52:50 +0000 (16:52 +0100)]
uart: add sim phy

9 years agoliteXXX cores: use new uart and import FlipFlop/Counter/Timeout from Migen
Florent Kermarrec [Sun, 1 Mar 2015 15:45:50 +0000 (16:45 +0100)]
liteXXX cores: use new uart and import FlipFlop/Counter/Timeout from Migen

9 years agouart: create phy directory and move phy logic to serial.py (will enable selecting...
Florent Kermarrec [Sun, 1 Mar 2015 10:58:46 +0000 (11:58 +0100)]
uart: create phy directory and move phy logic to serial.py (will enable selecting uart phy, for example virtual uart with LiteEth or sim model for Verilator)

9 years agolitesata: create example design derived from SoC
Florent Kermarrec [Sun, 1 Mar 2015 10:33:38 +0000 (11:33 +0100)]
litesata: create example design derived from SoC

9 years agoliteXXX cores: remove Identifier duplication
Florent Kermarrec [Sun, 1 Mar 2015 10:24:58 +0000 (11:24 +0100)]
liteXXX cores: remove Identifier duplication

9 years agoliteXXX cores: share same methodology for on-board tests
Florent Kermarrec [Sun, 1 Mar 2015 10:07:28 +0000 (11:07 +0100)]
liteXXX cores: share same methodology for on-board tests

9 years agolitesata: create specialized kc705 platform to avoid duplicating things already in...
Florent Kermarrec [Sun, 1 Mar 2015 10:03:15 +0000 (11:03 +0100)]
litesata: create specialized kc705 platform to avoid duplicating things already in mibuild

9 years agolitescope: avoid uart code duplication
Florent Kermarrec [Sun, 1 Mar 2015 08:53:51 +0000 (09:53 +0100)]
litescope: avoid uart code duplication

9 years agovideo: reintegrate dvisampler from mixxeo (DVI/HDMI interfaces are common in today...
Florent Kermarrec [Sun, 1 Mar 2015 09:01:23 +0000 (10:01 +0100)]
video: reintegrate dvisampler from mixxeo (DVI/HDMI interfaces are common in today's SoCs)

9 years agopipistrello: fix lpddr parameters, crg, flash, style
Robert Jordens [Sat, 28 Feb 2015 23:01:11 +0000 (16:01 -0700)]
pipistrello: fix lpddr parameters, crg, flash, style

9 years agosoc: fix register_rom
Florent Kermarrec [Sat, 28 Feb 2015 22:50:00 +0000 (23:50 +0100)]
soc: fix register_rom

9 years agoliteeth: create example design derived from SoC that can be used on all targets with...
Florent Kermarrec [Sat, 28 Feb 2015 22:08:50 +0000 (23:08 +0100)]
liteeth: create example design derived from SoC that can be used on all targets with Ethernet pins

9 years agoliteXXX cores: remove setup.py and relative paths (we will install misolib of use...
Florent Kermarrec [Sat, 28 Feb 2015 21:23:48 +0000 (22:23 +0100)]
liteXXX cores: remove setup.py and relative paths (we will install misolib of use PYTHON_PATH)

9 years agolitescope: create example design derived from SoC that can be used on all targets
Florent Kermarrec [Sat, 28 Feb 2015 21:14:02 +0000 (22:14 +0100)]
litescope: create example design derived from SoC that can be used on all targets

9 years agoliteXXX cores: remove redefinition of get_csr_csv
Florent Kermarrec [Sat, 28 Feb 2015 20:45:05 +0000 (21:45 +0100)]
liteXXX cores: remove redefinition of get_csr_csv

9 years agoliteXXX cores: update README and doc
Florent Kermarrec [Sat, 28 Feb 2015 17:13:57 +0000 (18:13 +0100)]
liteXXX cores: update README and doc

9 years agosoc: use self.cpu_reset_address as rom mem_map address and increase default bios...
Florent Kermarrec [Sat, 28 Feb 2015 19:04:51 +0000 (20:04 +0100)]
soc: use self.cpu_reset_address as rom mem_map address and increase default bios size to 0xa000

9 years agotest implementation on all targets and fix issues
Florent Kermarrec [Sat, 28 Feb 2015 11:04:51 +0000 (12:04 +0100)]
test implementation on all targets and fix issues

9 years agomove mxcrg to others (we should integrate it in mlabs_video.py and remove the verilog...
Florent Kermarrec [Sat, 28 Feb 2015 10:45:21 +0000 (11:45 +0100)]
move mxcrg to others (we should integrate it in mlabs_video.py and remove the verilog file in the future)

9 years agosoc: move SDRAMSoC to a separate sdram.py file (ideally part of SDRAMSoC should move...
Florent Kermarrec [Sat, 28 Feb 2015 10:44:14 +0000 (11:44 +0100)]
soc: move SDRAMSoC to a separate sdram.py file (ideally part of SDRAMSoC should move mem/sdram)

9 years agoremane GenSoC to SoC (more coherent and we will add support for multiple SoCs with...
Florent Kermarrec [Sat, 28 Feb 2015 10:36:15 +0000 (11:36 +0100)]
remane GenSoC to SoC (more coherent and we will add support for multiple SoCs with their own Wisbbone/CSR buses in the future)

9 years agoliteusb: move files and modify import to misoclib.com.liteusb
Florent Kermarrec [Sat, 28 Feb 2015 10:18:00 +0000 (11:18 +0100)]
liteusb: move files and modify import to misoclib.com.liteusb

9 years agomerge liteusb
Florent Kermarrec [Sat, 28 Feb 2015 10:16:16 +0000 (11:16 +0100)]
merge liteusb

9 years agoliteeth: fix example design generation and remove VivadoProgrammer from platfom....
Florent Kermarrec [Sat, 28 Feb 2015 10:08:17 +0000 (11:08 +0100)]
liteeth: fix example design generation and remove VivadoProgrammer from platfom. (TODO: remove others duplicates)

9 years agoliteeth: fix example design generation and remove VivadoProgrammer from platfom....
Florent Kermarrec [Sat, 28 Feb 2015 10:04:48 +0000 (11:04 +0100)]
liteeth: fix example design generation and remove VivadoProgrammer from platfom. (TODO: remove others duplicates)

9 years agolitesata: move file and modify import to misoclib.mem.litesata
Florent Kermarrec [Sat, 28 Feb 2015 09:53:51 +0000 (10:53 +0100)]
litesata: move file and modify import to misoclib.mem.litesata

9 years agomerge litesata
Florent Kermarrec [Sat, 28 Feb 2015 09:48:08 +0000 (10:48 +0100)]
merge litesata

9 years agolitescope: create example_designs directory
Florent Kermarrec [Sat, 28 Feb 2015 09:38:28 +0000 (10:38 +0100)]
litescope: create example_designs directory

9 years agolitescope: move files and modify import to misoclib.tools.litescope
Florent Kermarrec [Sat, 28 Feb 2015 09:27:16 +0000 (10:27 +0100)]
litescope: move files and modify import to misoclib.tools.litescope

9 years agomerge litescope
Florent Kermarrec [Sat, 28 Feb 2015 09:24:49 +0000 (10:24 +0100)]
merge litescope

9 years agomisoclib/com: add spi (only SPIMaster for now)
Florent Kermarrec [Sat, 28 Feb 2015 08:41:20 +0000 (09:41 +0100)]
misoclib/com: add spi (only SPIMaster for now)

9 years agomisoclib: better organization (create cores categories: cpu, mem, com, ...)
Florent Kermarrec [Sat, 28 Feb 2015 08:02:28 +0000 (09:02 +0100)]
misoclib: better organization (create cores categories: cpu, mem, com, ...)

9 years agogensoc: parameter check is now more restrictive, add additional info to help user
Florent Kermarrec [Sat, 28 Feb 2015 02:12:00 +0000 (03:12 +0100)]
gensoc: parameter check is now more restrictive, add additional info to help user

9 years agotest minicon with de0nano (OK) and fix missing self in gensoc
Florent Kermarrec [Fri, 27 Feb 2015 19:00:16 +0000 (20:00 +0100)]
test minicon with de0nano (OK) and fix missing self in gensoc

9 years agogensoc: move I/O for rom initialization to make.py
Florent Kermarrec [Fri, 27 Feb 2015 18:40:56 +0000 (19:40 +0100)]
gensoc: move I/O for rom initialization to make.py

9 years agotargets: add de0nano (100MHz, integrated bios and SDRAM)
Florent Kermarrec [Fri, 27 Feb 2015 18:21:58 +0000 (19:21 +0100)]
targets: add de0nano (100MHz, integrated bios and SDRAM)

9 years agomake.py fix indent
Florent Kermarrec [Fri, 27 Feb 2015 17:58:36 +0000 (18:58 +0100)]
make.py fix indent

9 years agobios: we can now use -Ot with_rom True on targets to force bios implementation in...
Florent Kermarrec [Fri, 27 Feb 2015 16:22:44 +0000 (17:22 +0100)]
bios: we can now use -Ot with_rom True on targets to force bios implementation in integrated rom (can speed up debug we don't want to reflash SPI or NOR flash)

9 years agotargets: fix MiniSoC
Florent Kermarrec [Fri, 27 Feb 2015 16:12:37 +0000 (17:12 +0100)]
targets: fix MiniSoC

9 years agosdram: import dfi, lasmibus, wishbone2lasmi from Migen in sdram/bus dir
Florent Kermarrec [Fri, 27 Feb 2015 15:55:27 +0000 (16:55 +0100)]
sdram: import dfi, lasmibus, wishbone2lasmi from Migen in sdram/bus dir
We will maybe move things, but at least it's in MiSoC now

9 years agogensoc: make it more generic (a SoC does not necessarily have a CPU)
Florent Kermarrec [Fri, 27 Feb 2015 14:28:37 +0000 (15:28 +0100)]
gensoc: make it more generic (a SoC does not necessarily have a CPU)

9 years agoreserve csr_map 0-->16 for gensoc internal csrs
Florent Kermarrec [Fri, 27 Feb 2015 13:18:13 +0000 (14:18 +0100)]
reserve csr_map 0-->16 for gensoc internal csrs

9 years agouse cachesize reported in wishbone2lasmi
Florent Kermarrec [Fri, 27 Feb 2015 13:13:38 +0000 (14:13 +0100)]
use cachesize reported in wishbone2lasmi

9 years agocreate cpu dir and move lm32/mor1kx in it
Florent Kermarrec [Fri, 27 Feb 2015 09:51:03 +0000 (10:51 +0100)]
create cpu dir and move lm32/mor1kx in it

9 years agomove memtest to sdram
Florent Kermarrec [Fri, 27 Feb 2015 09:47:54 +0000 (10:47 +0100)]
move memtest to sdram

9 years agoreplace self._r_register by self._register in all CSR declaration
Florent Kermarrec [Fri, 27 Feb 2015 09:36:09 +0000 (10:36 +0100)]
replace self._r_register by self._register in all CSR declaration

9 years agomake.py: avoid some actions in make all (do not flash if load-bitstream is specified...
Florent Kermarrec [Fri, 27 Feb 2015 09:18:30 +0000 (10:18 +0100)]
make.py: avoid some actions in make all (do not flash if load-bitstream is specified or if bios is in blockram)

9 years agogensoc: add check_cpu_memory_region and check_csr_region to detect csr and mem region...
Florent Kermarrec [Fri, 27 Feb 2015 08:46:52 +0000 (09:46 +0100)]
gensoc: add check_cpu_memory_region and check_csr_region to detect csr and mem regions conflicts

9 years agoliteeth: move doc
Florent Kermarrec [Fri, 27 Feb 2015 08:15:54 +0000 (09:15 +0100)]
liteeth: move doc

9 years agoadd pipistrello target
Robert Jordens [Fri, 27 Feb 2015 03:23:03 +0000 (20:23 -0700)]
add pipistrello target

9 years agogensoc: missing self.
Robert Jordens [Fri, 27 Feb 2015 03:19:39 +0000 (20:19 -0700)]
gensoc: missing self.

9 years agoMerge branch 'master' of https://github.com/m-labs/misoc
Sebastien Bourdeauducq [Fri, 27 Feb 2015 04:28:12 +0000 (21:28 -0700)]
Merge branch 'master' of https://github.com/m-labs/misoc

9 years agotarget/kc705: allow access to pll_sys signal before BUFG
Yann Sionneau [Wed, 25 Feb 2015 17:57:09 +0000 (18:57 +0100)]
target/kc705: allow access to pll_sys signal before BUFG

9 years agogensoc: cpus now directly add their verilog sources
Florent Kermarrec [Thu, 26 Feb 2015 19:31:01 +0000 (20:31 +0100)]
gensoc: cpus now directly add their verilog sources

9 years agogensoc: add mem_map and mem_decoder to avoid duplications
Florent Kermarrec [Thu, 26 Feb 2015 18:38:52 +0000 (19:38 +0100)]
gensoc: add mem_map and mem_decoder to avoid duplications

9 years agogensoc: get platform_id from platform
Florent Kermarrec [Thu, 26 Feb 2015 18:01:22 +0000 (19:01 +0100)]
gensoc: get platform_id from platform

9 years agotargets/simple: make it generic (no default_platform, use platform's default_clk_name...
Florent Kermarrec [Thu, 26 Feb 2015 11:53:52 +0000 (12:53 +0100)]
targets/simple: make it generic (no default_platform, use platform's default_clk_name/default_clk_period)

9 years agoliteeth: fix example_designs generation
Florent Kermarrec [Thu, 26 Feb 2015 09:23:38 +0000 (10:23 +0100)]
liteeth: fix example_designs generation

9 years agoliteeth: fix import (from liteeth --> from misoclib.liteeth)
Florent Kermarrec [Thu, 26 Feb 2015 08:41:47 +0000 (09:41 +0100)]
liteeth: fix import (from liteeth --> from misoclib.liteeth)

9 years agomove files to liteeeth and create example_designs directory
Florent Kermarrec [Thu, 26 Feb 2015 08:35:14 +0000 (09:35 +0100)]
move files to liteeeth and create example_designs directory

9 years agoremove litex submodule
Sebastien Bourdeauducq [Wed, 25 Feb 2015 17:40:44 +0000 (10:40 -0700)]
remove litex submodule

9 years agomerge liteeth
Sebastien Bourdeauducq [Wed, 25 Feb 2015 17:35:39 +0000 (10:35 -0700)]
merge liteeth

9 years agomove files for misoc integration
Sebastien Bourdeauducq [Wed, 25 Feb 2015 17:34:11 +0000 (10:34 -0700)]
move files for misoc integration

9 years agophy/sim: generate sop/eop
Florent Kermarrec [Wed, 25 Feb 2015 16:47:44 +0000 (17:47 +0100)]
phy/sim: generate sop/eop

9 years agoremove upload optimization (we will use wishbone later for performance)
Florent Kermarrec [Tue, 24 Feb 2015 16:58:54 +0000 (17:58 +0100)]
remove upload optimization (we will use wishbone later for performance)

9 years agoadd sim phy
Florent Kermarrec [Tue, 24 Feb 2015 00:42:56 +0000 (01:42 +0100)]
add sim phy

9 years agoadd read grouping to etherbone, we now have interesting upload speeds... :)
Florent Kermarrec [Mon, 23 Feb 2015 17:53:59 +0000 (18:53 +0100)]
add read grouping to etherbone, we now have interesting upload speeds... :)

9 years agotest: add make.py to replace static config.py file
Florent Kermarrec [Mon, 23 Feb 2015 17:55:19 +0000 (18:55 +0100)]
test: add make.py to replace static config.py file

9 years agoprepare reads grouping to speed up upload
Florent Kermarrec [Mon, 23 Feb 2015 16:04:23 +0000 (17:04 +0100)]
prepare reads grouping to speed up upload

9 years agouse new Migen sel signal to change the way we upload data (will enable fifo bursts)
Florent Kermarrec [Mon, 23 Feb 2015 11:34:04 +0000 (12:34 +0100)]
use new Migen sel signal to change the way we upload data (will enable fifo bursts)

9 years agorle: increase dw automatically when needed
Florent Kermarrec [Mon, 23 Feb 2015 08:41:18 +0000 (09:41 +0100)]
rle: increase dw automatically when needed

9 years agohost/dump: optimize get_bits / decode_rle since we can now have large dumps
Florent Kermarrec [Sun, 22 Feb 2015 23:20:17 +0000 (00:20 +0100)]
host/dump: optimize get_bits / decode_rle since we can now have large dumps

9 years agohost/driver/reg: use burst mode to speed up upload of data (useful with Etherbone)
Florent Kermarrec [Sun, 22 Feb 2015 23:09:31 +0000 (00:09 +0100)]
host/driver/reg: use burst mode to speed up upload of data (useful with Etherbone)

9 years agotest: add make.py to replace static config.py file
Florent Kermarrec [Sun, 22 Feb 2015 22:39:51 +0000 (23:39 +0100)]
test: add make.py to replace static config.py file

9 years agotty working
Florent Kermarrec [Sun, 22 Feb 2015 14:23:55 +0000 (15:23 +0100)]
tty working

9 years agomac: add padding
Florent Kermarrec [Sun, 22 Feb 2015 12:43:29 +0000 (13:43 +0100)]
mac: add padding

9 years agoremove MiSoC dependency
Florent Kermarrec [Sat, 21 Feb 2015 22:47:51 +0000 (23:47 +0100)]
remove MiSoC dependency

9 years agodoc: remove IP
Florent Kermarrec [Sat, 21 Feb 2015 22:34:30 +0000 (23:34 +0100)]
doc: remove IP

9 years agodoc: remove IP
Florent Kermarrec [Sat, 21 Feb 2015 22:34:08 +0000 (23:34 +0100)]
doc: remove IP

9 years agodoc: remove IP
Florent Kermarrec [Sat, 21 Feb 2015 22:33:49 +0000 (23:33 +0100)]
doc: remove IP

9 years agodoc: remove IP
Florent Kermarrec [Sat, 21 Feb 2015 22:33:21 +0000 (23:33 +0100)]
doc: remove IP

9 years agoadd ft2232h software code (will need rework)
Florent Kermarrec [Sat, 21 Feb 2015 22:18:10 +0000 (23:18 +0100)]
add ft2232h software code (will need rework)

9 years agoadd ft2232h hdl code (will need rework)
Florent Kermarrec [Sat, 21 Feb 2015 22:13:43 +0000 (23:13 +0100)]
add ft2232h hdl code (will need rework)