litex.git
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:08 +0000 (23:34 +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 tty over udp (will need mac to insert padding)
Florent Kermarrec [Sat, 21 Feb 2015 19:42:31 +0000 (20:42 +0100)]
add tty over udp (will need mac to insert padding)

9 years agoremove MiSoC dependency
Florent Kermarrec [Sat, 21 Feb 2015 18:34:14 +0000 (19:34 +0100)]
remove MiSoC dependency

9 years agola: fix intput_buffer clocking when clk_domain is not "sys"
Florent Kermarrec [Thu, 19 Feb 2015 10:41:54 +0000 (11:41 +0100)]
la: fix intput_buffer clocking when clk_domain is not "sys"

9 years agofix rle when used with subsampler
Florent Kermarrec [Thu, 19 Feb 2015 10:34:20 +0000 (11:34 +0100)]
fix rle when used with subsampler

9 years agodriver/la: add samplerate computation (required by sigrok export)
Florent Kermarrec [Thu, 19 Feb 2015 10:14:31 +0000 (11:14 +0100)]
driver/la: add samplerate computation (required by sigrok export)

9 years agoremove limitation on debug tuple definition
Florent Kermarrec [Thu, 19 Feb 2015 09:52:57 +0000 (10:52 +0100)]
remove limitation on debug tuple definition

9 years agorle: expose length parameter to user, add assertion on dw to encode counter and autom...
Florent Kermarrec [Thu, 19 Feb 2015 09:42:13 +0000 (10:42 +0100)]
rle: expose length parameter to user, add assertion on dw to encode counter and automatically increase dw in rle mode

9 years agoenable RLE only in POST_HIT_RECORDING state (to ensure programmed offset is respected)
Florent Kermarrec [Thu, 19 Feb 2015 09:26:34 +0000 (10:26 +0100)]
enable RLE only in POST_HIT_RECORDING state (to ensure programmed offset is respected)

9 years agosimplify RLE
Florent Kermarrec [Wed, 18 Feb 2015 22:35:41 +0000 (23:35 +0100)]
simplify RLE

9 years agofix typo
Florent Kermarrec [Wed, 18 Feb 2015 22:35:50 +0000 (23:35 +0100)]
fix typo

9 years agodump/sigrok: fix against real dumps, now able to import and export
Florent Kermarrec [Wed, 18 Feb 2015 20:45:36 +0000 (21:45 +0100)]
dump/sigrok: fix against real dumps, now able to import and export

9 years agoupdate LiteX
Florent Kermarrec [Wed, 18 Feb 2015 18:19:00 +0000 (19:19 +0100)]
update LiteX

9 years agotargets/kc705: fix csr address conflict on eth
Florent Kermarrec [Mon, 16 Feb 2015 13:14:03 +0000 (14:14 +0100)]
targets/kc705: fix csr address conflict on eth

9 years agoadd LiteX external core and remove ethmac
Florent Kermarrec [Mon, 16 Feb 2015 09:26:43 +0000 (10:26 +0100)]
add LiteX external core and remove ethmac

9 years agoremove verilog and move mxcrg.v to misoclib/mxcrg
Florent Kermarrec [Mon, 16 Feb 2015 09:22:17 +0000 (10:22 +0100)]
remove verilog and move mxcrg.v to misoclib/mxcrg

9 years agomove lm32/mor1kx submodules to extcores
Florent Kermarrec [Mon, 16 Feb 2015 09:05:04 +0000 (10:05 +0100)]
move lm32/mor1kx submodules to extcores

9 years agogensoc: call do_exit after SoC is built
Florent Kermarrec [Sun, 15 Feb 2015 18:20:48 +0000 (19:20 +0100)]
gensoc: call do_exit after SoC is built

9 years agoupdate LiteScope
Florent Kermarrec [Wed, 18 Feb 2015 15:51:35 +0000 (16:51 +0100)]
update LiteScope

9 years agosplit host files since we now have more drivers/dumps supported
Florent Kermarrec [Wed, 18 Feb 2015 14:32:34 +0000 (15:32 +0100)]
split host files since we now have more drivers/dumps supported

9 years agoreadme/make.py: add powered by Migen
Florent Kermarrec [Wed, 18 Feb 2015 15:38:48 +0000 (16:38 +0100)]
readme/make.py: add powered by Migen

9 years agoadd sigrok import (to check export against it)
Florent Kermarrec [Wed, 18 Feb 2015 11:47:36 +0000 (12:47 +0100)]
add sigrok import (to check export against it)

9 years agocontinue sigrok export (should almost work)
Florent Kermarrec [Wed, 18 Feb 2015 10:59:35 +0000 (11:59 +0100)]
continue sigrok export (should almost work)

9 years agoadd sigrok export skeleton (wip)
Florent Kermarrec [Tue, 17 Feb 2015 22:44:22 +0000 (23:44 +0100)]
add sigrok export skeleton (wip)

9 years agologo : add powered by Migen
Florent Kermarrec [Tue, 17 Feb 2015 22:17:46 +0000 (23:17 +0100)]
logo : add powered by Migen

9 years agologo : add powered by Migen
Florent Kermarrec [Tue, 17 Feb 2015 22:14:21 +0000 (23:14 +0100)]
logo : add powered by Migen

9 years agocreate BaseSoC as a basic example design and build UDPSoC/EtherboneSoC on top of it
Florent Kermarrec [Tue, 17 Feb 2015 10:42:35 +0000 (11:42 +0100)]
create BaseSoC as a basic example design and build UDPSoC/EtherboneSoC on top of it

9 years agotest: we can now test regs with Etherbone
Florent Kermarrec [Mon, 16 Feb 2015 22:39:12 +0000 (23:39 +0100)]
test: we can now test regs with Etherbone

9 years agohost: add Etherbone driver
Florent Kermarrec [Mon, 16 Feb 2015 22:11:22 +0000 (23:11 +0100)]
host: add Etherbone driver

9 years agoetherbone: fix addressing
Florent Kermarrec [Mon, 16 Feb 2015 22:37:08 +0000 (23:37 +0100)]
etherbone: fix addressing

9 years agomac: fix missing core csr generation
Florent Kermarrec [Mon, 16 Feb 2015 13:44:36 +0000 (14:44 +0100)]
mac: fix missing core csr generation

9 years agogensoc: add csr_data_width and csr_address_width as parameters In some case we want...
Florent Kermarrec [Thu, 12 Feb 2015 22:43:25 +0000 (23:43 +0100)]
gensoc: add csr_data_width and csr_address_width as parameters In some case we want to have mode than 32 CSR or and csr_data_width != 8

9 years agoadd setup.py
Florent Kermarrec [Sat, 14 Feb 2015 10:43:53 +0000 (02:43 -0800)]
add setup.py

9 years agoupdate download instructions
Florent Kermarrec [Thu, 12 Feb 2015 21:03:04 +0000 (22:03 +0100)]
update download instructions

9 years agoupdate download instructions
Florent Kermarrec [Thu, 12 Feb 2015 20:39:34 +0000 (21:39 +0100)]
update download instructions

9 years agosimplify litescope export with do_exit call and remove automatic clean
Florent Kermarrec [Thu, 12 Feb 2015 20:15:29 +0000 (21:15 +0100)]
simplify litescope export with do_exit call and remove automatic clean

9 years agosimplify litescope export with do_exit call
Florent Kermarrec [Thu, 12 Feb 2015 19:39:29 +0000 (20:39 +0100)]
simplify litescope export with do_exit call

9 years agoetherbone: reads OK on hardware
Florent Kermarrec [Thu, 12 Feb 2015 12:24:35 +0000 (13:24 +0100)]
etherbone: reads OK on hardware

9 years agoetherbone: writes OK on hardware
Florent Kermarrec [Thu, 12 Feb 2015 11:33:52 +0000 (12:33 +0100)]
etherbone: writes OK on hardware

9 years agoetherbone: add more debug signals
Florent Kermarrec [Thu, 12 Feb 2015 11:31:29 +0000 (12:31 +0100)]
etherbone: add more debug signals

9 years agoetherbone: probing OK on hardware
Florent Kermarrec [Thu, 12 Feb 2015 11:16:57 +0000 (12:16 +0100)]
etherbone: probing OK on hardware

9 years agoetherbone: simplify model usage
Florent Kermarrec [Thu, 12 Feb 2015 11:09:39 +0000 (12:09 +0100)]
etherbone: simplify model usage

9 years agoetherbone: create example design target
Florent Kermarrec [Thu, 12 Feb 2015 10:28:00 +0000 (11:28 +0100)]
etherbone: create example design target

9 years agocosmetic: define params before payload
Florent Kermarrec [Thu, 12 Feb 2015 10:10:05 +0000 (11:10 +0100)]
cosmetic: define params before payload

9 years agoetherbone_tb: add autocheck
Florent Kermarrec [Thu, 12 Feb 2015 01:00:26 +0000 (02:00 +0100)]
etherbone_tb: add autocheck

9 years agocode cleanup
Florent Kermarrec [Thu, 12 Feb 2015 00:30:17 +0000 (01:30 +0100)]
code cleanup

9 years agomove generic modules to generic/__init__.py
Florent Kermarrec [Thu, 12 Feb 2015 00:19:36 +0000 (01:19 +0100)]
move generic modules to generic/__init__.py

9 years agoetherbone: cleanup
Florent Kermarrec [Thu, 12 Feb 2015 00:12:52 +0000 (01:12 +0100)]
etherbone: cleanup

9 years agoetherbone_tb OK (will need cleanup)
Florent Kermarrec [Wed, 11 Feb 2015 23:01:03 +0000 (00:01 +0100)]
etherbone_tb OK (will need cleanup)

9 years agoetherbone: wishbone reads seems OK in simulation
Florent Kermarrec [Wed, 11 Feb 2015 20:51:25 +0000 (21:51 +0100)]
etherbone: wishbone reads seems OK in simulation

9 years agoetherbone: wishbone writes seems OK in simulation
Florent Kermarrec [Wed, 11 Feb 2015 19:54:32 +0000 (20:54 +0100)]
etherbone: wishbone writes seems OK in simulation