17 Pages

verilog_tom

Course: ECE 152, Fall 2009
School: UCSB
Rating:
 
 
 
 
 

Word Count: 4517

Document Preview

Spring DeMicheli 93/94 EE271 Verilog According to Tom 1.0 Whats Verilog? The name Verilog refers to both a language and a simulator which are used to functionally specify and model digital systems. This document describes Verilog in the context of producing RTL models of hardware, especially hardware which will subsequently be implemented. Hopefully this document along with some example Verilog code provide what...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> UCSB >> ECE 152

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Spring DeMicheli 93/94 EE271 Verilog According to Tom 1.0 Whats Verilog? The name Verilog refers to both a language and a simulator which are used to functionally specify and model digital systems. This document describes Verilog in the context of producing RTL models of hardware, especially hardware which will subsequently be implemented. Hopefully this document along with some example Verilog code provide what most students need to master Verilog syntax, semantics, and good coding practice, leaving the Verilog reference manuals to be reference manuals. 1.1 The Verilog Language Verilog HDL (Hardware Description Language) was concocted by Gateway Design Automation and later put in the public domain by Cadence Design Systems in order to promote the language as a standard. Verilog models look like programs. Descriptions are partitioned into Verilog modules. Modules resemble subroutines in that you can write one description and use (instantiate) it in multiple places. You can assemble modules hierarchically. Lower-level modules will have inputs and outputs which syntactically look like procedure parameters. The higher-level module instantiates them and connects their input and output ports with Verilog wires in a syntax that looks like a procedure call. The lowest modules in the hierarchy, and possibly others, will have descriptions of functionality. Both declarative and procedural descriptions look like C-language statements with C-like expression operators, but with different meaning for the variables. // Verilog Example, an SR-latch made from two nand gates // This description has no delays, so it wont actually work, // but it shows how modules are put together. module nand(in1, in2, out); input in1, in2; output out; assign out = ~(in1 & in2); endmodule Verilog According to Tom April 27, 1993 1 DeMicheli Spring 93/94 EE271 // This module instantiates and hooks up two nand modules module srlatch(s, r, q, q_b); input s,r; output q, q_b; nand nand1(s, q_b, q); nand nand2(r, q, q_b); endmodule 1.2 The Verilog Simulator Cadence Design Systems sells Verilog-XL, a simulator for the Verilog HDL language. Verilog-XL compiles and runs a systems modules either interactively or in batch mode. Special waveform and state displays are available. Section 5.0 contains details and hints for running Verilog-XL. If the simulated system spans several files, Verilog-XL can assemble it regardless of the order the files are specified in. Verilog-XL compiles the entire system on each invocation, so there are no intermediate object files nor is there an explicit link phase. The compilation step is quite fast, not at all in the way of getting things done. Cadence restricts our use of Verilog-XL, so it will only run on particular machines by the grace of various key files. Contact the authorities for details. 1.3 Of What Use is Verilog? This doc...
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

CSU Northridge - HCGEO - 007
gh Insi ew Nts in HistoricAr ea sVentura, 2009Another GreAt MeetinG on the PAcific coAst Pacific SectionS aaPG-SePM-SeG conventionMay 2 - 6, 2009 - Ventura, California Great Technical Papers and Field TripsSeep TourGreat ActivitiesSan
Acton School of Business - COMP - 212
Design Patterns for GamesStephen Wong Dung NguyenRice UniversityLet's Play a Game Sun's Tic-Tac-Toe What can we learn from this? Arrays For-loops Nested ConditionalsWhat aren't we learning? Delineation of concepts from implementation
Acton School of Business - COMP - 212
Hangman Milestone 1 Grading criteria1. 5% bonus for being done on original due date.2. (adapted from the "Checkpoint" at the bottom of the body parts page)At this point the students should be able to demonstrate:- A working IWord and IBody sy
Acton School of Business - COMP - 212
Design Patterns for GamesStephen Wong Dung NguyenRice UniversityWhat's in a Game?ModelRules Strategies PlayersXadapterViewButtons, etc. Display outputsXadapterInstall adaptersO OControllerGame ModelRules of the Game Board
UCSB - CS - 138
CS 136: Mid-quarter Examination 2Department of Computer Science University of California, Santa Barbara Closed-Book, 75 minutes Fall 2002Instructions Before you answer any questions, print your name and perm number. Read each question carefully.
Old Dominion - COMP - 0304
/*Lab 1Templates and command line argumentsToday, you'll create two template functions, mymin and mymax. You get two guesses what they do. As for command line arguments, you should note that I've used char *argv rather than char *argv[]. The
Acton School of Business - COMP - 212
#%-12345X@PJL JOB @PJL ENTER LANGUAGE = Postscript %!PS-Adobe-3.0 %Title: Microsoft Word - AntWorld.doc %Creator: Windows NT 4.0 %CreationDate: 23:24 10/4/2001 %Pages: (atend) %BoundingBox: 13 28 603 781 %LanguageLevel: 2 %DocumentNeededFonts: (atend
N.C. State - PE - 105
North Carolina State University Department of Physical Education Fall 2005 COURSE: P. E 105:Aerobics and Body Conditioning TH 10:15 Rm 1206 INSTRUCTOR: Joy Kagendo-Charles, Carmichael Gym, Rm. 2020, 513-1545 OFFICE HRS: MW:12:15-1:15 ; TTH 9:00 -10:0
Iowa State - EE - 527
A Probability ReviewOutline: A probability review. Shorthand notation: RV stands for random variable.EE 527, Detection and Estimation Theory, # 0b1A Probability ReviewReading: Go over handouts 25 in EE 420x notes. Basic probability rules:
Iowa State - EE - 527
EM AlgorithmOutline: Expectation-maximization (EM) algorithm. Examples. Reading: A.P. Dempster, N.M. Laird, and D.B. Rubin, "Maximum likelihood from incomplete data via the EM algorithm," J. R. Stat. Soc., Ser. B, vol. 39, no. 1, pp. 138, 1977 wh
Iowa State - EE - 527
General Bayesian Inference IOutline: Basic concepts, One-parameter models, Noninformative priors. Reading: Chapters 10 and 11 in Kay-I. (Occasional) Simplified Notation. potential for confusion, we may use f (x | ) instead of the more cumbersome
Iowa State - EE - 527
Bayesian Inference IIOutline: Multiparameter models. Reading: Chapter 10 in Kay-I.EE 527, Detection and Estimation Theory, # 4c1Multiparameter ModelsSo far, we have discussed Bayesian estimation for toy scenarios with single parameters. In
Iowa State - EE - 527
Outline: An introduction to detection theory, Bayesian decision-theoretic detection theory. Reading: Chapter 3 in Kay-II, Prof. Don Johnson's notes on detection theory, http:/www. ece.rice.edu/~dhj/courses/elec531/notes5.pdf. Notation: We use ()
Iowa State - EE - 527
Testing multiple hypotheses: a Bayesian decision-theoretic approachReading: Ch. 3 in Kay-II.EE 527, Detection and Estimation Theory, # 5b1Testing Multiple HypothesesChoose a parameter-space partitioning: sp(0)sp(1) sp(M -1) = sp, spi spj =
Iowa State - EE - 527
Outline: Neyman-Pearson test for simple binary hypotheses, receiver operating characteristic (ROC). An introduction to classical composite hypothesis testing. Reading: Chapter 3 in Kay-II, (part of) Chapter 5 in Levy.EE 527, Detection and Estim
Iowa State - EE - 527
An Introduction to Probabilistic Graphical ModelsReading: Chapters 17 and 18 in Wasserman.EE 527, Detection and Estimation Theory, An Introduction to Probabilistic Graphical Models1Directed GraphsWe wish to identify simple structure in larg
Iowa State - EE - 527
Hidden Markov Models (HMMs)(Discrete-time Discrete Observation Space Case) [1] is a classical reference on this topic, available on WebCT and IEEE Xplore, For a bioinformatics-related exposition, see Ch. 12 of W.J. Ewens and G.R. Grant, Statistical
Iowa State - EE - 527
EE 527, HW 8, due April 9, 2009.11. Binary vector channel . The output of a binary vector channel with multiplicative noise is is S[0] W [0] X[0] = . . X= S[N - 1] W [N - 1] X[N - 1] S[0] . S= S[N - 1] W [0] . W = W [N - 1] whereand
Iowa State - EE - 527
EE 527, HW 9, due April 16, 2009.11. (a) Find the -level Neyman-Pearson rule (with false-alarm probability ) for testing H0 : = 0 H1 : = 1 . where fX | (x | 0 ) = versus fX | (x | 1 ) = c1 (3 - |x|), |x| 3 0, else c0 x2 , |x| 1 0, else vers
Iowa State - EE - 527
EE 527, HW 10, due April 23, 2009.11. Suppose that we have collected data y k at times k = 1, 2, . . . , T and that the measurement model in (1)(5) in handout Kalman holds. Then, smoothing requires the computation of the following posterior predi
San Diego State - CS - 524
Running on SDSU/Rohan/Fall 06 Wed Nov 15 14:15:05 PST 2006 The input code: %ss%tpackage testloop is body fib : integer; oldfib : integer; tmpfib, i : integer;begin fib := 1; oldfib := 1; writeln("This program also c
San Diego State - CS - 524
Running on SDSU/Rohan/Fall 06 Wed Nov 15 10:40:28 PST 2006 The input code: %ss%t- testing comments.Package test_loop Is Bodyi, j:integer;%dmpBegini := 0;loopwriteln("simple loop, i=", i);i := i + 1;exit when i=3;end loop;
Michigan State University - CEM - 142
E. Kentucky - ITTC - 753
EECS 753 Embedded and Real Time Computer SystemsEECS 753 Embedded and Real Time Computer Systems (3). This course will cover emerging and proposed techniques and issues in embedded and real time computer systems. Topics will include new paradigms,
E. Kentucky - ITTC - 753
Embedded and Real Time Systems Lecture #4David Andrews dandrews@eecs.ukans.eduWhat We Will Cover Today Processing Timing Attributes Purely Cyclic Mostly Cyclic Asynchronous and somewhat predictable Asynchronous and unpredictable Mapping Int
E. Kentucky - ITTC - 753
Time in Embedded and Real Time Systems Lecture #6David Andrews dandrews@eecs.ukans.eduWhat We Will Cover TodayTime and Order1. 2. 3. 1. 2. 3. 1. 2. Causal Order Temporal Order Delivery Order Global Time Precision/Accuracy Sparse Time Internal Sy
E. Kentucky - ITTC - 753
Requirements Analysis Lecture #3David Andrews dandrews@eecs.ukans.eduWhat We Will Cover Today Typical Design Flow Top Down Design Approach Understanding Requirements Functional Behavioral Timing Physical Perform Requirements Analysis on
E. Kentucky - ITTC - 753
Time in Embedded and Real Time Systems Lecture #6David Andrews dandrews@eecs.ukans.eduWhat We Will Cover TodayTime and Order1. 2. 3. 1. 2. 3. 1. 2. Causal Order Temporal Order Delivery Order Global Time Precision/Accuracy Sparse Time Internal Sy
E. Kentucky - ITTC - 753
Embedded and Real Time Systems Lecture #3David Andrews dandrews@eecs.ukans.eduWhat We Will Cover Today Fundamental Concepts and Definitions Functional and Temporal Requirements What Is A Distributed System Things That Matter Most In Embedded
E. Kentucky - ITTC - 753
Embedded and Real Time SystemsDavid Andrews dandrews@eecs.ukans.eduEECS 753 Embedded and Real Time Systems What is an embedded system ?Computer inside a product What makes them different ? Reactive and Real Time Multi-dimensional design spa
E. Kentucky - ITTC - 753
Embedded and Real Time SystemsDavid Andrews dandrews@eecs.ukans.eduEECS 753 Embedded and Real Time Systems What is an embedded system ?Computer inside a product What makes them different ? Reactive and Real Time Multi-dimensional design spa
E. Kentucky - ITTC - 753
Time in Embedded and Real Time SystemsDavid Andrews dandrews@eecs.ukans.eduWhat We Will Cover TodayTime and Order1. 2. 3. 1. 2. 3. 1. 2. Causal Order Temporal Order Delivery Order Global Time Precision/Accuracy Sparse Time Internal Synchronizat
E. Kentucky - ITTC - 753
Requirements Analysis ExampleDavid Andrews dandrews@eecs.ukans.eduWhat We Will Cover Today Typical Design Flow Top Down Design Approach Understanding Requirements Functional Behavioral Timing Physical Perform Requirements Analysis on Sp
E. Kentucky - ITTC - 753
Data Acquisition for Embedded SystemsRajesh GuptaAcknowledgments: Jane Liu, Ki-Seok Chung, University of Illinois, Urbana-Champaign.Overviewl l l l Signal Processing Basics Sampling Digital-to-Analog Conversion Analog-to-Digital Conversion2
E. Kentucky - ITTC - 753
Structured DesignDavid Andrews dandrews@eecs.ukans.eduWhat We Will Cover Today Typical Design Flow Top Down Design Approach Understanding Requirements Functional Behavioral Timing Physical Perform Requirements Analysis on Specific Examp
Rose-Hulman - CH - 211
211 (non-past form) + ex activity A activity B subordinate clause activity B (main clause) Older (1st) activity activity A (subordinate clause) TIME Newer (2nd) activityNON-past form a) is ALWAYS preceded by a NON-PAST form, regardless
Rose-Hulman - CH - 211
Useful expressions are highlighted. Politer than Set phrase. Set phrase () politer than How many nights. Set phrase. 9800 (name) xxx-xxxx We'll bewaiting for you. U (room charge)9800
Rose-Hulman - CH - 211
You and your partner will take 2 day trip to Chicago and has made a detailed plan. However, you two didn't write down some information, and your schedule is not complete. Ask your partner about the schedule by using ~ Ask about , (after ), and (after
Rose-Hulman - CH - 211
/(plain) / /(plain) /(plain)1. Discuss what you will do before, during, and after a trip to a foreign country, using and . Fixed questions are highlighted. e.g., A: B: A: B: A: B: A: (comment) B: BF/GF 2. Next, do the same conversation
Rose-Hulman - CH - 211
(to book a room at a hotel) A: B: Polite way of A: Politer than B: (Polite way of ) A: B: nights: 1()2()3()4()5() room type: (to book a room at a hotel) A: B: Polite way of A: Politer than B: (Polite way of ) A: B: nights:
Rose-Hulman - CH - 211
Let's do something! Volitional form (plain) e.g., () A: Fixed question B: Fixed A: B: A: Suggest some activity B: (game)Examples of activities: Chicago going to the museum; Going to see the game; Going shopping; NY Seeing musicals; Going to th
Rose-Hulman - CH - 211
II: Particles 1) Location: 2) Time: 3) Destination (goal): 4) Purpose: as far as, up to 4) place: 5) time: Place noun + : on the way to; transfer-One more step! -The use of place noun + does not indicate that the place is the desti
Rose-Hulman - CH - 211
Let's provide your opinions, using ~ A: (Your classmate) B: (Your classmate)(Your classmate/sensei) (Your classmate)(Your classmate)
Rose-Hulman - CH - 211
(A. acquaintance & B. close friend) A:(acquaintance) : Your opinion. Reasons B: (close friend) Step 1) : Step 2)
Rose-Hulman - CH - 211
Reporting speech, using A. X (call XY) comics B. X (Y called X) N1(Proper noun) N2(Category Noun): N2 called N1 eg. vs. When you talk about things/people which you think your listener might not know well, mention its category so that
Rose-Hulman - CH - 211
First, write your travel plans in the left column. Then, find out your partner's travel plans. A: B: / A: B: A: B: /(volitional) A: () B:
Drexel - INFO - 684
SS ObyA Handbook for Survivors of SuicideJeffrey JacksonAbout this bookThis is a book for people who have lost a loved one to suicide, written by someone who has suffered the same loss.I lost my wife, Gail, to suicide several years ago.
Drexel - INFO - 684
1a time to grieve,By Susan Gottshall Brandella timeKidsPeace Student Assistance Program helps school children mourn, move onto growReprinted from the Spring/Summer `98 Issue ofA publication of KidsPeace In times of crisis, call: 1-800-8KID-
Central Washington University - OSC - 323
IDENT 323-6592 323-3408 323-9352 323-2542 323-0090 323-7128 323-2932 323-0539 323-7767 323-8062 HIGH LOW AVERAGE STD DEVEXAM 1 PERCENT 105 100% 101 96.2% 86.5 82.4% 81.5 77.6% 81 77.1% 78.5 74.8% 78 74.3% 76.5 72.9% 75 71.4% 67 63.8% 64.5 61.4% 101
Central Washington University - OSC - 323
IDENT 323-6592 323-7128 323-0539 323-2542 323-3408 323-9352 323-7767 323-0090 323-2932 323-8062 HIGH LOW AVERAGE STD DEVEXAM 2 PERCENT 92 100% 87.5 95.1% 80.5 87.5% 74.5 81.0% 74 80.4% 72 78.3% 70.5 76.6% 69 75.0% 65.5 71.2% 64.5 70.1% 61 66.3% 87.
Central Washington University - OSC - 323
IDENT 323-6592 323-7128 323-3408 323-0539 323-2542 323-0090 323-9352 323-2932 323-7767 323-8062 HIGH LOW AVERAGE STD DEVEXAM 1 EXAM 2 EXAM 3 GROUP TOTAL PERCENT 105 92 92 100 389 100% 101 87.5 88 95 371.5 95.5% 78 80.5 69.5 90 318 81.7% 86.5 72 69.
Central Washington University - OSC - 323
Brown,Vanver William Francis,Cory Lynn Golden,Andrew D Goldie,Kyle Douglas Gould,Courtney Dawn Gran,Jason M Schultz,Ben J Tonge,Michael W Wadkins, Jenna Walters,Sommer J22377767 22218062 10520539 22022932 20500090 22167128 22022542 23086592 2312340
Central Washington University - OSC - 323
IDENT 323-0090 323-0539 323-2542 323-2932 323-3408 323-6592 323-7128 323-7767 323-8062 323-9352 HIGH LOW AVERAGE STD DEVEXAM 1 EXAM 2 EXAM 3* GROUPATTEN-PART TOTAL PERCENT FINAL 105 92 92 100 0 389 100% QTR GRADE 78.5 65.5 70 89 -15 288 74% C 75 74
Central Washington University - OSC - 323
DEPARTMENT OF BUSINESS ADMINISTRATION SYLLABUS for OSC 323-OPERATIONS MANAGEMENT SUMMER QUARTER 2007 PERSONAL INFORMATION PROFESSOR: OFFICE: OFFICE HOURS: PHONE: Bill Turnquist Shaw-Smyser 312 7:30 9 am, M & W; 7:30-10:30 am, Tu (or by appointment)
Central Washington University - OSC - 323
Central Washington University - OSC - 323
IDENT 323-6592 323-7128 323-3408 323-0539 323-2542 323-0090 323-9352 323-2932 323-7767 323-8062 HIGH LOW AVERAGE STD DEVEXAM 1 EXAM 2 EXAM 3 GROUP TOTAL PERCENT 105 92 92 100 389 100% 101 87.5 88 95 371.5 95.5% 78 80.5 69.5 90 318 81.7% 86.5 72 69.
Central Washington University - OSC - 323
IDENT 323-6592 323-3408 323-0539 323-0090 323-7128 323-2542 323-8062 323-2932 323-9352 323-7767 HIGH LOW AVERAGE STD DEVEXAM 3 PERCENT 92 100% 88 95.7% 73.5 79.9% 72.5 78.8% 70 76.1% 69.5 75.5% 65 70.7% 56.5 61.4% 56.5 61.4% 56.5 61.4% 51 55.4% 88.
Central Washington University - OSC - 323
IDENT 323-6592 323-7128 323-3408 323-2542 323-9352 323-0539 323-0090 323-2932 323-7767 323-8062 HIGH LOW AVERAGE STD DEVEXAM 1 EXAM 2 TOTAL PERCENT 105 92 197 100% 101 87.5 188.5 95.7% 78 80.5 158.5 80.5% 86.5 72 158.5 80.5% 81 74 155 78.7% 81.5 70
Central Washington University - OSC - 323
Central Washington University - OSC - 323
Sheet1 vti_encoding:SR|utf8-nl vti_timelastmodified:TR|16 Jul 2007 14:35:14 -0000 vti_extenderversion:SR|6.0.2.6551 vti_backlinkinfo:VX| vti_author:SR|PC86798\Turnquis vti_modifiedby:SR|PC86798\Turnquis vti_timecreated:TR|16 Jul 2007 14:35:14 -0000 v
Central Washington University - OSC - 323
Sheet1 vti_encoding:SR|utf8-nl vti_timelastmodified:TR|02 Aug 2007 02:11:18 -0000 vti_extenderversion:SR|6.0.2.6551 vti_author:SR|PC86798\Turnquis vti_modifiedby:SR|PC86798\Turnquis vti_timecreated:TR|02 Aug 2007 02:11:18 -0000 vti_cacheddtm:TX|02 Au