Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quartiq/mirny

CPLD gateware for the Sinara Mirny module.
https://github.com/quartiq/mirny

artiq cpld fpga migen sinara-hw

Last synced: about 1 month ago
JSON representation

CPLD gateware for the Sinara Mirny module.

Awesome Lists containing this project

README

        

# Mirny CPLD gateware

## Hardware

[![Hardware](https://github.com/sinara-hw/mirny/wiki/Mirny_v1.0_top_small.jpg)](https://github.com/sinara-hw/mirny/wiki)

[Mirny Schematics](https://github.com/sinara-hw/mirny/releases)

## Building

Needs [migen](https://github.com/m-labs/migen) and [Xilinx ISE](https://www.xilinx.com/products/design-tools/ise-design-suite.html). Assumes ISE is installed in ``/opt/Xilinx``.

```
make
```

## Flashing

With Digilent [JTAG HS2](https://store.digilentinc.com/jtag-hs2-programming-cable/) cable:

- download firmware to dongle. Manually (adjust USB bus as needed):
```
/sbin/fxload -t fx2 -I /opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/xusb_xp2.hex -D /dev/bus/usb/001/*`cat /sys/bus/usb/devices/1-3/devnum`
```
or automatically via the ``udev`` rule:
```
SUBSYSTEM=="usb", ACTION="add", ATTR{idVendor}=="0403", ATTR{idProduct}=="6014", ATTR{manufacturer}=="Digilent", RUN+="/usr/bin/fxload -v -t fx2 -I /opt/Xilinx/14.7/ISE_DS/ISE/bin/lin64/xusb_xp2.hex -D $tempnode"
```

- install [xc3sprog](http://xc3sprog.sourceforge.net/)

- ``flash_xc3.sh jtaghs2``

- look for ``Verify: Success``

# License

GPLv3+