In the prerequisite course (ECE130-Introduction to Logic design ), you designed combinational circuits and you used specific CAD tools l to simulate and verify that your design was correct. You have also had some experience building and testing real circuits in ECE200. The purpose of this lab is to put those skills together to design, build, and test a combinational logic circuit of moderate complexity.
Refresh your logic gate-level design skills from ECE130. Please review: | |
Design, implement, debug and test a combinational logic circuit of medium size |
CMOS 74HC10 triple 3-input NAND gate packages (74LS10-TTL is also acceptable, but use only one type). Click the part number to see the data sheet. | |
CMOS 74HC4040 12-stage binary counter |
Agilent MSO 7012B Mixed-Signal Oscilloscope (MSO) | |
Digital probes for MSO | |
Agilent 33120A function/arbitrary waveform generator | |
Fixed 5-volt power supply | |
Breadboard |
The circuit that you will design in this lab will accept a four-bit fixed-point value "x" as input and produce a four-bit fixed-point output value "y" that is calculated as: |
y = e-ax, where "a" is a constant of value 5.
Since "y" has more precision than what will fit in four bits, use rounding-up to convert to the closest four-bit representation. |
|
The entire system must be implemented using 3-input NAND gates only, even to perform any necessary logic inversions. |
Digital circuits that perform mathematical functions use either fixed-point representation of floating-point representation. The latter technique permits the largest dynamic range of values for a given number of bits, but the processing circuits are far more complex that their equivalent fixed-point processing circuits.
In a fixed-point representation, the radix point (or "decimal point", which is really a reference to base-10 numbers) is placed at the far left side of the bits.
For example, the binary pattern "100101" is understood to mean "0.1001012", where the subscript "2" indicates a base-2 number. The decimal equivalent of this binary number is 2-1 + 2-4 + 2-6 = 0.510 + 0.062510 + 0.01562510 = 0.57812510. Alternatively, you can slide the radix point six places to the right (this is equivalent to multiplying by 26), convert to a decimal integer, and slide the radix point back to the left side (divide by 26). Thus, 1001012 is 3710, and 37 divided by 26 = 64 is 0.578125. Note that all values in the fixed-point representation are contained in the range zero to almost one (the maximum value is always (2N - 1) / 2N, where N is the number of bits used to represent the fixed-point numbers).
Clean up your work area | |
Remember to submit your lab notebook for grading at the beginning of next week's lab. | |
The lab report should include: |
-Prints of the oscilloscope's screen showing the input (x) and output signals (y) at two different frequencies (Low -KHz range, High-MHz range). Please annotate and label the waveforms to show that lab's results match simulation and truth table.
-Settings of the equipment that you are using for this lab.
-Conclusions and/or any special notes regarding this lab ( like problems that you had, how you solved them, debugging issues etc..).