/neo430_wrapper

Primary LanguageCGNU Lesser General Public License v3.0LGPL-3.0

NEO430 Wrapper

This is a small "wrapper" project that encapsulates the NEO430 Processor by S. Nolting.

It provides the dependency files to build with the IPbus Builder Tool (ipbb)

Building Example (for Digilent CMOD A7)

  • Make working area
mkdir build
cd build
  • Install and activate ipbb
git clone https://github.com/ipbus/ipbb
pushd ipbb
git checkout -q tags/v0.5.2
source env.sh
popd
  • Set up an ipbb working area
ipbb init work
cd work
  • Use ipbb to download NEO430 and wrapper projects
ipbb add git https://github.com/stnolting/neo430.git
ipbb add git https://github.com/DavidCussans/neo430_wrapper.git
  • Create and setup the project
ipbb proj create vivado neo430_wrapper_test  neo430_wrapper:projects/example -t top_digilent_cmod_a7.dep

cd proj/neo430_wrapper_test

# create Vivado project
ipbb vivado project
  • Either open Vivado project in GUI, or implement with the following:
ipbb vivado impl
ipbb vivado bitfile

Running Example

Connect via USB. Connect with a terminal emulator ( e.g. minicom or miniterm.py ). Baud rate is (usually) 19200

Building new software for the NEO430

Can either use the bootloader, or create a new neo430_application_image.vhd file in neo430_wrapper/rtl//core/neo430_application_image.vhd

To create a new neo430_application_image.vhd file:

  • First set the path to the MSP430 tools. For Bristol Linux machines execute the following:
export PATH=$PATH:/software/CAD/ti/msp430_gcc/bin
  • Change directory to where the main.c and Makefile are located, then make install
cd neo430_wrapper/sw/example/prime_numbers

make install
  • Finally, build Bitfile following the instructions in [Building Example (for Digilent CMOD A7)](#Building Example (for Digilent CMOD A7))