eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify...
Transcript of eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify...
![Page 1: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/1.jpg)
eP32 for Lattice Brevia Kit
Silicon Valley FIG
Forth Day
11/20/2010
Chen-Hanson Ting
![Page 3: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/3.jpg)
LatticeXP2 Brevia Kit
![Page 4: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/4.jpg)
The Most Satisfying FPGA
I have tried FPGA’s from all Big 4: Market Share 2009 Sales FPGA
Xilinx 50% $1,825M Virtex, Spartan
Altera 30% $360M Stratix, Cyclone
Lattice 10% $194M ECP3, XP2
Actel 6% $190M IGLOO, ProASI
Lattice has the most satisfying FPGA, a single chip SOC solution
Lattice had the cheapest development board. $49
Lattice has the cheapest development software. Free
![Page 5: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/5.jpg)
LatticeXP2 Brevia Kit
LatticeXP2-5E 6TN144C 2-Mbit SPI Flash memory 128K by 8-bit SRAM RS232 DB9 connector 8 Switches/Pushbuttons Reset pushbutton 8 status LEDs JTAG Interface Parallel Port ispDownload Cable
![Page 6: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/6.jpg)
LatticeXP2-5E 6TN144C
5K LUT4 Logic cells
166K Bits Embedded block memory
10K Bits Distributed memory
3 DSP Blocks
12 18x18 Multipliers
2 PLL
144 Pin TQFP Package
![Page 7: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/7.jpg)
ispLEVER Design Software
ispLEVEL Starter for Windows
Synplify Synthesis Tool
Aldec Active-HDL Simulator
ispVMR FPGA Programmer
XP2 Brevia SOC Demo
LatticeMico8 Reference Design
Many other reference designs
![Page 8: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/8.jpg)
ispLEVER Design Flow
Verilog/VHDL Design Entry
Synplify Synthesis
Functional Simulation
Design Planner
Place and Route
Timing Analysis
FPGA Programming
![Page 9: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/9.jpg)
Comments on ispLEVER
Extremely complex
Require 5 GB disk space
Starter system only does functional simulation
LatticeMico8 is very complicated
LatticeXP2-5E is very capable and pleasant
![Page 10: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/10.jpg)
eP32 on LatticeXP2-5E
Logic design is stored in Flash
EBR RAM is mirrored in Flash
166 Kbits (5K 32-bit Words) are enough to host eForth
External memories are not necessary
Speed 50 MHz without much effort
May be pushed to 200 MHz
![Page 11: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/11.jpg)
eP32 on LatticeXP2-5E
eP32_chip.vhd, top level design
Modules
eP32.vhd, CPU core
Ram_memory.vhd, 4096x32 RAM memory
Uart.vhd, 115200 baud
Gpio.vhd, 16 bit bidirectional
![Page 12: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/12.jpg)
eP32 on LatticeXP2-5E
Transfer InstructionsCALL, BRA, BZ, BC, RET, NEXT
Memory InstructionsLDX, STX, LDXP, STXP, LDI
Arithmetic InstructionsCOM, SHL, SHR, AND, XOR, ADD, MUL, DIV, RR8
Register and Stack InstructionsPUSHS, POPS, PUSHR, POPR, TX, XT, OVER, DROP,
NOP
![Page 13: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/13.jpg)
eP32 on LatticeXP2-5E
1115 Logic Slices (47%)
8 out of 9 EBR memory blocks (89%)
54 MHz clock max
![Page 14: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/14.jpg)
eForth on LatticeXP2-5E
175 Words
32 Bit program and data words
Each word contains 1-5 machine instructions
50 MHz execution rate
No byte addressability
Initialized from flash memory to RAM
![Page 15: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/15.jpg)
Implementation
Ep32.vhd, uart.vhd and gpio.vhd compiled without modification
Ram_memory.vhd was pulled from IPexpress
Ep32_chip.vhd instantiates new ram_memory.vhd
IO pins assigned using Design Planner
Test bench constructed for simulation
![Page 16: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/16.jpg)
Implementation
Synthesis went smoothly
Simulation worked only after test bench was constructed correctly
ispDownload cable had a broken wire inside
RESET button still does not work. To restart, cycle power.
![Page 17: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/17.jpg)
ispDownLoad Cable
Uses Parallel Port on PC for JTAG interface
Supports almost every device with JTAG boundary scan
Uses ispVM System to download and program devices
![Page 18: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/18.jpg)
Demo
FPGA programming cannot be shown because ispDownload cable requires a parallel port on PC.
Power up Brevia Kit and it talks to HyperTerminal on PC.
Turn LED’s on and off
Read pushbutton switches
![Page 19: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/19.jpg)
Summary
Lattice Brevia Board has eP32 now.
LatticeXP2 is the best, through not the largest or fastest, FPGA for single chip SOC applications.
ispDownLoad cable is the best JTAG programmer I have seen so far.
![Page 20: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/20.jpg)
Questions?
![Page 21: eP32 for Lattice Brevia Kit · ispLEVER Design Software ispLEVEL Starter for Windows Synplify Synthesis Tool Aldec Active-HDL Simulator ispVMR FPGA Programmer XP2 Brevia SOC Demo](https://reader033.fdocuments.in/reader033/viewer/2022060609/606038a8376e8672274d9673/html5/thumbnails/21.jpg)
Thank You.