vlsi technology page: vanguard (vg) the first open...
TRANSCRIPT
![Page 1: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/1.jpg)
VLSI Technology page:
VANGUARD (VG) – The First
Open Source RISC-V SoC
Project in Vietnam
QUYNH DO-NGOC ([email protected])
QUAN NGUYEN-HUNG ([email protected])
& VLSI TECHNOLOGY PAGE’S COWORKERS
1
![Page 2: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/2.jpg)
Agenda
Introduction to VLSI Technology page
Vanguard (VG) open source project
VG structure
Roadmap and Status
Purpose
Resource
09/18/2020VLSI technology page
2
![Page 3: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/3.jpg)
Introduction to
VLSI Technology
page
09/18/2020VLSI technology page
3
![Page 4: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/4.jpg)
Introduction to VLSI Technology page
09/18/2020VLSI technology page
4
Engineers
Technical
Students
More technical
students
More sharing
Blog
YouTube
More the
public
discussion
![Page 5: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/5.jpg)
Activities
1. Discuss and select topics
2. Establish a team for each topic
3. Make a plan and investigate the selected topics
4. Create examples and tutorials
5. Publish results as documents or videos
09/18/2020VLSI technology page
5
Flexible communication
ChatOnline
meeting
Face to
faceThe current content is focused on the design and
verification but we are investigating the back-
end phase.
![Page 6: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/6.jpg)
First Open Sources
09/18/2020VLSI technology page
6
SystemVerilog UVM environment
SystemC UVM environment
RTL code generation tool
IP cores
Online courses
Repo link: https://github.com/nguyenquanicd/VG_RTL
![Page 7: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/7.jpg)
Vanguard (VG) Open
Source Project
09/18/2020VLSI technology page
7
![Page 8: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/8.jpg)
09/18/2020VLSI technology page
8
VG Diagram
Memory bus – MEM bus (AXI bus) Display bus – DP bus (AXI bus)
VG CPU core(VGC)
DDR4 controller(DDRC)
On chip memory 1(OCMEM 1)
NOR-Flash/ARAM controller
(FRC)
VGA display(VGA)
2xWDT
Low Bandwidth Peripheral bus – LBP bus (AXI bus)
2xUART1
2xPWM
4xGPIO
DMA1
SD Card/eMMC(CMC)
Segment LCD controller
(SLCD)
DMA2JTAGDMA0
Configuration bus - CFG bus (APB bus)
MEM bus is the master
DP bus is the slave
FRC
DDRC
DMA
SLCD
VGA
CMC
Interrupt controller
(INTC)
INTC
Error Manager(EM)
To INTC
RESET
Clock generator(CLKG)
4xTimer
PLL
Voltage regulator
Authentication and Secure Module
(ASM)
CROM
CFUSE
ASM
Port Control(PC)
MEM bus is the slave
DP bus is the master
Peripheral bus 1 – PP1 bus (APB bus)
2xSPI/QSPI0 CAN1
2xI2C0
Peripheral bus 0 – PP0 bus (APB bus)
CAN0 2xSPI/QSPI1
2xI2C1
2xUART0
AsyncBridge
On chip memory 0(OCMEM 0)
Feature1/ System bus width is 32 bits
2/ System bus uses AXI4 and
APB4 protocol
3/ Clock domain:
- VG CPU core: >= 1.2 GHz
- MEM bus: 1 GHz
- DP bus: 800 MHz
- LBP/PP0/PP1/CFG bus: 200 MHz
![Page 9: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/9.jpg)
09/18/2020VLSI technology page
9Detail Function Block
No. Sub-System Description
1 VGC RISC-V CPU core executes all programs
2 Memory
(MEM) bus
Interrupt controller (INTC), JTAG interface (JTAG), Watchdog timer (WDT),
Direct Memory Access (DMA), On-chip memory (OCMEM), External
Asynchronous NOR-Flash/RAM controller (FRC), DDR4 SDRAM controller
(DDRC), Authentication and Security Management (ASM)
3 Display (DP)
bus
Direct Memory Access between two sub-system (DMA), Segment Liquid
Crystal Displays controller (SLCD), Video Graphics Array controller (VGA), SD
Card/eMMC memory controller (CMC)
4 Low
Bandwidth
Peripheral
(LPB) Bus
Timer controller (Timer), Universal Asynchronous Receiver/Transmitter (UART),
Pulse-width modulation (PWM), General purpose input/output (GPIO), Reset
controller (RESET), Clock controller and generator (CLKG), Serial Peripheral
Interface (SPI/QSPI), Controller Area Network (CAN), Inter-Integrated Circuit
(I2C), Error management (EM)
5 Configuration
(CFG) bus
Read/Write to all configuration registers of peripherals in AXI bus
![Page 10: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/10.jpg)
09/18/2020VLSI technology page
10RV12 Architecture (Roa logic)
ISA Support:
- RISC-V User Level ISA v2.2
- Privileged Architecture v1.10
The RV12 is a highly
configurable single-issue,
single-core RV32I, RV64I
compliant RISC
CPU intended for the
embedded market.
![Page 11: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/11.jpg)
Why is RISC-V?
First thing: RISC-V is Royalty Free Industry standard Instruction Set Architecture (ISA)
It is easy for everyone to access and use ISA in their open projects
The open source community will grow strongly like the ISA becomes the more and more
popular. In the hardware world, RISC-V role will be same as Linux OS in the software world.
RISC-V is not only built on FPGA but also proven by the silicon.
Some chips are commercial such as products from SiFive*1, Syntacore*2, etc.
According to SiFive website, the performance of RISC-V chips are comparable to ARM chips.
Concretely, SiFive U8-Series should be competitive with ARM Cortex-A72.
This ISA supports both 32-bit instructions and 16-bit compressed instructions: they can be used in
many chips from a small embedded to a high performance processor.
09/18/2020VLSI technology page
11
*1: https://www.sifive.com
*2: https://syntacore.com
![Page 12: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/12.jpg)
Roadmap
09/18/2020VLSI technology page
12
First release
(CPU, Bus system
and On-chip
Memory + trial
FPGA)
Second release
(Full system
includes all IPs)
Third release
(Develop some
applications on
the SoC)
2020 2022 2023
![Page 13: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/13.jpg)
RISC-V Core Development Plan
First and second version: RISC-V CPU is open source core from Roa logic*1 with
following modifications:
Bus interface unit has been changed from AHB interface to AXI4 interface to improve the
system performance
The unit test environment of CPU is also updated. Currently, the modification has been
completed and verified with these sets of instructions: rv32ui and rv32si from riscv-tests*2
RISC-V ISA implements and executions are investigated deeply
Third version: RISC-V core is improved
Architecture: re-design this core to build a superscalar processor
09/18/2020VLSI technology page
13
*1: https://roalogic.com
*2: https://github.com/riscv/riscv-tests
![Page 14: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/14.jpg)
Current Status: Focus on the phase 1
RISC-V CPU Core modification and unit test are completed
Bus systems
The design and the basic verification of APB bus are completed. The full
simulation environment is being built
AXI bus is on-going the design phase
On-chip Memory is completed
Others: SPI, UART and CAN are completed
09/18/2020VLSI technology page
14
![Page 15: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/15.jpg)
Purpose
09/18/2020VLSI technology page
15
Supply an open source SoC to study, research, and use in Vietnam
Develop a RISC-V SoC on FPGA
Promote a RISC-V community in Vietnam
![Page 16: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/16.jpg)
Resource
Core team: 10 engineers and 2 students
Short-term supporters (3 months): 5 to 10 members
Advantage
Many students and engineers have a need for academic research
Knowledge of RISC-V started to be popular in Vietnam beginning from the universities and institutes
Participants will have access right to project knowledge and data soon
Disadvantage
The activities of group are not regular
The working time cannot be strictly because membership is voluntary and cannot join full-time
No member has a lot of experience in back-end phase
09/18/2020VLSI technology page
16
![Page 17: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/17.jpg)
Questions and Answers
09/18/2020VLSI technology page
17
![Page 18: VLSI Technology page: VANGUARD (VG) The First Open ...riscv-association.jp/wp-content/uploads/Vanguard-The...2020/09/18 · VLSI Technology page: VANGUARD (VG) –The First Open Source](https://reader030.vdocuments.us/reader030/viewer/2022012003/60b12936589dcf2710781b61/html5/thumbnails/18.jpg)
“
”THANK FOR YOUR ATTENTION!
VLSI TECHNOLOGY PAGE – VIETNAM
09/18/2020VLSI technology page
18