lambdasoc.git
2 years agosoftware/bios: bump version.
Jean-François Nguyen [Thu, 1 Jul 2021 12:33:33 +0000 (14:33 +0200)]
software/bios: bump version.

Also, pin LiteX dependencies to the revision used by lambdasoc-bios.

2 years agosetup.py,requirements.txt: add LiteX dependencies.
Jean-François Nguyen [Wed, 30 Jun 2021 16:02:28 +0000 (18:02 +0200)]
setup.py,requirements.txt: add LiteX dependencies.

2 years agoexamples/sram_soc: fix platform paremeter help.
Jean-François Nguyen [Wed, 30 Jun 2021 15:41:47 +0000 (17:41 +0200)]
examples/sram_soc: fix platform paremeter help.

2 years agoexamples/{sram,sdram}_soc: add --build-dir parameter.
Jean-François Nguyen [Wed, 30 Jun 2021 15:40:57 +0000 (17:40 +0200)]
examples/{sram,sdram}_soc: add --build-dir parameter.

2 years agoexamples/sdram_soc: add --platform parameter.
Jean-François Nguyen [Wed, 30 Jun 2021 15:36:34 +0000 (17:36 +0200)]
examples/sdram_soc: add --platform parameter.

2 years agocores.litedram: move memory map population to _populate_ctrl_map().
Jean-François Nguyen [Tue, 29 Jun 2021 16:39:59 +0000 (18:39 +0200)]
cores.litedram: move memory map population to _populate_ctrl_map().

2 years agocores.litedram: move name conflict detection to the builder.
Jean-François Nguyen [Tue, 29 Jun 2021 16:37:35 +0000 (18:37 +0200)]
cores.litedram: move name conflict detection to the builder.

2 years agoAdd SDRAMPeripheral and SDRAMSoC example.
Jean-François Nguyen [Mon, 28 Jun 2021 18:27:45 +0000 (20:27 +0200)]
Add SDRAMPeripheral and SDRAMSoC example.

2 years agosoc.base: add support for adding user-provided template parameters.
Jean-François Nguyen [Mon, 28 Jun 2021 17:56:47 +0000 (19:56 +0200)]
soc.base: add support for adding user-provided template parameters.

2 years agosoc.base: add socproperty(weak=True) for optional properties.
Jean-François Nguyen [Mon, 28 Jun 2021 17:49:27 +0000 (19:49 +0200)]
soc.base: add socproperty(weak=True) for optional properties.

2 years agocores: add LiteDRAM core.
Jean-François Nguyen [Mon, 28 Jun 2021 15:45:48 +0000 (17:45 +0200)]
cores: add LiteDRAM core.

2 years agotools.flterm: warn and continue after failed TIOCMBIC ioctl.
Jean-François Nguyen [Mon, 28 Jun 2021 14:27:39 +0000 (16:27 +0200)]
tools.flterm: warn and continue after failed TIOCMBIC ioctl.

2 years agoperiph.serial: update default rx_depth value to 256.
Jean-François Nguyen [Mon, 28 Jun 2021 14:19:13 +0000 (16:19 +0200)]
periph.serial: update default rx_depth value to 256.

This is allows the RX FIFO to buffer a complete SFL frame, to avoid a
race condition during a serialboot at a high baudrate.

2 years agoperiph.serial: use buffered FIFOs to help BRAM inference.
Jean-François Nguyen [Mon, 28 Jun 2021 14:18:10 +0000 (16:18 +0200)]
periph.serial: use buffered FIFOs to help BRAM inference.

2 years agotest.test_periph_serial: fix loopback test.
Jean-François Nguyen [Mon, 28 Jun 2021 14:16:15 +0000 (16:16 +0200)]
test.test_periph_serial: fix loopback test.

2 years agotest: _wishbone.py → utils/wishbone.py
Jean-François Nguyen [Mon, 28 Jun 2021 13:47:15 +0000 (15:47 +0200)]
test: _wishbone.py → utils/wishbone.py

2 years agotest: move to sim = Simulator(dut) instead of context manager.
Jean-François Nguyen [Mon, 28 Jun 2021 13:42:45 +0000 (15:42 +0200)]
test: move to sim = Simulator(dut) instead of context manager.

2 years agosetup.py: update dependencies.
Jean-François Nguyen [Tue, 8 Jun 2021 12:53:50 +0000 (14:53 +0200)]
setup.py: update dependencies.

Also, add nmigen to requirements.txt.

2 years agosoftware/bios: bump version.
Jean-François Nguyen [Tue, 8 Jun 2021 12:49:21 +0000 (14:49 +0200)]
software/bios: bump version.

2 years agosetup.py: do not install package as a zip file.
Jean-François Nguyen [Tue, 1 Jun 2021 19:07:53 +0000 (21:07 +0200)]
setup.py: do not install package as a zip file.

2 years agoMANIFEST.in: fix compiler-rt path.
Jean-François Nguyen [Tue, 1 Jun 2021 19:07:29 +0000 (21:07 +0200)]
MANIFEST.in: fix compiler-rt path.

2 years agoperiph.base: use bridge granularity as CSR bus data width.
Jean-François Nguyen [Tue, 18 May 2021 17:16:27 +0000 (19:16 +0200)]
periph.base: use bridge granularity as CSR bus data width.

2 years agoperiph.event: clear pending bits of level-triggered events.
Jean-François Nguyen [Tue, 18 May 2021 17:11:39 +0000 (19:11 +0200)]
periph.event: clear pending bits of level-triggered events.

2 years agosoftware/bios: bump version.
Jean-François Nguyen [Mon, 31 May 2021 17:29:15 +0000 (19:29 +0200)]
software/bios: bump version.

Fixes #9

3 years agoMerge pull request #4 from jeanthom/fix-base-soc
Jean-François Nguyen [Tue, 16 Jun 2020 11:41:44 +0000 (13:41 +0200)]
Merge pull request #4 from jeanthom/fix-base-soc

Fix ConfigBuilder instantiation in SoC base class

3 years agoMerge pull request #3 from jeanthom/master
Jean-François Nguyen [Tue, 16 Jun 2020 11:38:25 +0000 (13:38 +0200)]
Merge pull request #3 from jeanthom/master

Throw exception if two CSR in the same bank have the same name

3 years agoFix ConfigBuilder instantiation in SoC base class
Jean THOMAS [Mon, 15 Jun 2020 09:13:09 +0000 (11:13 +0200)]
Fix ConfigBuilder instantiation in SoC base class

3 years agoThrow exception if two CSR have the same name
Jean THOMAS [Mon, 8 Jun 2020 11:23:48 +0000 (13:23 +0200)]
Throw exception if two CSR have the same name

4 years agoUse HTTPS for lambdasoc-bios submodule URL.
Jean-François Nguyen [Fri, 24 Apr 2020 10:27:04 +0000 (12:27 +0200)]
Use HTTPS for lambdasoc-bios submodule URL.

Fixes #1.

4 years agosoc.cpu: log build output to stderr
Jean-François Nguyen [Thu, 9 Apr 2020 16:38:23 +0000 (18:38 +0200)]
soc.cpu: log build output to stderr

4 years agoREADME: fix install instructions
Jean-François Nguyen [Mon, 30 Mar 2020 15:18:30 +0000 (17:18 +0200)]
README: fix install instructions

4 years agoMove non-PyPI dependencies to requirements.txt
Jean-François Nguyen [Mon, 30 Mar 2020 15:12:20 +0000 (17:12 +0200)]
Move non-PyPI dependencies to requirements.txt

4 years agoMANIFEST: fix non-directory includes
Jean-François Nguyen [Mon, 30 Mar 2020 15:04:09 +0000 (17:04 +0200)]
MANIFEST: fix non-directory includes

4 years agoAdd software/bios to MANIFEST.in
Jean-François Nguyen [Mon, 30 Mar 2020 13:38:03 +0000 (15:38 +0200)]
Add software/bios to MANIFEST.in

4 years agoAdd README and LICENSE
Jean-François Nguyen [Mon, 30 Mar 2020 12:41:05 +0000 (14:41 +0200)]
Add README and LICENSE

4 years agotools: add flterm
Jean-François Nguyen [Mon, 30 Mar 2020 11:59:25 +0000 (13:59 +0200)]
tools: add flterm

4 years agoexamples: add sram_soc example
Jean-François Nguyen [Thu, 26 Mar 2020 12:40:29 +0000 (13:40 +0100)]
examples: add sram_soc example

4 years agosoc.cpu: add CPUSoC and BIOSBuilder
Jean-François Nguyen [Thu, 26 Mar 2020 11:27:02 +0000 (12:27 +0100)]
soc.cpu: add CPUSoC and BIOSBuilder

4 years agosoc.base: add SoC and ConfigBuilder
Jean-François Nguyen [Thu, 26 Mar 2020 11:15:24 +0000 (12:15 +0100)]
soc.base: add SoC and ConfigBuilder

4 years agocpu: add MinervaCPU
Jean-François Nguyen [Thu, 26 Mar 2020 09:00:07 +0000 (10:00 +0100)]
cpu: add MinervaCPU

4 years agoAdd .gitignore
Jean-François Nguyen [Wed, 25 Mar 2020 18:00:38 +0000 (19:00 +0100)]
Add .gitignore

4 years agoperiph.intc: add GenericInterruptController
Jean-François Nguyen [Wed, 25 Mar 2020 16:41:41 +0000 (17:41 +0100)]
periph.intc: add GenericInterruptController

4 years agoperiph.serial: add AsyncSerialPeripheral
Jean-François Nguyen [Wed, 25 Mar 2020 14:51:57 +0000 (15:51 +0100)]
periph.serial: add AsyncSerialPeripheral

4 years agoperiph._event → periph.event
Jean-François Nguyen [Wed, 25 Mar 2020 13:24:04 +0000 (14:24 +0100)]
periph._event → periph.event

4 years agoperiph.sram: add SRAMPeripheral
Jean-François Nguyen [Wed, 25 Mar 2020 12:28:16 +0000 (13:28 +0100)]
periph.sram: add SRAMPeripheral

4 years agoperiph.timer: add TimerPeripheral
Jean-François Nguyen [Wed, 25 Mar 2020 12:22:08 +0000 (13:22 +0100)]
periph.timer: add TimerPeripheral

4 years agoperiph: add Peripheral base class
Jean-François Nguyen [Wed, 25 Mar 2020 11:54:45 +0000 (12:54 +0100)]
periph: add Peripheral base class

4 years agoAdd setup.py
Jean-François Nguyen [Wed, 25 Mar 2020 11:50:08 +0000 (12:50 +0100)]
Add setup.py

4 years agoInitial commit
Jean-François Nguyen [Fri, 13 Mar 2020 19:28:48 +0000 (20:28 +0100)]
Initial commit