Skip to content
Juan Gonzalez-Gomez edited this page Feb 13, 2016 · 12 revisions

Introduction

Support for the Simplez soft-processor in PlatformIO

This is a working repo for testing and developing building scripts, boards and platforms definition. When they are ready, they will be pull-requested to the PlatformIO main project

Installation

  • Install Platformio + FPGA: Follow these instructions

  • Clone the platformio-simplez repo and enter into the platformio-simplez folder

$ git clone https://github.com/Obijuan/platformio-simplez.git $ cd platformio-simplez/ ```

  • Install platformio-simplez:
$ scons install
$ pio platforms install simplez
  • Install the simplez toolchain:
$ pip3 install toolchain-simplez
  • Test the hello world program:
$ cd examples/simplez/simplez-blink
$ pio run
[Sat Feb 13 09:31:10 2016] Processing icestick-simplez 
(platform: simplez, board: icestick-simplez, framework: simplez-fw)
-------------------------------------------------------------------------------
sasm src/blink.asm -o src/blink.list
Assembler for the SIMPLEZ microprocessor (Version: v1.2)
Released under the GPL license

OK! Machine code for SIMPLEZ generated

File: src/blink.list
Size:   9 words
Code: 7 words
data: 2 words
========================= [SUCCESS] Took 0.31 seconds =========================
$
  • Upload the bitstream into the FPGA:
$ pio run --target upload

Simplez syntax Highlighting in Atom

Install Atom and the package simplez-asm. Follow these instructions

Authors

  • Juan González (Obijuan)

License

Licensed under a GPL v2 and Creative Commons Attribution-ShareAlike 4.0 International License

Clone this wiki locally