Difference between revisions of "BeagleBoard/GSoC/2021 Proposal/OmkarBhilare"
OmkarBhilare (talk | contribs) (→Timeline) |
OmkarBhilare (talk | contribs) (→Experience and approach) |
||
Line 165: | Line 165: | ||
#[https://github.com/ombhilare999/vga-interface-with-TANG-PRIMER-FPGA VGA Interface With Tang Primer FPGA] <br> | #[https://github.com/ombhilare999/vga-interface-with-TANG-PRIMER-FPGA VGA Interface With Tang Primer FPGA] <br> | ||
#[https://github.com/ombhilare999/Seven-Segment-with-Tang-Primer-FPGA Seven Segment Interface with Tang Primer FPGA] <br> | #[https://github.com/ombhilare999/Seven-Segment-with-Tang-Primer-FPGA Seven Segment Interface with Tang Primer FPGA] <br> | ||
− | '' | + | ''More projects done by me can be found on my [https://github.com/ombhilare999 github]''<br> |
* I have also designed various double-sided boards using Autodesk Eagle and Kicad. <br> | * I have also designed various double-sided boards using Autodesk Eagle and Kicad. <br> | ||
* Esp32 Development Board designed for Embedded and Robotics Application: [https://github.com/SRA-VJTI/sra-board-hardware-design Design], This is the last Board I had designed, this shows that I have a very good understanding of reading schematics which was one of the requirements of the project<br> | * Esp32 Development Board designed for Embedded and Robotics Application: [https://github.com/SRA-VJTI/sra-board-hardware-design Design], This is the last Board I had designed, this shows that I have a very good understanding of reading schematics which was one of the requirements of the project<br> |
Revision as of 13:55, 9 April 2021
Contents
Proposal for Beaglewire Software
About
Student: Omkar Bhilare
Mentors: Michael Welling
Proposal:BeagleWire Software
Code: N/A
Wiki: N/A
GSoC: N/A
Status
This project is currently just a proposal.
Proposal
- Completed All the requirements listed on the ideas page.
- The PR request for cross-compilation task: #154.
About you
IRC: Omkar Bhilare [@ombhilare99:matrix.org]
Github: ombhilare999
School: Veermata Jijabai Technological Institute
Country: India
Primary language : English, Hindi, Marathi
Typical work hours: 10AM-8PM Indian Standard Time
Previous GSoC participation: This is my first time applying for GSoC, I'm an Electronics enthusiast and have a great interest in fields like FPGA, Digital VLSI, Computer Architecture. I have experienced with Intel's Quartus, Xilinx's vivado, and opensource toolchains for ice40. I have also done many projects related to Cyclone2, Upduino3.0(ICE40), Sipeed Tang Primer FPGA.
About your project
- Project name: Beaglewire Software
Description
Introduction
The BeagleWire is an FPGA development platform that has been designed for use with BeagleBone boards. BeagleWire is a cape on which there is an FPGA device (Lattice iCE40HX). The software support for BeagleWire is still in the development phase. In this project, I'm developing and testing the existing software support of Beaglewire.
The known primary issue in Beaglewire is the interface between 32MB SDRAM and ICE40HX4K. For this Solution, I'm going to try options like LiteDRAM(a small footprint and configurable DRAM core) or Advanced SDRAM controller provided by LATTICE.
Why LiteDRAM for SDRAM Control
The Core produced by LiteDRAM is
1. Fully pipelined, high performance.
2. Configurable commands depth on bankmachines.
3. Auto-Precharge.
4. Periodic refresh/ZQ short calibration (up to 8 postponed refreshes).
(;LiteDRAM is already used in commercial and open-source designs)
Testing and Improvement of Subsystem Like I2C, SPI, PWM, UART
In this project I'm going to test all the subsystems like I2C, SPI, PWM, UART in Hardware and the primary goal will be to debug the issues related to it and fix them accordingly. Along with the driver code ready to use solutions will be added in software support.
- I2C: There are two grove Connectors on BeagleWire for I2C, I will test the current Verilog Code of I2C in hardware, and will found out if further improvements can be done or not.
- UART: The existing code of Uart will be tested in hardware, and few examples also will be added for UART.
- PWM: New Example will be created for testing of PWM. Servo Code will serve the purpose of testing the PWM drivers.
Others
- There are current Issues open on BeagleWire Repository, These will be solved during this project.
- More PMODs will be interfaced with the BeagleWire.
- Increase the Documentation and also add getting started guide for BeagleWire.
Details of Implementation
- First of all, I need to load a pre-prepared BBB image to beagle with existing all required drivers and scripts to start BeagleWire development.
The steps give on Quick Start Guide:
- To generate the bitstream I'm going to first try the existing fpga-load script which leverages the FPGA manager, which is the core that exports a set of functions for programming an FPGA with an Image.
LiteDRAM:
1. LiteDRAM provides a small footprint and configurable DRAM core. The configuration of LiteDRAM can be changed using yml input. The examples given the repository as follows:
# # This file is part of LiteDRAM. # # Copyright (c) 2018-2019 Florent Kermarrec <florent@enjoy-digital.fr> # SPDX-License-Identifier: BSD-2-Clause { # General ------------------------------------------------------------------ "cpu": "vexriscv", # Type of CPU used for init/calib (vexriscv, lm32) "speedgrade": -1, # FPGA speedgrade "memtype": "DDR2", # DRAM type . . .
2. This configuration can be changed for this application that is memory type to SDRAM and CPU None:
cpu=None
Testing of Subsystems
1. For this I need to synthesize the Verilog code first using IceStorm Toolchains, I will be first referring to the steps mentioned in the BeagleWire Documentation:
Synthesizing Verilog Code using Icestorm Toolchains
2. Using this I can test the driver codes in hardware and observe the waveforms on DSO if needed.
PMOD Support
1. The BeagleWire has the PMOD connectors reversed from the "Standard" template.
The standard template is as follows:
3.3V | GND | 3 | 2 | 1 | 0 3.3V | GND | 7 | 6 | 5 | 4
The pinout for BeagleWire PMOD:
4 | 5 | 6 | 7 | GND | 3.3V 0 | 1 | 2 | 3 | GND | 3.3V
2. So to use PMODs with BeagleWire One needs to connect the PMOD upside down or use some sort of Breakout Board. I found this Breakout madeout especially for BeagleWire: BeagleWire to PMOD
3. Using this Breakout board I will be Interfacing New PMODs to BeagleWire, changes will be done in the current pcf file for GPIO position if found wrong.
Timeline
Provide a development timeline with a milestone each of the 11 weeks and any pre-work. (A realistic timeline is critical to our selection process.)
Date | Status | Details |
---|---|---|
13 April :: 17 May | Application Review Period |
|
15 May :: 7 June | Community Bonding |
|
June 14 | Milestone #1 |
|
June 21 | Milestone #2 |
|
June 28 | Milestone #3 |
|
July 5 | Milestone #4 | |
July 5 | Milestone #5 | |
July 5 | Milestone #6 | |
July 5 | Milestone #7 | |
July 5 | Milestone #8 | |
July 5 | Milestone #9 | |
July 5 | Milestone #10 | |
August 3 | Milestone #11, Completion YouTube video | |
August 10 - 17 18:00 UTC | Final week: Students submit their final work product and their final mentor evaluation | |
August 17 - 24 18:00 UTC | Mentors submit final student evaluations |
Experience and approach
- I'm well experienced with Verilog and C. I have actual experience with working with FPGAs. I have worked with Intel's Cyclone2, Sipeed's Tang primer, and Upduino3.0(ICE40) FPGA Boards.
- I have done several projects related to these boards with Verilog some of them are as follows:
- riscv-core in verilog
- VGA Interface With Tang Primer FPGA
- Seven Segment Interface with Tang Primer FPGA
More projects done by me can be found on my github
- I have also designed various double-sided boards using Autodesk Eagle and Kicad.
- Esp32 Development Board designed for Embedded and Robotics Application: Design, This is the last Board I had designed, this shows that I have a very good understanding of reading schematics which was one of the requirements of the project
Contingency
What will you do if you get stuck on your project and your mentor isn’t around?
Benefit
If successfully completed, what will its impact be on the BeagleBoard.org community? Include quotes from BeagleBoard.org community members who can be found on http://beagleboard.org/discuss and http://bbb.io/gsocchat.
Misc
Please complete the requirements listed on the ideas page. Provide link to pull request.
Suggestions
Is there anything else we should have asked you?