Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The world's leading open source SoC with graphics acceleration

This branch is 0 commits ahead and 313 commits behind gps-sdr-testing

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
[> Milkymist(tm) System-on-Chip
-------------------------------

This is the complete core source code and documentation for the opensource
system-on-chip used in the Milkymist(tm) interactive VJ station.

For the latest releases, binary distributions and more:
  http://www.milkymist.org


[> Directory Structure
 /cores/         Cores library, with Verilog sources, test benches and documentation.
 /boards/        Top-level design files, constraint files and Makefiles
                 for supported FPGA boards.
 /software/      Software for the SoC: libraries, bootloader and proof-of-concept renderer.
 /softusb-input/ AVR firmware to implement input device support on the softusb core.
 /doc/           System documentation.
 /tools/         Small tools for developers.
 /patches/       Example patches.


[> Building tools
You will need:
 - GNU Make,
 - Bourne Again Shell (bash),
 - Xilinx ISE for synthesizing the FPGA bitstream (WebPack is enough),
 - LatticeMico32 toolchain for building the SoC software,
 - AVR toolchain for building the USB firmware,
 - SRecord,
 - xxd,
 - native Clang/LLVM toolchain,
 - libGD,
 - RE2C,
 - Lemon parser generator.

To regenerate the FIR filter coefficients (only if you touch it):
 - Scilab.

NB. Before switching synthesis tools, don't forget to run "make clean" in the
synthesis directory.


[> Output files
 /boards/xxx/synthesis/build/system.bit build_bitstream.sh FPGA bitstream.
 /software/bios/bios.bin                build_bios.sh      BIOS image.
 /software/demo/boot.bin                build_demo.sh      Demonstration firmware image.
 /boards/xxx/flash/yyy.mcs              use Makefile       Flash images.
 /doc/xxx.pdf                           build_doc.sh       System-wide documentation.
 /cores/xxx/doc/xxx.pdf                 build_doc.sh       Core-specific documentation.


[> Development
For Verilog simulations, the scripts (usually Makefiles) shipped with the test benches
take care of running the simulator.

Depending on the IP core, one or more of these free simulators are supported:
 - Icarus Verilog (http://www.icarus.com/eda/verilog/)
 - GPL Cver (http://www.pragmatic-c.com/gpl-cver/)
 - Verilator (http://www.veripool.org/wiki/verilator)

For firmware development, a serial console program compatible with automatic firmware
loading over the serial line (SFL boot) is provided in the /tools/ directory.


[> Credits
Most of the work is (C) Copyright 2007, 2008, 2009, 2010, 2011 Sebastien Bourdeauducq.
For this work:
 - The hardware design is licensed under GNU GPLv3.
   See the LICENSE.GPL file for more information.
 - The software (software/*) is licensed under GNU GPLv3, except the SDRAM
   initialization runtime (libHPDMC) which is under GNU LGPLv3.
   See LICENSE.GPL and LICENSE.LGPL.
 - The documentation is licensed under FDL.
   See LICENSE.FDL.

Milkymist is a trademark of Sebastien Bourdeauducq.

The SoC design uses:
 - the Mico32 soft-processor by Lattice Semiconductor. See the LICENSE.LATTICE file.
 - a modified version of wb_conbus by Johny Chi and Rudolf Usselmann. See LICENSE.LGPL.

The directory organization and build scripts were inspired by soc-lm32 by the German
hackerspace Das Labor. Some of the UART and timer code also comes from there.

The software and software library include:
 - the SoftFloat IEC/IEEE Floating-point Arithmetic Package, Release 2,
   written by John R. Hauser. See source files headers for license.
 - fundamental functions library by Jesus Calvino-Fraga. See the LICENSE.LGPL file.
 - line drawing code from the GD library. See the LICENSE.GD file.

Special thanks to the people who did significant things which made this project possible:
 - Wolfgang Spraul and Adam Wang for the manufacturing,
 - Michael Walle for QEMU, UrJTAG and OpenOCD,
 - Joachim Steiger for the case design,
 - Yanjun Luo for the JTAG daughterboard design,
 - Yann Sionneau for his work on RTEMS,
 - Lattice Semiconductor for the Mico32 processor,
 - Shawn Tan for the AEMB processor (used earlier),
 - Stephen Williams for Icarus Verilog,
 - Pragmatic C Software for GPL Cver,
 - Wilson Snyder for Verilator,
 - Henry from Xilinx,
 - Das Labor for providing neat build scripts for SoCs (soc-lm32).


[> Contact
The mailing list devel at lists dot milkymist dot org is the preferred means of contact.
However, if you wish to contact privately the founder of this project:
E-mail: sebastien at milkymist daaht org
Phone:  +33(0)606644335
PGP:    0x9277FCF2

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.9 (GNU/Linux)

mQGiBEnPSIoRBADK2T3lN98btWazmH8W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KslLkv2eC9qE2uKDRNirXMZwCFMSDIhPBBgR
AgAPBQJJz0iKAhsMBQkJZgGAAAoJEBYXL/WSd/zybSEAniuiaCR/7aYk94u06jiQ
lRHoJGwiAJ9JnmgPtl71/XVNcFxNQqUxVTOvjg==
=NnZi
-----END PGP PUBLIC KEY BLOCK-----
Something went wrong with that request. Please try again.