litex.git
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 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...

9 years agoicmp: able to ping board :)
Florent Kermarrec [Fri, 6 Feb 2015 15:58:05 +0000 (16:58 +0100)]
icmp: able to ping board :)

9 years agoplatforms/kc705: add more clock constraints
Florent Kermarrec [Fri, 6 Feb 2015 12:03:38 +0000 (13:03 +0100)]
platforms/kc705: add more clock constraints

9 years agoadd icmp_tb
Florent Kermarrec [Fri, 6 Feb 2015 11:22:24 +0000 (12:22 +0100)]
add icmp_tb

9 years agoadd icmp model
Florent Kermarrec [Fri, 6 Feb 2015 08:08:05 +0000 (09:08 +0100)]
add icmp model

9 years agoadd icmp (untested, will need fifo)
Florent Kermarrec [Fri, 6 Feb 2015 00:38:30 +0000 (01:38 +0100)]
add icmp (untested, will need fifo)

9 years agoip: add crossbar
Florent Kermarrec [Thu, 5 Feb 2015 23:54:05 +0000 (00:54 +0100)]
ip: add crossbar

9 years agoreorganize core (to add crossbar to ip)
Florent Kermarrec [Thu, 5 Feb 2015 23:38:56 +0000 (00:38 +0100)]
reorganize core (to add crossbar to ip)

9 years agomove more possible logic outside of fsms (to reduce ressource usage)
Florent Kermarrec [Thu, 5 Feb 2015 23:29:30 +0000 (00:29 +0100)]
move more possible logic outside of fsms (to reduce ressource usage)

9 years agoarp: manage the case when the target is unreacheable
Florent Kermarrec [Thu, 5 Feb 2015 23:05:25 +0000 (00:05 +0100)]
arp: manage the case when the target is unreacheable

9 years agoarp: add live time for cached IP/MAC couple
Florent Kermarrec [Thu, 5 Feb 2015 22:46:57 +0000 (23:46 +0100)]
arp: add live time for cached IP/MAC couple

9 years agocode clean up due to hw tests
Florent Kermarrec [Thu, 5 Feb 2015 22:30:50 +0000 (23:30 +0100)]
code clean up due to hw tests

9 years agoarp: add cached_valid signal, UDP tx works on hardware
Florent Kermarrec [Thu, 5 Feb 2015 19:10:09 +0000 (20:10 +0100)]
arp: add cached_valid signal, UDP tx works on hardware

9 years agotest on hardware and first fixes
Florent Kermarrec [Thu, 5 Feb 2015 17:59:58 +0000 (18:59 +0100)]
test on hardware and first fixes

9 years agoadd convert_ip function
Florent Kermarrec [Thu, 5 Feb 2015 12:31:06 +0000 (13:31 +0100)]
add convert_ip function

9 years agomake.py: remove auto-clean
Florent Kermarrec [Thu, 5 Feb 2015 12:25:49 +0000 (13:25 +0100)]
make.py: remove auto-clean

9 years agoprepare LiteScope signals for debug
Florent Kermarrec [Thu, 5 Feb 2015 10:58:40 +0000 (11:58 +0100)]
prepare LiteScope signals for debug

9 years agomac/core: fix condition of insertion for last_be/converter
Florent Kermarrec [Thu, 5 Feb 2015 10:46:02 +0000 (11:46 +0100)]
mac/core: fix condition of insertion for last_be/converter

9 years agoadd udpip target for hw tests (untested)
Florent Kermarrec [Thu, 5 Feb 2015 10:02:46 +0000 (11:02 +0100)]
add udpip target for hw tests (untested)

9 years agocore: shorten names in header definitions
Florent Kermarrec [Wed, 4 Feb 2015 21:51:11 +0000 (22:51 +0100)]
core: shorten names in header definitions

9 years agoudpip_tb: loopback working with model! :)
Florent Kermarrec [Wed, 4 Feb 2015 21:31:53 +0000 (22:31 +0100)]
udpip_tb: loopback working with model! :)

9 years agoudpip_tb: able to send valid UDP msg to model
Florent Kermarrec [Wed, 4 Feb 2015 21:15:59 +0000 (22:15 +0100)]
udpip_tb: able to send valid UDP msg to model

9 years agoadd udpip_tb skeleton
Florent Kermarrec [Wed, 4 Feb 2015 20:15:01 +0000 (21:15 +0100)]
add udpip_tb skeleton

9 years agoudp: add skeleton
Florent Kermarrec [Wed, 4 Feb 2015 19:50:49 +0000 (20:50 +0100)]
udp: add skeleton

9 years agoudp: add model
Florent Kermarrec [Wed, 4 Feb 2015 19:30:17 +0000 (20:30 +0100)]
udp: add model

9 years agoreorganize core files
Florent Kermarrec [Wed, 4 Feb 2015 18:57:20 +0000 (19:57 +0100)]
reorganize core files

9 years agoip: add checksum computation on ip rx (maybe not optimal on ressources)
Florent Kermarrec [Wed, 4 Feb 2015 18:42:50 +0000 (19:42 +0100)]
ip: add checksum computation on ip rx (maybe not optimal on ressources)

9 years agoip: add checksum computation on ip tx (maybe not optimal on ressources)
Florent Kermarrec [Wed, 4 Feb 2015 18:35:38 +0000 (19:35 +0100)]
ip: add checksum computation on ip tx (maybe not optimal on ressources)

9 years agoip: add checksum functions to model
Florent Kermarrec [Wed, 4 Feb 2015 18:03:49 +0000 (19:03 +0100)]
ip: add checksum functions to model

9 years agoip: small clean up
Florent Kermarrec [Wed, 4 Feb 2015 15:31:37 +0000 (16:31 +0100)]
ip: small clean up

9 years agoclean up
Florent Kermarrec [Fri, 30 Jan 2015 18:34:13 +0000 (19:34 +0100)]
clean up

9 years agoip: simplify user interface, basic sim OK for TX/RX
Florent Kermarrec [Fri, 30 Jan 2015 18:14:05 +0000 (19:14 +0100)]
ip: simplify user interface, basic sim OK for TX/RX

9 years agouse ip model in ip_tb
Florent Kermarrec [Fri, 30 Jan 2015 17:32:55 +0000 (18:32 +0100)]
use ip model in ip_tb

9 years agoadd ip model skeleton
Florent Kermarrec [Fri, 30 Jan 2015 17:07:26 +0000 (18:07 +0100)]
add ip model skeleton

9 years agoip: able to request mac_address if not cached and send an empty ip frame
Florent Kermarrec [Fri, 30 Jan 2015 16:44:44 +0000 (17:44 +0100)]
ip: able to request mac_address if not cached and send an empty ip frame

9 years agomac: add crossbar to simplify usage
Florent Kermarrec [Fri, 30 Jan 2015 15:27:56 +0000 (16:27 +0100)]
mac: add crossbar to simplify usage

9 years agoip: add skeleton
Florent Kermarrec [Fri, 30 Jan 2015 12:23:06 +0000 (13:23 +0100)]
ip: add skeleton

9 years agoarp: little clean up
Florent Kermarrec [Fri, 30 Jan 2015 11:06:56 +0000 (12:06 +0100)]
arp: little clean up

9 years agoarp: request/reply with model OK
Florent Kermarrec [Fri, 30 Jan 2015 11:02:01 +0000 (12:02 +0100)]
arp: request/reply with model OK

9 years agoarp: rx and decoding OK
Florent Kermarrec [Fri, 30 Jan 2015 09:48:56 +0000 (10:48 +0100)]
arp: rx and decoding OK

9 years agoadd arp_tb and fixes (able to send a valid ARP request to the model)
Florent Kermarrec [Thu, 29 Jan 2015 23:03:16 +0000 (00:03 +0100)]
add arp_tb and fixes (able to send a valid ARP request to the model)

9 years agomodel: add real dumps and test models with it
Florent Kermarrec [Thu, 29 Jan 2015 23:02:11 +0000 (00:02 +0100)]
model: add real dumps and test models with it

9 years agoarp: add skeleton
Florent Kermarrec [Thu, 29 Jan 2015 20:07:02 +0000 (21:07 +0100)]
arp: add skeleton

9 years agomodel: add arp skeleton
Florent Kermarrec [Thu, 29 Jan 2015 18:17:45 +0000 (19:17 +0100)]
model: add arp skeleton

9 years agoimprove mac model (add header encoding/decoding)
Florent Kermarrec [Thu, 29 Jan 2015 17:22:12 +0000 (18:22 +0100)]
improve mac model (add header encoding/decoding)

9 years agosimplify MAC dispatch (use onehot mode if Dispatcher)
Florent Kermarrec [Thu, 29 Jan 2015 00:10:40 +0000 (01:10 +0100)]
simplify MAC dispatch (use onehot mode if Dispatcher)

9 years agocreate LiteEthIPStack skeleton
Florent Kermarrec [Thu, 29 Jan 2015 00:03:47 +0000 (01:03 +0100)]
create LiteEthIPStack skeleton