Verilog for Beginners

Published on Slideshow
Static slideshow
Download PDF version
Download PDF version
Embed video
Share video
Ask about this video

Scene 1 (0s)

Welcome to Semi World. Earth Globe Americas.

Scene 2 (1m 13s)

Verilog for Beginners.

Scene 3 (1m 22s)

You will learn all basic and advance Verilog Topics..

Scene 4 (1m 56s)

Basic Verilog : Covers all information that a new user needs to build small Verilog models and run simulations..

Scene 5 (2m 26s)

Verilog HDL(Hardware description Language) offers many useful features..

Scene 6 (2m 44s)

Hierarchical modeling concept : Top-down and bottom-up design methodology.

Scene 7 (3m 46s)

Design Specification. Typical Design Flow. Behavioral Description.

Scene 8 (5m 39s)

There are two types of design methodologies : a top-down methodology and bottom-up design methodology..

Scene 9 (6m 14s)

Bottom-up methodology. Leaf cell. Leaf cell. Leaf cell.

Scene 10 (6m 45s)

The T Flip-flop shown in figure is made up of D flip-flop and exor gate..

Scene 11 (7m 10s)

Verilog Code : T-Flop Flop. module t_flip_flop ( T ,clk ,reset ,D);.

Scene 12 (8m 23s)

module d_flip_flop ( din ,clk ,reset ,dout );. output dout ;.

Scene 13 (8m 56s)

Number specification: sized and unsized.. Sized :.

Scene 14 (10m 1s)

Basic Concept : Number Specification. X or Z values :.

Scene 15 (11m 11s)

Verilog supports 4 state data types.. State Description 1 Logic 1, True condition 0 Logic 0, False condition X Unknown logic value Z High Impedance, floating state.

Scene 16 (11m 48s)

Nets : Keyword – wire. Nets represent connections between hardware elements..

Scene 17 (13m 15s)

Register : keyword – reg. Basic Concept : Data Types.

Scene 18 (13m 46s)

Example of Register. reg val_1; //declare a variable val_1 that can hold its value.

Scene 19 (14m 47s)

Vectors. Nets or reg data types can be declared as vectors (multiple bit widths)..

Scene 20 (15m 55s)

Vector Part select. We can select the parts of the vector..

Scene 21 (17m 1s)

Variable Vector Part Select. [<starting_bit>+:width] - part-select increments from starting bit.

Scene 22 (19m 50s)

We can use loop to select all bytes of the vector..

Scene 23 (22m 15s)

Integer. Integers are declared with keyword integer..

Scene 24 (22m 57s)

Real. Real numbers are declared with keyword real..

Scene 25 (23m 47s)

Time. A special time register data type is used in Verilog to store simulation time..

Scene 26 (24m 39s)

Arrays. Arrays are allowed in Verilog for reg, integer, time and real data types..

Scene 27 (25m 53s)

Values assignments to arrays:. integer cnt[0:7];.

Scene 28 (27m 54s)

Memory. Memories are modeled in Verilog simply as a one-dimensional array of registers..

Scene 29 (28m 49s)

Parameters. Verilog allows constants to be defined in a module by the keyword parameter..

Scene 30 (29m 45s)

String. String does not have any specific data type..

Scene 31 (30m 39s)

Special characters serve a special purpose in displaying strings, such as newline, tabs, and displaying argument values..

Scene 32 (31m 7s)

All system tasks appear in the form $<keyword>.. Operations such as displaying on the screen, monitoring values of signals, stopping, and finishing simulation are done by system tasks..

Scene 33 (32m 6s)

String Format Specifications. Format Display %d or %D Display in Decimal %b or %B Display in Binary %s or %S Display in string %h or %H Display in Hex %c or %C Display in ASCII character %m or %M Display hierarchical name %v or %V Display strength %o or %O Display in octal %t or %T Display in current time format %e or %E Display real number in scientific format %f or %F Display real number in decimal %g or %G Display real number in sci or dec..

Scene 34 (32m 58s)

Examples:. //Display value of 32-bit virtual address 3fe00abc at time 300.

Scene 35 (34m 34s)

$monitor. Verilog provides a mechanism to monitor a signal when its value changes..

Scene 36 (37m 12s)

Stopping and finishing in a simulation. $stop. Basic Concept : System Task.

Scene 37 (37m 58s)

All compiler directives are defined by using the ` construct..

Scene 38 (38m 51s)

`include. The `include directive allows you to include entire contents of a Verilog source file in another Verilog file during compilation..

Scene 39 (39m 36s)

End of the session. Hierarchical modeling concept : Top-down and bottom-up design methodology Basic concept : Number specification, data types, system tasks, compiler directives. Modules and ports : Module definition, Port declaration, Port connections. Gate level modeling : Modeling using basic Verilog gate primitives. Data flow modeling : Continuous assignment, delay specification, operators, Operands. Behavioral Modeling : Initial and always, blocking and non-blocking, generate, event and conditional statements, branching, loops, etc. Tasks and Functions. Useful modeling techniques..