Skip to content

Session 1: Introduction & Development Pipeline

Homework

I was able to try out each of the four examples successfully using the VM/container. I was also able to run the waveforms for each. I was able to figure out some of the values, but I’m unclear on most of what’s going on.

For example, this is showing the fortune teller waveforms, and if you look closely, you can see the individual characters spelling out “definitely” as they were returned.

Fortune Teller Waveforms

This image shows the dice waveforms. In “last_result”, I can see the rolls that were returned by the test, but the other information is opaque to me.

Dice Waveforms

I also tried to follow the instructions in the quickstart file and edited one of the fortune outputs, but the iverilog test didn’t work for me as given.

Code Example

Use the three backticks to separate code.

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.
  pinMode(LED_BUILTIN, OUTPUT);
}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

Image

Markdown code:

![Sample Photo](../images/sample-photo.jpg)