nmigen-boards.git
4 years agoAd DE10-Lite.
Yusuf Taiwo Hassan [Thu, 12 Mar 2020 18:50:15 +0000 (19:50 +0100)]
Ad DE10-Lite.

4 years agoAdd Alchitry Au board definition.
Joshua Koike [Mon, 10 Feb 2020 01:24:54 +0000 (17:24 -0800)]
Add Alchitry Au board definition.

4 years agosetup: update project URLs.
whitequark [Sun, 9 Feb 2020 17:03:19 +0000 (17:03 +0000)]
setup: update project URLs.

4 years agoversa_ecp5: fix switch{4..7} IO_TYPE.
whitequark [Thu, 6 Feb 2020 21:59:42 +0000 (21:59 +0000)]
versa_ecp5: fix switch{4..7} IO_TYPE.

4 years agoAdd Fomu PVT support.
Jean THOMAS [Mon, 3 Feb 2020 06:52:26 +0000 (07:52 +0100)]
Add Fomu PVT support.

4 years agoartyz7: fix attribute name.
Nicolas Robin [Sat, 18 Jan 2020 22:08:12 +0000 (23:08 +0100)]
artyz7: fix attribute name.

4 years agoAdd Digilent Arty Z7-20 board.
Nicolas Robin [Fri, 17 Jan 2020 21:54:48 +0000 (22:54 +0100)]
Add Digilent Arty Z7-20 board.

4 years agoAdd Digilent Nexys 4 DDR board.
Nicolas Robin [Wed, 15 Jan 2020 17:35:57 +0000 (18:35 +0100)]
Add Digilent Nexys 4 DDR board.

4 years agoblinky: replace deprecated Signal(max=...) (#42)
Nicolas Robin [Mon, 13 Jan 2020 18:54:23 +0000 (19:54 +0100)]
blinky: replace deprecated Signal(max=...) (#42)

4 years agoice40_hx8k_b_evn: fix swapped DTR/DSR
Nicolas Robin [Sun, 12 Jan 2020 10:33:46 +0000 (11:33 +0100)]
ice40_hx8k_b_evn: fix swapped DTR/DSR

4 years agoice40_hx8k_b_evn: fix swapped RTS/CTS
Nicolas Robin [Sun, 12 Jan 2020 00:10:25 +0000 (01:10 +0100)]
ice40_hx8k_b_evn: fix swapped RTS/CTS

4 years agoAdd Lattice ECP5-5G Evaluation Board stub.
whitequark [Tue, 31 Dec 2019 09:56:29 +0000 (09:56 +0000)]
Add Lattice ECP5-5G Evaluation Board stub.

4 years agomister: fix SD card typo
Dan Ravensloft [Sat, 30 Nov 2019 21:26:54 +0000 (21:26 +0000)]
mister: fix SD card typo

4 years agotinyfpga_bx: fix definition of io pin 17
Ezekiel Bethel [Thu, 28 Nov 2019 16:32:36 +0000 (16:32 +0000)]
tinyfpga_bx: fix definition of io pin 17

5 years ago[breaking-change] Atlys: use reset button as reset
Staf Verhaegen [Fri, 25 Oct 2019 10:18:44 +0000 (12:18 +0200)]
[breaking-change] Atlys: use reset button as reset

5 years agoAdd DE10-Nano-based MiSTer.
Dan Ravensloft [Fri, 25 Oct 2019 09:20:20 +0000 (10:20 +0100)]
Add DE10-Nano-based MiSTer.

5 years agoresources.memory: fix typo.
whitequark [Sun, 13 Oct 2019 13:04:15 +0000 (13:04 +0000)]
resources.memory: fix typo.

5 years ago[breaking-change] icebreaker: update leftover user_* resources.
whitequark [Fri, 11 Oct 2019 14:49:34 +0000 (14:49 +0000)]
[breaking-change] icebreaker: update leftover user_* resources.

5 years ago[breaking-change] mercury: update leftover user_btn resources.
whitequark [Fri, 11 Oct 2019 14:44:19 +0000 (14:44 +0000)]
[breaking-change] mercury: update leftover user_btn resources.

5 years agoresources: add conn= argument to every factory.
whitequark [Fri, 11 Oct 2019 14:46:30 +0000 (14:46 +0000)]
resources: add conn= argument to every factory.

5 years agoAdd KCU105 board stub.
whitequark [Thu, 10 Oct 2019 16:37:26 +0000 (16:37 +0000)]
Add KCU105 board stub.

5 years agoAdd TinyFPGA AX{1,2} boards.
whitequark [Thu, 10 Oct 2019 15:38:03 +0000 (15:38 +0000)]
Add TinyFPGA AX{1,2} boards.

5 years agode0cv→de0_cv, for consistency with de10_nano
whitequark [Thu, 10 Oct 2019 12:02:33 +0000 (12:02 +0000)]
de0cv→de0_cv, for consistency with de10_nano

5 years agode10_nano: fix programming.
whitequark [Thu, 10 Oct 2019 11:44:55 +0000 (11:44 +0000)]
de10_nano: fix programming.

5 years agoAdd Terasic DE10-Nano (#32)
Dan Ravensloft [Thu, 10 Oct 2019 10:54:48 +0000 (11:54 +0100)]
Add Terasic DE10-Nano (#32)

5 years agode0{,cv}: {Altera→Intel}Platform
whitequark [Wed, 9 Oct 2019 22:40:29 +0000 (22:40 +0000)]
de0{,cv}: {Altera→Intel}Platform

5 years agotest.blinky: invert LED status when button/switch is active.
whitequark [Wed, 9 Oct 2019 22:38:45 +0000 (22:38 +0000)]
test.blinky: invert LED status when button/switch is active.

Allows testing buttons/switches as well.

5 years agode0: fix typo.
whitequark [Fri, 4 Oct 2019 07:00:52 +0000 (07:00 +0000)]
de0: fix typo.

5 years agoAdd Terasic DE0-CV board.
Dan Ravensloft [Thu, 3 Oct 2019 15:06:54 +0000 (16:06 +0100)]
Add Terasic DE0-CV board.

5 years agode0: fix button polarity.
whitequark [Thu, 3 Oct 2019 09:51:27 +0000 (09:51 +0000)]
de0: fix button polarity.

5 years agoFix typo in SDCardResources().
whitequark [Thu, 3 Oct 2019 09:01:42 +0000 (09:01 +0000)]
Fix typo in SDCardResources().

5 years agoAdd Terasic DE0.
whitequark [Thu, 3 Oct 2019 08:42:08 +0000 (08:42 +0000)]
Add Terasic DE0.

5 years agoFactor out "nor_flash" resource.
whitequark [Thu, 3 Oct 2019 06:41:56 +0000 (06:41 +0000)]
Factor out "nor_flash" resource.

5 years agoFactor out "sdram" resource.
whitequark [Thu, 3 Oct 2019 06:10:53 +0000 (06:10 +0000)]
Factor out "sdram" resource.

5 years ago[breaking-change] Fix polarity of "dm" signal in "memory" resource.
whitequark [Thu, 3 Oct 2019 06:10:43 +0000 (06:10 +0000)]
[breaking-change] Fix polarity of "dm" signal in "memory" resource.

LB# and UB# enable writing their corresponding byte. The "m" in "dm"
means mask; that is, logical high masks (prevents) the byte from
being written. This means that it should use Pins(), not PinsN(),
to get the behavior implied by "mask".

5 years agoReorganize resource taxonomy.
whitequark [Thu, 3 Oct 2019 05:54:12 +0000 (05:54 +0000)]
Reorganize resource taxonomy.

The current hierarchy isn't particularly well suited to resources
like SDRAM or NOR flash, so make it much less fine-grained but easier
to use and less nitpicky.

5 years agoFactor out "sd_card_{1bit,4bit,spi}" resources.
whitequark [Thu, 3 Oct 2019 05:42:59 +0000 (05:42 +0000)]
Factor out "sd_card_{1bit,4bit,spi}" resources.

5 years agodev.display: factor out from dev.user. NFC.
whitequark [Thu, 3 Oct 2019 03:02:44 +0000 (03:02 +0000)]
dev.display: factor out from dev.user. NFC.

5 years ago[breaking-change] Factor out "display_7seg" resource.
whitequark [Thu, 3 Oct 2019 02:56:47 +0000 (02:56 +0000)]
[breaking-change] Factor out "display_7seg" resource.

With the expectation that "display_9seg", "display_14seg" and
"display_16seg" will be forthcoming.

There are no provisions in this resource itself for multiplexing
the display. It is expected that on boards with multiplexed displays,
an additional resource "display_7seg_ctrl" will be provided, and it
would have either an n-bit signal "sel" (binary encoded) or an n-bit
signal "en" (one-hot encoded). (This may be revisited in the future.)

Fixes #17.

5 years agoAdd missing __init__.py.
whitequark [Tue, 1 Oct 2019 21:01:54 +0000 (21:01 +0000)]
Add missing __init__.py.

5 years agodev.user: fix typo.
whitequark [Mon, 23 Sep 2019 10:11:39 +0000 (10:11 +0000)]
dev.user: fix typo.

5 years ago_blinky→test.blinky
whitequark [Mon, 23 Sep 2019 08:16:07 +0000 (08:16 +0000)]
_blinky→test.blinky

Expose blinky as a stable component, to make writing out-of-tree
board files a bit nicer.

5 years ago[breaking-change] Factor out "led", "button" and "switch" resources.
whitequark [Mon, 23 Sep 2019 08:07:37 +0000 (08:07 +0000)]
[breaking-change] Factor out "led", "button" and "switch" resources.

These resources were renamed as:
  * user_led → led
  * user_btn → button
  * user_sw → switch

Fixes #13.

5 years agoFix IO_STANDARD on all iCE40 boards.
whitequark [Sat, 21 Sep 2019 14:30:14 +0000 (14:30 +0000)]
Fix IO_STANDARD on all iCE40 boards.

SB_LVCMOS33 is not recognized by vendor tools. Use SB_LVCMOS instead.

5 years agosetup.py: fixes.
Emily [Fri, 20 Sep 2019 14:13:14 +0000 (15:13 +0100)]
setup.py: fixes.

5 years agonumato_mimas: add spi_flash#0 resource.
whitequark [Wed, 18 Sep 2019 04:25:03 +0000 (04:25 +0000)]
numato_mimas: add spi_flash#0 resource.

5 years agonumato_mimas: SW* are actually buttons.
whitequark [Wed, 18 Sep 2019 04:23:57 +0000 (04:23 +0000)]
numato_mimas: SW* are actually buttons.

5 years agoAdd Numato Mimas (V1).
whitequark [Wed, 18 Sep 2019 04:13:22 +0000 (04:13 +0000)]
Add Numato Mimas (V1).

5 years agoatlys: fix typo.
whitequark [Wed, 11 Sep 2019 23:26:30 +0000 (23:26 +0000)]
atlys: fix typo.

5 years agoFix .gitignore.
whitequark [Fri, 6 Sep 2019 05:30:35 +0000 (05:30 +0000)]
Fix .gitignore.

5 years agosetup: replace versioneer with setuptools_scm.
whitequark [Fri, 6 Sep 2019 05:24:11 +0000 (05:24 +0000)]
setup: replace versioneer with setuptools_scm.

5 years agoUpdate iCE40 GLOBAL and PULLUP attribute to use correct types.
whitequark [Fri, 30 Aug 2019 08:39:30 +0000 (08:39 +0000)]
Update iCE40 GLOBAL and PULLUP attribute to use correct types.

5 years agoAdd ZTurn lite platform.
Robin Ole Heinemann [Sun, 18 Aug 2019 21:07:37 +0000 (23:07 +0200)]
Add ZTurn lite platform.

5 years agoAdd SK-XC6SLX9.
whitequark [Thu, 22 Aug 2019 23:00:01 +0000 (23:00 +0000)]
Add SK-XC6SLX9.

5 years agoAtlys: pass extra keyword arguments to platform.
whitequark [Thu, 22 Aug 2019 21:32:26 +0000 (21:32 +0000)]
Atlys: pass extra keyword arguments to platform.

5 years agoAdd Fomu Hacker platform.
Robin Ole Heinemann [Wed, 21 Aug 2019 21:18:49 +0000 (23:18 +0200)]
Add Fomu Hacker platform.

5 years agoversa_ecp5: prepare for switchable ECP5 toolchains.
whitequark [Wed, 21 Aug 2019 17:51:46 +0000 (17:51 +0000)]
versa_ecp5: prepare for switchable ECP5 toolchains.

5 years agoAdd Mercury platform.
William D. Jones [Tue, 13 Aug 2019 12:20:45 +0000 (08:20 -0400)]
Add Mercury platform.

5 years agoAdd Arty A7 platform.
Jean-François Nguyen [Wed, 7 Aug 2019 23:31:49 +0000 (01:31 +0200)]
Add Arty A7 platform.

5 years agoMake oe in SRAMResource optional.
William D. Jones [Sun, 4 Aug 2019 13:32:34 +0000 (09:32 -0400)]
Make oe in SRAMResource optional.

5 years agoUse Pins/DiffPairs(assert_width) where appropriate.
whitequark [Sun, 4 Aug 2019 11:14:16 +0000 (11:14 +0000)]
Use Pins/DiffPairs(assert_width) where appropriate.

5 years agoAdd Digilent Atlys Spartan-6 board.
Staf Verhaegen [Sun, 4 Aug 2019 11:20:37 +0000 (13:20 +0200)]
Add Digilent Atlys Spartan-6 board.

This board file was developed based on the Atlys reference manual and
the Atlys platform file from litex-buildenv.

5 years ago[breaking-change] Factor out "sram" resource.
whitequark [Sun, 4 Aug 2019 11:08:45 +0000 (11:08 +0000)]
[breaking-change] Factor out "sram" resource.

Fixes #9.

5 years agoAdd missing trailing spaces to multiline connector definitions.
whitequark [Sun, 4 Aug 2019 10:53:20 +0000 (10:53 +0000)]
Add missing trailing spaces to multiline connector definitions.

Or the last and the first on line pin get glued together.

5 years agoRemove useless _blinky.build_and_program() function.
whitequark [Sun, 4 Aug 2019 09:35:14 +0000 (09:35 +0000)]
Remove useless _blinky.build_and_program() function.

5 years agoRemove explicit domain instantiation from blinky.
whitequark [Sat, 3 Aug 2019 18:42:37 +0000 (18:42 +0000)]
Remove explicit domain instantiation from blinky.

5 years agoUpdate all boards to use default_rst.
whitequark [Sat, 3 Aug 2019 16:28:57 +0000 (16:28 +0000)]
Update all boards to use default_rst.

This is pretty much just Versa ECP5 (5G).

5 years agoUpdate all boards to use default_clk.
whitequark [Sat, 3 Aug 2019 16:19:03 +0000 (16:19 +0000)]
Update all boards to use default_clk.

5 years agoReplace subprocess.run(..., check=True) with subprocess.check_call().
whitequark [Sun, 7 Jul 2019 00:11:33 +0000 (00:11 +0000)]
Replace subprocess.run(..., check=True) with subprocess.check_call().

5 years agoAdd support for the iCE40-HX8K Breakout Board
Emily [Fri, 26 Jul 2019 03:13:44 +0000 (20:13 -0700)]
Add support for the iCE40-HX8K Breakout Board

5 years agodev: Refactor resource abstractions to use Resource.family.
William D. Jones [Wed, 10 Jul 2019 16:05:45 +0000 (12:05 -0400)]
dev: Refactor resource abstractions to use Resource.family.

5 years agodev.spi: Update SPIResources to accept a name and direction.
William D. Jones [Wed, 10 Jul 2019 07:58:43 +0000 (03:58 -0400)]
dev.spi: Update SPIResources to accept a name and direction.

5 years agodev.flash: spiflash→spi_flash, spiflash{2x,4x}→spi_flash_{2x,4x}.
whitequark [Fri, 5 Jul 2019 20:15:49 +0000 (20:15 +0000)]
dev.flash: spiflash→spi_flash, spiflash{2x,4x}→spi_flash_{2x,4x}.

Every other resource name uses underscores for separation, like
eth_rgmii, so SPI flash should do it too.

5 years agoversa_ecp5: add missing pin directions.
whitequark [Fri, 5 Jul 2019 20:05:01 +0000 (20:05 +0000)]
versa_ecp5: add missing pin directions.

Fixes #16.

5 years agoFactor out SPI resource definition.
Jean-François Nguyen [Wed, 3 Jul 2019 16:31:21 +0000 (18:31 +0200)]
Factor out SPI resource definition.

5 years agodev.uart: fix typo.
whitequark [Wed, 3 Jul 2019 09:54:39 +0000 (09:54 +0000)]
dev.uart: fix typo.

5 years agokc705: fix openocd command
Sebastien Bourdeauducq [Wed, 3 Jul 2019 09:44:20 +0000 (17:44 +0800)]
kc705: fix openocd command

5 years agoadd KC705
Sebastien Bourdeauducq [Wed, 3 Jul 2019 09:42:48 +0000 (17:42 +0800)]
add KC705

5 years agoblackice_ii: add missing import
Sebastien Bourdeauducq [Wed, 3 Jul 2019 01:04:37 +0000 (09:04 +0800)]
blackice_ii: add missing import

5 years ago[breaking-change] Factor out "irda" resource.
whitequark [Fri, 28 Jun 2019 03:42:02 +0000 (03:42 +0000)]
[breaking-change] Factor out "irda" resource.

5 years ago[breaking-change] Factor out "serial" resource and rename to "uart".
whitequark [Fri, 28 Jun 2019 03:33:41 +0000 (03:33 +0000)]
[breaking-change] Factor out "serial" resource and rename to "uart".

Also, add missing pullups where appropriate.

5 years agoFormatting. NFC.
whitequark [Fri, 28 Jun 2019 03:19:53 +0000 (03:19 +0000)]
Formatting. NFC.

5 years agoAdd Versa ECP5/ECP5-5G support.
whitequark [Tue, 25 Jun 2019 15:50:25 +0000 (15:50 +0000)]
Add Versa ECP5/ECP5-5G support.

5 years agoicebreaker: Fix resource numeration to avoid overlapping with PMOD.
Alexander Hude [Mon, 24 Jun 2019 12:36:45 +0000 (22:36 +1000)]
icebreaker: Fix resource numeration to avoid overlapping with PMOD.

5 years agomystorm BlackIceII support
Staf Verhaegen [Mon, 17 Jun 2019 20:28:23 +0000 (22:28 +0200)]
mystorm BlackIceII support

5 years agomystorm BlackIce support
Staf Verhaegen [Mon, 17 Jun 2019 20:12:44 +0000 (22:12 +0200)]
mystorm BlackIce support

5 years agoConvert DOS line endings.
Staf Verhaegen [Mon, 17 Jun 2019 19:41:54 +0000 (21:41 +0200)]
Convert DOS line endings.

5 years agoUse the new active-low PinsN platform feature.
whitequark [Wed, 12 Jun 2019 15:06:18 +0000 (15:06 +0000)]
Use the new active-low PinsN platform feature.

5 years agoFactor out SPI flash resource definition.
whitequark [Thu, 6 Jun 2019 20:43:40 +0000 (20:43 +0000)]
Factor out SPI flash resource definition.

5 years agoAdd icebreaker platform.
William D. Jones [Thu, 6 Jun 2019 12:51:47 +0000 (08:51 -0400)]
Add icebreaker platform.

5 years agoSimplify after changes in nmigen.
whitequark [Wed, 5 Jun 2019 14:05:02 +0000 (14:05 +0000)]
Simplify after changes in nmigen.

5 years agoUpdate to track changes in nmigen.
whitequark [Wed, 5 Jun 2019 08:59:40 +0000 (08:59 +0000)]
Update to track changes in nmigen.

5 years agoUse vendor's device and package names everywhere, not nextpnr's.
whitequark [Tue, 4 Jun 2019 16:09:37 +0000 (16:09 +0000)]
Use vendor's device and package names everywhere, not nextpnr's.

5 years agoBlink all LEDs at 1 Hz if any board is run as __main__.
whitequark [Tue, 4 Jun 2019 11:06:01 +0000 (11:06 +0000)]
Blink all LEDs at 1 Hz if any board is run as __main__.

5 years agoExtract from nMigen.
whitequark [Tue, 4 Jun 2019 09:47:29 +0000 (09:47 +0000)]
Extract from nMigen.