Weekly Progress Report : Adding features to simpPRU

Hello,this is my weekly report for my GSoC project of Adding Features to simpPRU, my mentors are Vedant Paranjape,Archisman Dey and Pratim Ugale.I will be reporting my weekly progress through this thread.

Youtube Video: Introduction Video
Progress Tracker Link: Progress Tracker

1 Like

Week 1

Accomplishments

Blockers

  • The arm32v7 was not working, trying to do it by existing image

Upcoming Targets

  • Resolve the current GH actions blocker by using Dockerfile
  • Adding auto-toggle button for status of PRU

Week 2

Accomplishments

  • Setting up my beagle setup for testing, Vedant merged the Dockerfile in which I had a blocker
  • Setting my pocketbeagle to test a auto toggle feature for PRU status
  • Trying out code and testing its final outcome in simppru-console
  • PR opened for the PRU Status auto toggle component
  • Updated the current testsuite with exit code for failure of testcases

Blockers

No Blockers

Upcoming Targets

  • Adding support for (+=,-=,*=,/=)
  • Adding support for xor bitiwise operator
1 Like

Week 3

Accomplishments

Blockers

Upcoming Targets

  • Adding support for (>>=,<<=,|=,&=)
  • Adding support for unary operators

Week 4

Accomplishments

  • Testing all the features till now whether working perfectly with both arm and amd64
  • Working on adding the next set of features >>=,<<=
  • Working on &= for its usage in simpPRU.
  • Working on unary increment and decrement operators
  • Cleaning the code and working on documentation

Blockers

No Blockers

Upcoming Targets

  • Prepare Ring testing and adding compiler flags options to simpPRU

Week 5

Accomplishments

  • Trial testing for Ring testing
  • Went through resources of PRU-GCC for flags inclusion in simpPRU
  • Had written a blog about the progress and experience till now
  • Created the test-branch flags option in command-line options for -O1,O2,O3

Blockers

No Blockers

Upcoming Targets

  • Get the expected values for Ring testing

Week 6

Accomplishments

  • Testing started for Ring Testing with both simpPRU and PRU C
  • Testing it with pru-debugger, tried using different resistors and wiring(connections)
  • Updated with changes mentioned for compiler flags
  • Planning to add conditional operators for simpPRU,working on it
  • Will issue a PR for the documentation of ring testing in simpPRU docs.

Blockers

  • Did not get the expected values for ring testing with PRU C published in the paper,so unable to predict the range when testing with simpPRU.

Upcoming Targets

  • Add return statements to function where it can be called anywhere in the function definition.

Week 7

Accomplishments

Blockers

  • Did not get the expected values for ring testing with PRU C published in the paper,so unable to predict the range when testing with simpPRU.

Upcoming Targets

  • Improving error handling by adding column number for precise error location.

Week 8

Accomplishments

Blockers

  • No Blockers

Upcoming Targets

  • Get the draft reviewed by mentors
  • I am retrying the ring-testing circuit with oscilloscope to get the desired values.

Week 9

Accomplishments

  • Opened PR for conditional operators
  • Updated all PR’s till now by improving their formatting according to the convention of codebase
  • Started with support for AI-64 in simpPRU Updated it further did not push the latest code(Testing it currently)
  • I am also planning for quit button in simpPRU console

Blockers

  • No Blockers

Upcoming Targets

  • Will start with documentation of the work done till now
  • Complete the Blog

Week 10

Accomplishments

  • The PRU auto toggle button has been updated with relocation of it and the suggestions have been implemented.
  • I had planned for quit button,I have made a draft for it now, it works fine
  • For the AI-64 support ,the detecting the model is done but there is an issue in the firmloader part, I am working on that.

Blockers

No Blockers

Upcoming Targets

  • Start with Documenting for the work done
  • Add tests as a single .sim file for all features added in this GSoC 2022.
1 Like

Week 11

Accomplishments

  • N/A ( I had a wedding function to attend in Delhi, so could not work as I was travelling)

Blockers

  • No Blockers

Upcoming Targets

  • Open the PR for Quit Button
  • Prepare report and Documentation PR
  • Prepare final presentation video of all the work done!
1 Like

Week 12

Accomplishments

  • Issued PR for Documentation of all the work done in the tenure of GSoC’22.
  • Issued PR for quit button feature
  • Created Google sheet as mentioned in final submission, added all the PR’s till now and have created a final presentation video
  • Had a chat with Jian regarding ring testing as he was doing GPIO benchmarking,the values which he is getting in his oscilloscope for ring testing is also different from the values which are published in the research paper.Its around 26.67Mhz

Blockers

  • N/A

Upcoming Targets

  • Preparing final report in the wiki page github repo for final submission