litex.git
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 agoadd sim phy
Florent Kermarrec [Tue, 24 Feb 2015 00:42:56 +0000 (01:42 +0100)]
add sim phy

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 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 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 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 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 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 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 20:39:34 +0000 (21:39 +0100)]
update download instructions

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

9 years agoetherbone: code wishbone master
Florent Kermarrec [Wed, 11 Feb 2015 18:44:02 +0000 (19:44 +0100)]
etherbone: code wishbone master

9 years agoetherbone: record wip
Florent Kermarrec [Wed, 11 Feb 2015 17:37:59 +0000 (18:37 +0100)]
etherbone: record wip

9 years agoetherbone: add record depacketizer/packetizer (wip)
Florent Kermarrec [Wed, 11 Feb 2015 15:21:06 +0000 (16:21 +0100)]
etherbone: add record depacketizer/packetizer (wip)

9 years agoetherbone: add etherbone_tb, able to probe etherbone endpoint
Florent Kermarrec [Wed, 11 Feb 2015 13:33:17 +0000 (14:33 +0100)]
etherbone: add etherbone_tb, able to probe etherbone endpoint

9 years agomodels: use .format everywhere
Florent Kermarrec [Wed, 11 Feb 2015 10:28:15 +0000 (11:28 +0100)]
models: use .format everywhere

9 years agoetherbone: cleanup model
Florent Kermarrec [Wed, 11 Feb 2015 10:11:54 +0000 (11:11 +0100)]
etherbone: cleanup model

9 years agoetherbone: clean up ohwr dissector, Python model checked against it
Florent Kermarrec [Tue, 10 Feb 2015 22:04:05 +0000 (23:04 +0100)]
etherbone: clean up ohwr dissector, Python model checked against it

9 years agoetherbone: add model skeleton
Florent Kermarrec [Tue, 10 Feb 2015 20:29:14 +0000 (21:29 +0100)]
etherbone: add model skeleton

9 years agoetherbone: add dissector from ohwr.org
Florent Kermarrec [Tue, 10 Feb 2015 17:41:43 +0000 (18:41 +0100)]
etherbone: add dissector from ohwr.org

9 years agoetherbone: wip
Florent Kermarrec [Tue, 10 Feb 2015 15:43:24 +0000 (16:43 +0100)]
etherbone: wip

9 years agotest_udp: test loopback on port 6000 (dw=8) and port 8000 (dw=32) OK on board!
Florent Kermarrec [Tue, 10 Feb 2015 15:30:34 +0000 (16:30 +0100)]
test_udp: test loopback on port 6000 (dw=8) and port 8000 (dw=32) OK on board!

9 years agotargets/udp: create udp loopback on port 8000 with dw=32 (to test data_width converters)
Florent Kermarrec [Tue, 10 Feb 2015 15:23:12 +0000 (16:23 +0100)]
targets/udp: create udp loopback on port 8000 with dw=32 (to test data_width converters)

9 years agophy: add hw_init_reset (useful when used without CPU)
Florent Kermarrec [Tue, 10 Feb 2015 15:01:40 +0000 (16:01 +0100)]
phy: add hw_init_reset (useful when used without CPU)

9 years agocreate Port class and remove connect method of mac/ip/udp Ports
Florent Kermarrec [Tue, 10 Feb 2015 14:37:29 +0000 (15:37 +0100)]
create Port class and remove connect method of mac/ip/udp Ports

9 years agomove more things to common files
Florent Kermarrec [Tue, 10 Feb 2015 14:22:06 +0000 (15:22 +0100)]
move more things to common files

9 years agogeneric: add crossbar and use it in mac/ip/udp
Florent Kermarrec [Tue, 10 Feb 2015 14:11:06 +0000 (15:11 +0100)]
generic: add crossbar and use it in mac/ip/udp

9 years agoREADME: use migen fork for now
Florent Kermarrec [Tue, 10 Feb 2015 10:28:59 +0000 (11:28 +0100)]
README: use migen fork for now

9 years agoudp/crossbar: add possibility to get port with dw != 8 (16, 32, 64, ...)
Florent Kermarrec [Tue, 10 Feb 2015 10:22:23 +0000 (11:22 +0100)]
udp/crossbar: add possibility to get port with dw != 8 (16, 32, 64, ...)

9 years agouse new Migen feature: payload_layout/param_layout
Florent Kermarrec [Tue, 10 Feb 2015 09:30:39 +0000 (10:30 +0100)]
use new Migen feature: payload_layout/param_layout

9 years agomake packetizer/depacketizer more generic (remove width limitation)
Florent Kermarrec [Tue, 10 Feb 2015 08:25:36 +0000 (09:25 +0100)]
make packetizer/depacketizer more generic (remove width limitation)

9 years agodoc: init
Florent Kermarrec [Mon, 9 Feb 2015 22:05:59 +0000 (23:05 +0100)]
doc: init

9 years agoetherbone: add skeleton
Florent Kermarrec [Mon, 9 Feb 2015 21:37:41 +0000 (22:37 +0100)]
etherbone: add skeleton

9 years agoREADME: update
Florent Kermarrec [Mon, 9 Feb 2015 18:35:42 +0000 (19:35 +0100)]
README: update

9 years agoicmp: replace fifo with packet buffer and reduce buffering
Florent Kermarrec [Mon, 9 Feb 2015 18:24:49 +0000 (19:24 +0100)]
icmp: replace fifo with packet buffer and reduce buffering

9 years agouse PacketBuffer for udp loopback
Florent Kermarrec [Mon, 9 Feb 2015 16:57:45 +0000 (17:57 +0100)]
use PacketBuffer for udp loopback

9 years agomac: fix gap inserter/checker
Florent Kermarrec [Mon, 9 Feb 2015 16:42:05 +0000 (17:42 +0100)]
mac: fix gap inserter/checker

9 years agoip: pipeline checksum to improve timings
Florent Kermarrec [Mon, 9 Feb 2015 16:13:03 +0000 (17:13 +0100)]
ip: pipeline checksum to improve timings

9 years agoimprove RX timings (make valid synchronous)
Florent Kermarrec [Mon, 9 Feb 2015 13:49:59 +0000 (14:49 +0100)]
improve RX timings (make valid synchronous)

9 years agoadd test_la.py
Florent Kermarrec [Mon, 9 Feb 2015 13:31:13 +0000 (14:31 +0100)]
add test_la.py

9 years agomac: add interpacket gap inserter/checker
Florent Kermarrec [Mon, 9 Feb 2015 11:57:05 +0000 (12:57 +0100)]
mac: add interpacket gap inserter/checker

9 years agotest_udp: clean up
Florent Kermarrec [Mon, 9 Feb 2015 11:17:15 +0000 (12:17 +0100)]
test_udp: clean up

9 years agoudp: add crossbar
Florent Kermarrec [Mon, 9 Feb 2015 10:19:26 +0000 (11:19 +0100)]
udp: add crossbar

9 years agocode clean up
Florent Kermarrec [Mon, 9 Feb 2015 08:26:56 +0000 (09:26 +0100)]
code clean up

9 years agoimprove test_udp (add random data and check)
Florent Kermarrec [Fri, 6 Feb 2015 19:49:30 +0000 (20:49 +0100)]
improve test_udp (add random data and check)

9 years agotest udp with simple loopback, works fine...
Florent Kermarrec [Fri, 6 Feb 2015 16:39:20 +0000 (17:39 +0100)]
test udp with simple loopback, works fine...