Assignments

Labs (Completed using Digital)

Before completing any of the labs, you need to set-up your course workspace and install the Digital circuit design software on your computers.

  1. Course workspace.

Follow this link to accept the ``assignment’’ for our course workspace. This is where all of the starter code for each lab will be found, and where you can push updates to your assignments so you don’t lose track of your progress.

After you have generated your workspace, you will need to clone it to your machine. Run the following command in a new terminal.

git clone <repo_name>

Then:

cd <repo_name>
ls

You should see the directory for lab1!

  1. Install Digital

Digital is a circuit design and simulation software. A Java Runtime Environment (at least JRE 8) is required to run Digital. You should already have one if you’re using the same computer you used in COMP 210 or COMP 301. If not, please search online for installation instructions for your specific OS and install. You can check the version with java --version.

Follow the instructions on the Digital GitHub page for downloading and running Digital. In short, you simply download the .zip file, unzip it, and run the software.

Windows

To start Digital, simply double click the downloaded Digital.exe executable file.

macOS/Linux

To start Digital, open a terminal and run Digital.jar with

java -jar PATH/TO/Digital.jar

Potential bug for macOS/Linux

If you encounter an uncommon bug where the Open menu does not display .dig files, you can open .dig files by passing them as a command-line argument. For example, if you want to open the file ~/circuit.dig, run java -jar Digital.jar ~/circuit.dig. You can drag a file from Finder to the terminal to automatically paste its absolute path.


Update your course workspace and submitto Gradescope by 11:59 by the posted deadline!

Lab 1. Due 9/11.

Written Assignments

Hand-write your solutions and upload to Gradescope by 11:59 by the posted deadline!

Written Assignment 1. Due 9/4.