Supplement to the hw5 main assignment.

Exception Handling

Description

Cause Codes

Build a New Component Type

You'll be writing in C++, using a development environment you're not accustomed to, but:

See this page. (Some of the images are a version or so out of date, but shouldn't cause any confusion.)

You don't need the component you build to do very much. Its outputs are simply whether or not an exception has occurred (a single, one-bit output) and a cause (a single output a few bits wide). It takes as inputs whatever you find is needed to compute those outputs. (Note that the cause output is a "don't care" if there is no exception.) You code should not be very long.

One last thing: if you REALLY want to you can avoid C++ and Visual Studio and just build this entire step in logic. I think it will be easier to take he approach suggested, though, even if you don't know C++ and Visual Studio.

Building Applications