CSE 140L Lab 1 - Combinational Circuit DesignSpring 2007, Professor Cheng, TAs Thomas Weng, Chengmo Yang, Yi ZhuDue time: Demonstrate by 4/18 12:30PM, Report in class 4/18Important! Please regularily check http://webboard.ucsd.edu for the latest updates and news regarding this lab. FAQs and announcements will be on the webboard, so check it often! Also, please get started sooner rather than later. This lab should take a bit more than 4 hours to do (assuming you understand the material), but since you must demonstrate this for us, you should be done before Wednesday. Objective Part 1. Introductory Tutorial Part 2. Spell U C S D on the Segment Display In this part, you will design and run a circuit that will
display U C S D on the board's segment display, depending on what
button combination you have pressed. Follow along with the following
tutorial to build and run your circuit. Note the processes that you do
in order to design a circuit. Even though this part is mostly given to you,
please make sure you understand each step. Part 3. Output 1-Bit Numbers with the Segment Display and Switch Input In this part, you will learn to use the 8 switch input. You
will design a combinational circuit that will display the number
corresponding to the 1-bit value associated with switch 1. Thus, if
input 1 is pressed down, then your segment display digit 2 should show
0, and if input 1 is in the up position, your segment display digit 2
will show 1.
Part 4. Adders In this part, you will design a full adder. You will learn how to
create a module with a combinational circuit, and how to use that
module in higher level circuits. By breaking up a combinational circuit
into modules, you can begin to design more complicated circuits. You
will use your 1-bit number displayer from part 3 to display the results
on the segment display.
Part 5. Multiplexers A 2-to-1 multiplexer (MUX) selects one of the two input signals according to the control signal: Input: data signal A and B; control signal ctrl. Output: signal C; Function: C=A if ctrl=0; C=B if ctrl=1. In this assignment, you are required to do the following tasks: 1. Build a 2-to-1 multiplexer using logic gates. 2. A 4-to-1 MUX selects one of the four input signals according to the control signal. Define the specification for this 4-to-1 MUX, i.e., input, output & their relationship. 3. Build the 4-to-1 MUX using the 2-to-1 MUX built in step 1. Demonstrate your work on the board. Use two push buttons as the control lines and switches 1-4 as inputs. Display 0/1 outputs on digit2. For example, if switch 1, 2 are 0 and 3, 4 are 1, then the display will show 0 if the push buttons are (0,0) or (0,1) and will show 1 for the other 2 combinations of button inputs. Report:- Specification of the 4-to-1 MUX; - Schematic diagrams of the 2-to-1 MUX and 4-to-1 MUX; - Functional and timing diagrams of your simulation. Demonstration You will need to demonstrate your project to a lab TA. Please
look at the office hours for when we are available. Note, you can
contact us if those times do not work, as we are happy to meet you outside
those times too durning the evening. For your demonstration, you will
need to demonstrate part 4 and 5. You can bring your laptop with your
FPGA board to us and program the FPGA board in between demonstrations.
So you will first program your board with Part 4, and demonstrate your working adder,
and then reprogram it with your Part 5. For those of you without a laptop, we will
try to set up machines in the lab that have Quartus II for your use, so you can
bring your saved files on a flash drive or email and reprogram on the lab machines.
If all looks good, we
will give you thumbs up. If something doesn't work correctly, then
please go back and fix it. You have up until 12:30 PM Wednesday 4/19 to
demonstrate this to us. Report Instructions You lab report should include:
Grading 30% of your grade will be from the demonstration, so this is an
easy 30%. Another 40% will be in your logic schematics and timing
diagrams. Easy points assuming you were able to demonstrate this for
us. 30% will be in your answers to the questions. Final Notes Good luck with your lab! Also please run through the interactive
tutorial if you haven't before. Now that you have a good familiarity
with the software and system, you can go through some of the guides
with a better grasp than before. There are some other good software
tutorials online as well, on the Altera Quartus II webpage. Being able
to use EDA tools like Quartus II is important for this class.
By now you should be able to:
|