Module 0318: How Logisim assigments are graded

Tak Auyeung, Ph.D.

October 17, 2018

Contents

1 About this module
2 The mechanism
3 How to make sure your assignment is gradable
4 Test cases

1 About this module

2 The mechanism

Logisim (2.7.1) has a feature that allows a substitution of a subcircuit, and this provides the most important infrastructural mechanism for grading.

A subcircuit is like a subroutine in programming. The interfaces to a subcircuit are the input and output pins, much like parameters in subroutines. The design of a single file can be “imported” as a subcircuit to be used as a component of a higher level design.

My grading mechanism involves the following:

3 How to make sure your assignment is gradable

In order for the auto-grade mechanism to work, you must pay attention to details, including but not limited to the following:

For each assignment, I will give you a skeletal grading environment so that you can make your own test cases and check whether your file is gradable.

4 Test cases

In certain designs, I use test cases to check the validity of a submitted design. However, test cases for grading purposes are not disclosed. In order to test your design, you must come up with your own test cases.

After an assignment is due and graded, you can check with me if your design is not getting full score and you do not understand why. However, there is no guarantee that I will disclose the actual test cases as a means to explain why a design is not getting all the points.