uHMCU Alpha 0.1 – Interrupts and improved assembly

Term is over! I’m free for another Easter so hopefully I can get a couple of blog posts done though I’m taking a trip to visit Chernobyl so my levels of irradiation might end up screwing up everything electronic… (lol.) Assembler The assembler I’ve been using previously had been written quite a while ago and […]

uHMCU 7 – USART

I posted about my microcontroller design a couple of posts back. As it turns out, I had actually designed it wrong! I didn’t have the pipeline fully sorted meaning I couldn’t properly execute some instructions and some things weren’t working properly. After a quick stack overflow¬†question, I realised the error of my ways and figured […]

HMCU V1…2…3…6?

Its been a long time since I’ve written VHDL and I’ve since forgotten which version of my microcontroller I’m on – my filing system says 6 but I’m feeling a bit sceptical, 6 rewrites seems a bit extreme! Regardless, I’ve since been deciding what I should do for my final year project and one of […]

uHMCU FPGA Implementation

Having already designed the microcontroller in a simulation environment, I wanted to take it to the implementation phase. I’d previously shown an implementation of a timer in simulation so keeping the same test program, I wanted to make sure it worked in implementation! Firstly, I decided to replace the simulation ROM and RAM for IP […]

Return of the HMCU…

Well! It turns out I’m coming to the end of my work placement (booo!) but boy have I learnt a lot. A lot of my work consisted of writing VHDL, along with testing its functionality in a simulation environment. I’ve learnt about text file parsing, different methods of structuring your VHDL code, along with good […]

The HMCU-C Assembler…

With work looming over me (starting tomorrow infact…) I’ve decided to further progress my C implementation of the HMCU. As a bit of a challenge with strings, I decided to build myself a compiler. While its fun writing instructions in Excel, its a bit of a pain because you have to know your powers of […]

The HMCU… In C?!

You heard correct! I’ve written my HMCU as a virtual machine in C. I’m not actually a fan of the only virtual machine language I can think of off the top of my head – Java though I think thats more at fault to the syntax and way of programming, all that overloading, inheritance and […]