Free Essay

Microprocessor Slides Vhdl

In:

Submitted By LazyBoy93
Words 618
Pages 3
ECE-362 Microprocessor Systems and Interfacing
1

Introduction to VHDL
Introductory Concepts

Hardware Description Languages (HDLs) q In the following ‘C’ program Yout is assigned the value of in0 or

In1 depending on the value of Select :-

if (select == 0) yOut := in0 else yOut := in1;
? What hardware structure would perform an equivalent operation

?

Hardware Description Languages (HDLs) q In the following ‘C’ program Yout is assigned the value of in0 or

In1 depending on the value of Select :-

if (select == 0) yOut := in0 else yOut := in1;
? What hardware structure would perform an equivalent operation

? In0 0 yOut

In1 1 select Hardware Description Languages (HDLs) q In the following ‘C’ program Yout is assigned the value of in0 or

In1 depending on the value of Select :-

if (select == 0) yOut := in0 else yOut := in1;
? What hardware structure would perform an equivalent operation

? In0 0 yOut

In1 1 select = 0

Hardware Description Languages (HDLs) q In the following ‘C’ program Yout is assigned the value of in0 or

In1 depending on the value of Select :-

if (select == 0) yOut := in0 else yOut := in1;
? What hardware structure would perform an equivalent operation

? In0 0 yOut

In1 1 select = 0

Hardware Description Languages (HDLs) q In the following ‘C’ program Yout is assigned the value of in0 or

In1 depending on the value of Select :-

if (select == 0) yOut := in0 else yOut := in1;
? What hardware structure would perform an equivalent operation

? In0 0 yOut

In1 1 select Hardware Description Languages (HDLs) q In the following ‘C’ program Yout is assigned the value of in0 or

In1 depending on the value of Select :-

if (select == 0) yOut := in0 else yOut := in1;
? What hardware structure would perform an equivalent operation

? In0 0 yOut

In1 1 select = 1

Hardware Description Languages (HDLs) q In the following ‘C’ program Yout is assigned the value of in0 or

In1 depending on the value of Select :-

if (select == 0) yOut := in0 else yOut := in1;
? What hardware structure would perform an equivalent operation

? In0 0 yOut

In1 1 select = 1

Exercise (1)
? Write a section of code, in a programming language of your choice, that models the behaviour of the following hardware block diagram :-

a b c d

Add a a+b b Divide a a/b b

Multiplex 0 out 1

z

sel

Exercise (1)
? Write a section of code, in a programming language of your choice, that models the behaviour of the following hardware block diagram :-

a b c d

Add a a+b b Divide a a/b b

Multiplex 0 out 1

z

if sel = ‘0’ { } else { }

sel

Exercise (1)
? Write a section of code, in a programming language of your choice, that models the behaviour of the following hardware block diagram :-

a b c d

Add a a+b b Divide a a/b b

Multiplex 0 out 1

z

if sel = ‘0’ { z = a + b; } else { }

sel

Exercise (1)
? Write a section of code, in a programming language of your choice, that models the behaviour of the following hardware block diagram :-

a b c d

Add a a+b b Divide a a/b b

Multiplex 0 out 1

z

if sel = ‘0’ { z = a + b; } else { z = c/d; }

sel

VHDL Example
Entity F
1 2 3 4 5 6 7 8 ENTITY previous IS PORT ( a : IN BIT_VECTOR (2 DOWNTO 0); b : IN BIT_VECTOR (2 DOWNTO 0); c : IN BIT_VECTOR (2 DOWNTO 0); d : IN BIT_VECTOR (2 DOWNTO 0); sel: IN BIT; z : OUT BIT_VECTOR (2 DOWNTO 0)); END previous;

Architecture F 1

2 3 4 5 6 7 8 9 10 11

ARCHITECTURE behavioural OF previous IS BEGIN PROCESS (a, b, c, d, sel) BEGIN IF sel = ‘0’ THEN z

Similar Documents

Free Essay

Idrivesa

...2007-2008 JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY, HYDERABAD B.TECH. ELECTRONICS AND COMMUNICATION ENGINEERING I YEAR COURSE STRUCTURE |Code |Subject |T |P/D |C | | |English |2+1 |- |4 | | |Mathematics - I |3+1 |- |6 | | |Mathematical Methods |3+1 |- |6 | | |Applied Physics |2+1 |- |4 | | |C Programming and Data Structures |3+1 |- |6 | | |Network Analysis |2+1 |- |4 | | |Electronic Devices and Circuits |3+1 |- |6 | | |Engineering Drawing |- |3 |4 | | |Computer Programming Lab. |- |3 |4 | | |IT Workshop |- |3 |4 | | |Electronic Devices and Circuits Lab |- |3...

Words: 26947 - Pages: 108

Premium Essay

Acer America

...Fourth Edition, last update November 01, 2007 2 Lessons In Electric Circuits, Volume IV – Digital By Tony R. Kuphaldt Fourth Edition, last update November 01, 2007 i c 2000-2010, Tony R. Kuphaldt This book is published under the terms and conditions of the Design Science License. These terms and conditions allow for free copying, distribution, and/or modification of this document by the general public. The full Design Science License text is included in the last chapter. As an open and collaboratively developed text, this book is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Design Science License for more details. Available in its entirety as part of the Open Book Project collection at: www.ibiblio.org/obp/electricCircuits PRINTING HISTORY • First Edition: Printed in June of 2000. Plain-ASCII illustrations for universal computer readability. • Second Edition: Printed in September of 2000. Illustrations reworked in standard graphic (eps and jpeg) format. Source files translated to Texinfo format for easy online and printed publication. • Third Edition: Printed in February 2001. Source files translated to SubML format. SubML is a simple markup language designed to easily convert to other markups like A LTEX, HTML, or DocBook using nothing but search-and-replace substitutions. • Fourth Edition: Printed in March 2002. Additions...

Words: 29763 - Pages: 120

Premium Essay

Electrical Electronics

...UNIVERSITY OF KERALA B. TECH DEGREE COURSE 2008 SCHEME ELECTRICAL AND ELECTRONICS ENGINEERING I to VIII SEMESTER SCHEME AND SYLLABUS BOARD OF STUDIES IN ENGINEERING AND FACULTY OF ENGINEERING AND TECHNOLOGY UNIVERSITY OF KERALA B.Tech Degree Course – 2008 Scheme REGULATIONS 1. Conditions for Admission Candidates for admission to the B.Tech degree course shall be required to have passed the Higher Secondary Examination, Kerala or 12th Standard V.H.S.E., C.B.S.E., I.S.C. or any examination accepted by the university as equivalent thereto obtaining not less than 50% in Mathematics and 50% in Mathematics, Physics and Chemistry/ Bio- technology/ Computer Science/ Biology put together, or a diploma in Engineering awarded by the Board of Technical Education, Kerala or an examination recognized as equivalent thereto after undergoing an institutional course of at least three years securing a minimum of 50 % marks in the final diploma examination subject to the usual concessions allowed for backward classes and other communities as specified from time to time. 2. Duration of the course i) The course for the B.Tech Degree shall extend over a period of four academic years comprising of eight semesters. The first and second semester shall be combined and each semester from third semester onwards shall cover the groups of subjects as given in the curriculum and scheme of examination ii) Each semester shall ordinarily comprise of not less than 400 working periods each of 60 minutes...

Words: 36386 - Pages: 146

Free Essay

Maglev

...*3963103* [3963] – 103 T.E. (Petroleum) (Semester – I) Examination, 2011 DRILLING & PRODUCTION OPERATIONS (2003 Course) Time : 3 Hours Max. Marks : 100 Instructions : 1) Question Nos. 1 and 5 are compulsory. Out of the remaining attempt 2 questions from Section I and 2 questions from Section II. 2) Answers to the two Sections should be written in separate books. 3) Neat diagrams must be drawn wherever necessary. 4) Black figures to the right indicate full marks. 5) Use of Logarithmic Tables, Slide Rule, Mollier Charts, Electronic Pocket Calculator and Steam Tables is allowed. 6) Assume suitable data, if necessary. SECTION – I 1. What are different systems on a drilling rig ? Explain any one in detail with suitable diagramme. 18 2. a) Calculate Bottom hole pressure if well depth is 2500 m and mud weight is 1.2 gm/cc. b) Calculate mud weight if mud gradient is 0.87 psi/ft. ′ c) Calculate volume bbl/meter for drill pipe O.D. = 5′ inch and I.D. = 4.276 inch. 2 2 2 10 8 8 16 d) Draw circulation system on a drilling rig. 3. a) Discuss IADC classification of a bit in details. b) Discuss different factors affecting rate of penetration in details. 4. Write short note on : i) Coring ii) Fishing tools iii) BOP iv) Directional well P.T.O. [3963] – 103 -2- *3963103* SECTION – II 5. a) Discuss different types of casings and function of the casings in brief. b) Discuss different types of well completion techniques. 6. a) Discuss primary cementation process with...

Words: 172166 - Pages: 689

Free Essay

Business Organization

...Computer Organization and Design The Hardware/Software Interface F I F T H E D I T I O N David A. Patterson University of California, Berkeley John L. Hennessy Stanford University With contributions by Perry Alexander The University of Kansas Peter J. Ashenden Ashenden Designs Pty Ltd Jason D. Bakos University of South Carolina Javier Bruguera Universidade de Santiago de Compostela Jichuan Chang Hewlett-Packard Matthew Farrens University of California, Davis David Kaeli Northeastern University Nicole Kaiyan University of Adelaide David Kirk NVIDIA James R. Larus School of Computer and Communications Science at EPFL Jacob Leverich Hewlett-Packard Kevin Lim Hewlett-Packard John Nickolls NVIDIA John Oliver Cal Poly, San Luis Obispo Milos Prvulovic Georgia Tech Partha Ranganathan Hewlett-Packard Table of Contents Cover image Title page In Praise of Computer Organization and Design: The Hardware/Software Interface, Fifth Edition Front-matter Copyright Dedication Acknowledgments Preface About This Book About the Other Book Changes for the Fifth Edition Changes for the Fifth Edition Concluding Remarks Acknowledgments for the Fifth Edition 1. Computer Abstractions and Technology 1.1 Introduction 1.2 Eight Great Ideas in Computer Architecture 1.3 Below Your Program 1.4 Under the Covers 1.5 Technologies for Building Processors and Memory 1.6 Performance 1.7 The Power Wall 1.8 The Sea Change: The Switch from Uniprocessors to Multiprocessors 1.9 Real Stuff: Benchmarking...

Words: 79060 - Pages: 317

Free Essay

Business

...ADMISSION PROSPECTUS 2012 UNIVERSITY OFFICIALS Prof. Dr. Pirzada Qasim Raza Siddiqui Vice Chancellor Prof. Dr. Shahana Urooj Kazmi Pro-Vice Chancellor Prof. Dr. Nasiruddin Khan Pro-Vice Chancellor 99261336 99261300 Ext: 2210 vc@uok.edu.pk 99261396 99261300 Ext: 2531 shahanaurooj@uok.edu.pk 99261340 99261300 Ext: 2532 drnasirkhan@uok.edu.pk DEANS OF FACULTIES Prof. Dr. AbuzarWajidi Faculty of Management & Administrative Sciences Prof. Dr. ZafarIqbal Faculty of Arts Prof. Dr. Darakhshan J. Haleem Dean Faculty of Science Prof. Dr. Ghazala H. Rizwani Faculty of Pharmacy Prof. Dr. HisamuddinMansoori Faculty of Islamic Studies Prof. Dr. S. M. Abbas Faculty of Medicine Prof. Khursheed A. Hashmi Faculty of Law Prof. Dr. Darakhshan J. Haleem – Dean Faculty of Science (Caretaker) Faculty of Engineering Prof. Dr. ZafarIqbal – Dean Faculty of Arts (Caretaker)Faculty of Education University of Karachi Page 3 ADMISSION PROSPECTUS STUDENTS’ STUDENTS’ AFFAIRS o look after students affairs, in general, and to supervise their extra-curricular activities in particular, an office of Advisor Students’ Affairs is situated at the first floor of the Administration block. Teachers and the staff are available for the students’ guidance. 2012 M.Phil./Ph.D theses to students of various departments of the University. LEJ Digital Library is also available at the campus that can be used by all the students to access a large number of books or journals on-line. T Transport: Over...

Words: 40778 - Pages: 164