Skip to main content Skip to local navigation
Home » Posts tagged 'gcc'

gcc

Simulated Microcontrollers in VPL Exercises

Simulated Microcontrollers in VPL Exercises

In Computer Architecture classes or Embedded Systems classes, it can be really useful to allow for students to be graded on assignments that allow them to interactively explore the inner workings of a microprocessor. One way is to have the students create programs in a hardware description language like Verilog or VHDL. Another way is […]

VPL: Basic Custom Evaluation Example

VPL: Basic Custom Evaluation Example

Sometimes you need to go beyond the default settings in VPL. That means creating a custom "run" and "evaluate" setup. Here, I'll simplify a great example by Dominique Tiebaut, Emeritus prof at Smith College, written for an assignment in C. (archive) We'll check a "hello world" example in C, but won't use the default evaluate.cases […]

Choosing a platform for teaching microcontroller programming

Choosing a platform for teaching microcontroller programming

While planning a book on programming microcontrollers I've been trying to settle on a small group of microcontrollers that could be used for examples. Every couple of years I do this to myself.  Below are a few examples, including the ubiquitous Arduino UNO with an 8-bit chip, as well as the FRDM-KL25Z and Adafruit Metro […]