Re: Lab 2

Ed Casas (edc@ece.ubc.ca) Fri, 20 Oct 2000 08:24:34 -0700


Date: Fri, 20 Oct 2000 08:24:34 -0700
From: Ed Casas <edc@ece.ubc.ca>
Subject: Re: Lab 2

> For lab 2, do we assume that the input from the keyboard is always a valid > input (0, 1, 2, 3, or 4)? Yes, if you want. > If not, how should we deal with an invalid input? ... > We can either reject it in the assembly language part or in the > VHDL part (although I think we would have to deviate from a > straight-up implementation of the figure on page 3). I don't > see this discussed anywhere in the lab handout. Any behaviour that is not specified in the lab instructions you may implement in any way you want. I'd suggest the simplest approach to begin with (which is probably to ignore errors). > Also, do you want a prompt given to the user? Unless it's in the specifications it's not required. Implement the required functionality first and if you have time and interest you can add more features. -- Ed Casas edc@ece.ubc.ca http://casas.ece.ubc.ca +1 604 822-2592