Teaching Digital Design With Hdl
Author(s) -
M. E. Parten
Publication year - 2020
Publication title -
papers on engineering education repository (american society for engineering education)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.18260/1-2--6814
Subject(s) - computer science , session (web analytics) , workstation , software engineering , software , digital electronics , hardware description language , programming language , computer hardware , world wide web , electronic circuit , operating system , electrical engineering , engineering , field programmable gate array
This paper describes the use of hardware descriptive languages (HDL) in an introductory, sophomore level digital design course in electrical engineering. HDL is integrated with the other basic tools in design and simulation of combinational and sequential systems. A number of examples are given. Introduction The use of hardware descriptive languages (HDL) to design digital systems is becoming increasingly common in industry. However, most introductory digital courses in universities do not use hardware descriptive language to any great degree. In the past, most hardware descriptive language software packages were very expensive and frequently only ran on workstations or larger computers. However, recently, there has been an increase in the availability of inexpensive and even free HDL software. This development makes the use of HDL in introductory courses possible and even advantageous. Since most students, these days, already have experience with computers and some programming, HDL is more natural for them than classical digital design techniques. Frequently, when HDL is used in a digital design course, it is taught as a separate topic instead of integrating it with other basic concepts. In addition, it usually doesn’t occur until after combinational and sequential circuits have been covered. However, the newer software packages available today allow HDL to be used as a standard tool in the design and simulation of digital systems. This applies not only to sequential systems but also simple combinational circuits. Most introductory digital design courses teach basic digital logic simplification using basic Boolean algebra and Karnaugh maps, as evidenced by many popular textbooks available today 1,2 . However, Karnaugh maps become more difficult to use with more than four variables. Variable entry mapping is frequently used 3 for higher numbers of variables, but it is difficult to know if it is a true minimum solution. Numerous computer programs have been written that enable simplification of larger systems using variations of the Quine-McCluskey method and other techniques. However, these are frequently past over in many digital courses. P ge 286.1 Sequential systems lend themselves to algorithmic type analysis also. And over the past several years, a number of hardware descriptive languages (HDL) have been developed that allow algorithmic design of digital systems with the software program performing the reduction and fitting of the problem to a specific set of hardware. This is done for programmable logic arrays and for integrated circuit design. Although there are many such hardware descriptive languages, the standard for IC design is called VHDL. Other HDLs are usually specific to the vendor of specific chips. Although digital design using HDL has been around for some time and is well entrenched in industry, HDL is usually only taught at universities in more advanced or elective courses. One of the problems with teaching HDL has been the software has relatively expensive and not available to students directly. However, there are now software packages available to students to run on standard PCs that include powerful hardware descriptive languages . Although these packages may not posses all of the tools available for VHDL, they do allow students to learn the basic constructs of hardware descriptive languages and use the tools to design complex systems. Another problem is the lack of textbooks. There are a number of textbooks on VHDL , and some that include VHDL 7 after completing standard design. An Introductory Course In the Department of Electrical Engineering at Texas Tech University, students are introduced to HDL in their first course in digital systems, EE 2372. There are no prerequisites for the course and it is usually taken the second semester of the freshman year. The outline for the course are given below. EE 2372 Textbook: Modern Digital System Design by Cheung and Bredeson (C) Pspice for Windows Vol. II by Goody Notes References: A number of digital books are also available on reserve in the library listed under the EE labs. Programs: Pspice, PLsyn Week Topic Book 1 Number Systems (C) Ch 1 2 Boolean Algebra (C) Ch 2 3-5 Combinational Logic (C) Ch 3 with Intro. To HDL Plsyn & Pspice 6,7 Sequential Machines (C) Ch. 5 Plsyn 8-10 Programmable logic devices (C) Ch 6 Plsyn 11 MSI Devices (C) Ch 4 Pspice, Plsyn 12,13 Digital system examples Notes Pspice & Plsyn 14 Ladder Logic Notes P ge 286.2 Plsyn is MicroSim’s version of a hardware descriptive language. Wherever Plsyn appears in the outline is where HDL is utilized. Most hardware descriptive languages have a number of ways to present logical statements. As an example a standard seven segment decoder can be represented in a number of different truth table forms, as indicated below. PROCEDURE Sev_Seg_c( INPUT D[3..0]; OUTPUT Oa, Ob, Oc, Od, Oe, Of, Og); TRUTH_TABLE D[3..0] :: Oa, Ob, Oc, Od, Oe, Of, Og; "0 :: 1, 1, 1, 1, 1, 1, 0; 1 :: 0, 1, 1, 0, 0, 0, 0; 2 :: 1, 1, 0, 1, 1, 0, 1; 3 :: 1, 1, 1, 1, 0, 0, 1; 4 :: 0, 1, 1, 0, 0, 1, 1; 5 :: 1, 0, 1, 1, 0, 1, 1; 6 :: 1, 0, 1, 1, 1, 1, 1; 7 :: 1, 1, 1, 0, 0, 0, 0; 8 :: 1, 1, 1, 1, 1, 1, 1; 9 :: 1, 1, 1, 1, 0, 1, 1; ELSE ::.X.,.X.,.X.,.X.,.X.,.X.,.X.; "Don't Cares END TRUTH_TABLE;
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom