Friday, January 16, 2015

Early January Hack - Practical RISC-V Random Test Generation using Constraint Programming

As hinted in my previous blog post, here is the presentation I did for RISC-V workshop :



I will not release the test generator quite yet. The method I chose to input the problem to the constraint solver is too verbose.  I am already looking at an alternative solution using Python introspection and or-tools from Google.

I do have a patch for spike to allow the tool to be controlled from a different process.  I can release that if there is interest.

Saturday, January 3, 2015

Mako templates for Verilog, now released

I cleaned up and published code I presented earlier this year on the use of Mako templates for Verilog.

Here is a link to the repository: https://bitbucket.org/ecote/vmako/overview

Update to SimpleMIPS to use elftools, improved tracing, and new instructions

In the spirit of the new year, I am publishing some code that I have laying around on my workstation.

SimpleMIPS is an existing Python-based instruction set simulator for MIPS.  I wrote some code to replace its roll-your-own ELF parser with code from elftools library, to add simple for instruction trace generation, and add support for handful of new instructions.

Here is a link to my the repository : https://bitbucket.org/ecote/miss/overview

Monday, December 29, 2014

Registered for RISC-V Workshop

I registered for the first RISC-V Workshop and Bootcamp that is being put together by the ASPIRE lab at UC-Berkeley.

If I have been quiet on the blog, it is because I have been exploring the RISC-V architecture and the Chisel hardware construction language.

I agreed to present a poster. Stay tuned :)

Wednesday, November 26, 2014

Inforce 6410 and vs-android

This doesn't technically qualify as a personal project, but I acquired a Inforce 6410 single board computer through training that was offered at work.  The training was for writing OpenGL-ES graphic programs on a Snapdragon.  The board is build around a APQ 8064 SoC running Android.

The development platform introduced was Visual Studio and vs-android.  I was surprised by how easy vs-android made it to get C++ OpenGL-ES code running on an Android device.  Sure, there was a setup and learning curve, but at the end there was no struggle with the Android SDK or NDK.

Start to end, no more than a few hours work.  Fun!