


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



Logic Circuit Lab Spring 2004
Due: By 6:00pm on Wednesday February 18.
You can build moderately complex logic circuits of up to several hundred gates wiring the SSI and MSI IC’s together using methods building on what you saw in Lab 1. However, in practice, engineers rarely use these methods unless the circuit is fairly small and simple. Instead logic synthesis programs are often used. The logic circuit can input from a truth table, a circuit schematic (best for smaller circuits), or using a hardware description language (HDL). Operation of the circuit is then simulated to make sure the logic design is correct. The next step is typically to either design a custom VLSI IC (usually only justified for high volume applications or applications with specialized requirements), or programmed into either a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). We will learn more about the inner function of FPGA’s and CPLD’s later on in the semester. In this lab we will learn how to use the Xilinx Tools to implement and simulate logic circuit designs from a schematic. We will also learn how to download a design onto the FPGA on the Digilab Boards in Lab 3.
The Xilinx tools are installed on all of the lab stations in the Digital Logic Lab in room 216 Buchanan Engineering Lab, and you will be able to do all of the lab work needed for this course there. However, you will find it very useful to install Xilinx tools on your own PC so that you can draw schematics, perform simulations, and answer the preliminary questions without coming to the lab. The latest version of the Xilinx SW, both the full and student versions, is 4.2i. You may have re- ceived the correct student version with your textbook for COE/EE 243. If not, then you may down- load a free, compatible version from the Xilinx web page. Go to http://www.xilinx.com/ and click on Products, then select Products & Solutions : Design Resources: Free ISE WebPACK. Schematics produced with this software are compatible with the lab software. An ex- cellent tutorial for using the WebPACK software is available at: http://www.xilinx.com/univ/ Beginners_Bk.pdf. Please note: schematics produced under the older software (4.Xi) are not com- patible with the newer software. Two useful, although not always current, web sites are the Xilinx University Program web page, http://university.xilinx.com, and the Xilinx University Resource Center, http://www. xup.msu.edu.
Logic Circuit Lab Spring 2004
3 Using the Xilinx ISE Tools
Unfortunately, the specifics change with each version, but the basic steps remain the same.
We will start out using the schematic editor to enter our design and then we will simulate it.
The basic process is as follows:
Logic Circuit Lab Spring 2004
B Implement as AND-OR network C Implement using all NAND gates D Compare your functional simulation against the truth table for the two implementations of the function. E Compare timing results for each and comment.
6 Schematic Conversion
The following is given as a guide to convert Xilinx 5.1i schematic documents to version 4.Xi which is used in the lab. You probably won’t need to use this, but in case you are using a Xilinx 5.1 compatible tool (such as the Free Webpack tools or the Xilinx 5.1i student version that can be purchased through Prentice-Hall publishing).
Now the file should open on the lab stations in the schematics editor. You might need to re-insert the IO tags, but all the netnames are preserved so it only takes a second. There might be further inconsistencies that we do not know about yet as projects become more complicated, but so far this works.