All language subtitles for #01 Introduction to Verilog HDL using Free Software Icarus, GTKWave, and VS Code

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish Download
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

hardware

description

language

is

a

computer

based

language

that

is

used

to

design

the

hardware

of

digital

or

analog

systems

in

textual

form

one

way

to

design

digital

systems

is

through

the

visual

approach

where

you

tried

to

put

neck

circuit

diagrams

using

wires

and

the

resulting

design

is

what

we

call

a

skimmer

ethic

diagram

however

when

circuit

complexity

increases

it

is

harder

to

design

the

circuit

using

schematic

diagrams

and

this

is

where

returned

to

textual

computer

language

that

concisely

captures

the

details

of

that

digital

design

the

key

advantage

of

you

seeing

eight

x

twelve

form

of

designed

like

a

standard

day

days

each

the

l

or

hardware

description

language

is

that

when

you

pass

your

sirikit

designed

to

other

engineers

or

designers

they

can

easily

understand

it

and

edit

it

in

an

efficient

manner

when

they

want

to

edit

your

circuit

they

will

just

change

a

few

lines

of

goats

instead

of

disconnecting

and

connecting

some

wires

here

are

some

exam

samples

of

different

hardware

description

languages

out

that

a

hardware

description

language

or

each

the

l

is

an

h

d

l

developed

by

out

there

a

corporation

and

it

is

used

for

out

there

are

complex

programmable

logic

devices

r

cp

lds

and

field

programmable

gate

arrays

r

f

b

g

eats

just

another

her

where

description

language

or

g

h

d

l

is

and

the

elder

allows

you

to

build

circuits

using

object

oriented

approach

for

example

you

can

group

logic

gates

into

java

objects

etc

etc

b

h

s

i

c

hardware

description

language

or

v

h

d

l

s

n

h

d

l

used

to

design

the

it'll

and

mixed

signals

like

integrated

circuits

in

contrast

to

very

log

b

h

d

l

will

require

you

to

write

more

code

for

the

same

task

that

is

about

to

be

carried

out

in

a

way

very

long

it's

more

compact

than

v

h

d

l

by

the

we

be

each

s

i

see

me

it's

very

high

speed

integrated

circuits

we

now

turn

to

to

very

log

very

long

is

an

h

the

l

that

is

based

on

the

c

language

and

it

is

used

for

modeling

electronic

systems

another

example

of

each

the

l

a

system

very

log

system

very

long

it's

just

an

enhanced

version

of

very

log

that

has

additional

features

like

verification

language

object

oriented

this

saying

etc

in

our

class

we

will

be

using

very

long

because

it

is

the

most

popular

each

the

elder

this

used

in

the

semiconductor

industry

to

start

the

discussion

less

familiarize

ourselves

with

a

few

concepts

used

in

very

log

a

very

look

best

bench

or

a

test

bench

is

just

another

better

look

file

that

is

used

to

test

the

timing

and

functionality

of

a

module

of

a

design

we

used

a

test

bench

to

simulate

an

analyst

at

the

same

without

connecting

a

physical

device

like

an

f

b

g

eight

or

practically

speaking

at

that's

bench

it's

just

another

code

for

you

to

test

a

very

le

code

logic

syntheses

refers

to

the

process

of

that

either

in

a

list

of

physical

components

and

their

connections

from

the

model

described

by

the

each

the

code

this

nice

of

components

and

their

connections

is

also

called

a

necklace

the

logic

of

a

module

can

be

represented

in

any

of

these

three

very

look

modeling

style

that

i'm

about

to

show

you

engage

level

modeling

the

city

kit

is

represented

by

specifying

it's

logic

gates

and

their

interconnections

in

data

flow

modeling

operators

that

up

on

binary

operands

are

used

to

represent

the

logic

of

a

sarah

in

behavioral

modeling

digital

circuits

are

represented

at

the

functional

level

here

the

designer

only

needs

to

know

the

algorithm

of

the

circuit

and

the

designer

does

not

need

to

know

the

gate

level

design

of

the

circuit

let's

now

turn

to

very

log

basic

syntax

when

it

comes

to

the

basic

syntax

first

of

all

very

long

h

the

an

escape

sensitive

in

other

words

if

you

change

one

letter

into

an

upper

case

or

lowercase

letter

then

you

now

have

a

new

variable

and

so

on

white

spaces

like

spaces

babs

a

new

lines

are

ignored

keywords

are

lower

case

when

we

say

keywords

these

are

words

that

have

a

special

meaning

in

very

long

each

the

l

in

other

words

you

cannot

use

them

as

variable

names

because

they

are

reserved

words

in

this

language

variable

names

must

start

with

alphabet

the

character

or

and

underscore

in

any

programming

language

variable

is

just

a

container

for

values

in

addition

system

task

and

functions

starts

with

dollar

sign

comments

in

very

long

are

similar

to

see

language

if

you

want

to

have

one

lane

comment

used

a

double

forward

slash

if

you

want

to

have

multi

lane

comment

use

slash

as

thaddeus

than

the

comment

then

as

studies

slash

comments

are

that

have

no

effect

in

the

simulation

in

this

demo

i

will

begin

coding

using

the

old

version

then

i'll

gradually

transition

to

the

new

version

in

the

succeeding

uploads

look

h

d

l

a

module

is

a

fundamental

unit

that

performs

a

specific

function

practically

speaking

a

module

is

just

a

block

of

code

and

closed

between

the

keyword

bear

module

and

and

module

the

keyword

module

is

followed

by

the

name

of

the

module

and

if

your

module

requires

inputs

and

outputs

the

module

name

is

followed

by

the

list

of

input

and

output

ports

so

we

collectively

called

this

a

sport

lists

and

the

sport

least

is

enclosed

by

parenthesis

each

component

of

the

partly

as

is

separated

by

commas

the

keyword

module

must

always

be

terminated

by

a

keyword

and

module

if

your

module

contains

sports

then

you

must

tell

how

to

use

the

sports

and

the

following

lines

i'm

declaring

parts

a

b

and

c

as

inputs

and

ports

the

n

e

s

outputs

in

other

words

ain't

telling

the

computer

that

i

will

be

using

ports

a

b

and

c

as

inputs

and

ports

d

and

e

s

outputs

so

just

like

the

c

language

each

statement

in

very

log

is

terminated

with

a

semicolon

when

it

comes

to

studying

very

long

h

the

l

we

will

use

he

cuddles

very

long

platform

because

unlike

other

platforms

icarus

very

long

does

not

force

you

to

do

registration

in

other

words

it

doesn't

let

private

companies

harvest

personal

information

from

the

users

to

install

ecoboost

very

log

or

a

very

long

open

your

favorite

web

browser

and

type

in

he

cut

us

a

very

log

download

the

browser

will

recommend

you

an

external

link

to

the

packages

like

the

ones

in

blow

your

that

org

but

i

prefer

to

up

in

the

original

i

very

la

website

so

that

you

can

still

download

the

installer

in

case

the

external

links

changes

it's

u

r

l

so

up

in

this

ecos

that

i

very

look

dot

com

once

you're

in

this

website

click

this

here

link

directly

below

this

where

is

he

covers

very

logged

decks

and

once

you

click

the

link

it

will

bring

you

to

this

i

very

long

installation

guide

scroll

down

until

you

reach

installers

if

you're

using

windows

choose

icarus

very

look

for

windows

click

this

link

and

it

will

bring

you

to

player

that

oregon

go

to

download

section

and

click

the

latest

stable

release

whatever

that

executive

will

is

your

installer

download

will

now

begin

i'll

open

the

downloads

folder

and

transfer

the

installer

on

the

desktop

to

remind

myself

that

i

will

delete

it

after

the

installation

process

right

click

the

installer

and

run

it

as

administrator

because

you

will

be

installing

it

in

your

c

drive

after

that

the

acres

very

looks

setup

dialog

box

will

open

except

the

agreement

before

clicking

next

note

that

it

requires

you

to

choose

installation

folder

without

spaces

click

next

in

my

system

it

will

be

installed

in

see

drive

a

backslash

i

very

dog

folder

i'll

just

click

next

make

sure

that

install

g

d

k

we

checked

both

https

is

enabled

to

install

g

t

k

we

click

next

later

i'll

demonstrate

the

purpose

of

this

g

t

k

we've

here

you

can

modify

the

folder

name

of

icarus

very

long

but

i

won't

change

the

default

name

so

i'll

just

click

next

i

don't

want

to

create

a

desktop

icon

because

anyone

my

desktop

to

be

as

clean

as

possible

so

i'll

unchecked

this

one

and

click

next

then

click

install

leave

the

at

the

executive

bus

directory

to

the

path

variable

checked

then

click

finish

just

to

make

sure

that

i

very

long

libraries

are

accessible

when

you

use

the

terminal

let's

update

the

environment

variable

even

though

there's

a

prompt

a

while

ago

that

the

path

of

variable

is

already

up

so

i'll

go

to

the

location

of

the

executive

bus

in

my

system

it

is

in

the

c

drive

a

very

long

been

l

copy

this

path

in

the

window

search

bar

type

in

system

or

control

panel

then

click

control

panel

click

system

and

security

then

them

then

advance

system

settings

click

environment

variables

under

user

variables

click

new

at

variable

name

i

very

log

then

paste

the

variable

value

which

is

the

bin

folder

path

then

click

ok

click

ok

and

then

click

ok

and

then

close

all

this

when

those

to

check

if

i

very

long

is

installed

up

and

windows

terminal

by

typing

windows

terminal

on

the

windows

taskbar

search

bar

and

then

click

windows

terminal

in

the

terminal

type

i

very

long

dashed

v

then

hit

enter

to

check

the

version

of

the

installed

a

very

long

if

a

very

long

is

successfully

installed

you'll

see

the

version

number

you

may

now

closed

the

terminal

let's

now

use

an

awesome

text

editor

called

vs

code

to

facilitate

are

very

low

cody

to

install

be

as

code

fire

up

your

favorite

web

browser

then

type

visual

studio

code

then

hit

enter

go

to

this

first

linked

code

that

visual

studio

dot

com

if

you're

using

windows

click

this

download

for

windows

and

your

installer

will

download

after

downloading

click

up

and

filed

to

run

the

installer

click

run

click

i

accept

the

agreement

then

click

next

i'll

just

just

the

recommend

that

be

a

scope

installation

folder

so

i'll

just

click

next

i

just

just

just

default

shortcut

folder

so

i'll

just

click

next

i

will

not

change

the

default

so

i'll

click

next

then

click

install

i

do

want

to

launch

the

code

for

now

so

are

you

will

unchecked

this

then

click

finish

we

usually

up

and

via

scored

by

typing

visual

studio

code

on

the

windows

taskbar

search

bar

and

then

clicking

the

be

code

icon

vs

code

can

be

used

with

many

programming

languages

to

customize

to

be

as

code

for

very

long

programming

click

this

extensions

button

and

type

very

long

you

must

be

connected

to

the

internet

to

do

this

when

there

are

multiple

options

i

usually

choose

the

extension

with

the

most

number

of

downloads

and

with

the

highest

reviews

click

this

very

large

dutch

h

d

l

extension

click

install

after

installing

the

very

look

extension

click

file

option

from

the

vs

code

menu

bar

preference

as

then

settings

collapse

extensions

and

click

very

low

configuration

find

very

log

linting

linter

then

select

i

very

log

after

this

go

to

file

again

then

click

save

now

that

everything

is

in

place

let

us

explore

very

long

hdl

by

implementing

a

sample

center

kit

like

a

half

other

but

before

that

let

me

up

and

the

executive

balls

that

are

created

when

we

install

very

long

if

you

install

it

in

the

c

drive

of

a

windows

operating

since

them

we

can

see

the

executive

balls

at

the

been

folder

we

can

access

this

executive

boss

because

we

updated

the

windows

path

variable

a

while

ago

one

of

the

most

important

executive

bus

here

is

the

gdp

wave

so

rerun

this

application

if

we

want

to

view

the

timing

diagrams

of

our

design

next

is

the

i

very

long

application

and

this

application

is

used

to

compile

the

source

files

and

finally

we

have

this

bbb

executive

ball

and

later

we

will

run

this

because

the

serves

as

the

simulation

runtime

engine

now

since

my

computer

is

already

populated

with

lots

of

development

software's

i'll

just

create

a

folder

the

here

named

i

very

long

underscored

test

so

here

are

created

the

desktop

a

folder

i

very

log

underscore

best

and

then

transfer

this

folder

inside

this

been

folder

this

is

just

my

personal

preference

because

my

documents

folder

celebrate

the

clattered

so

i'll

just

dump

all

my

files

here

that

are

related

to

very

long

so

i'll

up

in

this

folder

to

begin

our

coding

i'm

going

to

current

eat

a

file

with

an

extension

that

the

though

that

extension

is

just

by

convention

but

we

will

follow

this

convention

the

doubt

that

our

file

is

a

very

log

file

let

me

try

this

first

text

document

and

then

i'm

going

to

name

it

ass

a

half

underscored

other

that

the

this

file

is

still

a

text

file

and

not

a

very

long

fine

so

i'm

going

to

open

my

tax

at

the

thar

which

is

the

vs

code

click

this

window

search

bar

and

then

type

visuals

to

joe

and

click

needs

to

be

sure

your

code

and

then

drag

and

drop

this

file

here

note

that

if

you

see

this

file

name

have

underscored

other

that

be

that

sex

this

means

that

this

file

is

still

a

text

file

the

straight

to

save

it

as

a

very

log

files

so

in

this

visuals

through

jihad

or

be

as

code

text

editor

i'm

going

to

click

file

save

us

and

then

i'm

going

to

change

that

typed

us

scroll

down

i'll

choose

to

bury

love

okay

and

then

see

so

when

we

returned

to

our

folder

i

now

have

this

the

file

so

i'm

going

to

delete

the

specs

fail

to

avoid

confusion

so

returning

to

our

that

be

file

are

very

log

file

with

a

filing

have

other

let

me

type

a

comment

here

to

remind

us

that

this

is

the

module

for

half

other

meaning

to

say

this

is

not

a

test

bench

half

either

declaration

saved

he

and

the

file

half

other

let

me

i'm

just

writing

this

comment

for

demonstration

purposes

so

i'm

just

going

to

increase

the

font

size

of

this

text

editor

i

so

i'm

going

to

click

file

preference

as

settings

and

then

click

the

text

editor

and

then

click

font

so

here

the

default

is

fourteen

i'm

going

to

change

this

the

twenty

four

that

you

can

easily

see

the

code

hit

enter

then

close

the

settings

now

i

have

a

larger

font

next

let

us

see

the

schematic

diagram

for

a

half

other

losses

it's

corresponding

truth

the

ball

so

we've

now

begin

coding

this

schematic

diagram

so

we

will

include

this

in

a

module

so

type

module

notice

that

vs

code

has

some

intellisense

or

some

autocomplete

features

because

earlier

we

install

a

plug

in

for

very

long

lake

space

and

then

let's

name

this

module

as

have

either

based

on

this

diagram

it

has

inputs

a

and

be

so

i'll

just

use

smaller

letter

it

doesn't

really

matter

if

it's

caps

lock

or

not

then

some

and

then

and

output

of

carry

so

in

very

log

return

beneath

a

statement

with

a

semi-colon

enter

to

increase

the

readability

of

your

code

i'm

just

going

to

indent

it

reinforced

basis

or

went

up

one

two

three

four

i'm

going

to

declared

that

deportes

a

be

here

are

in

boots

a

be

then

terminated

with

a

semi-colon

next

the

some

and

carry

here

that

will

be

passed

on

this

module

are

actually

output

ports

so

i'm

going

to

declare

them

i'm

going

to

tell

the

compiler

that

these

sports

are

used

as

output

ports

next

i'm

going

to

instantiate

some

gates

or

i'm

going

to

create

some

virtual

objects

for

the

gates

to

create

our

first

the

gate

which

is

an

ex

or

a

gate

i'll

type

in

x

or

and

then

the

name

of

this

gate

let's

just

named

this

as

x

one

so

what

i'm

doing

here

is

i

am

creating

a

virtual

object

of

your

the

gate

and

the

name

of

that

gate

is

x

one

when

you

use

primitive

gates

the

first

argument

is

the

output

so

i'm

going

to

type

some

and

then

the

remaining

arguments

referred

to

input

so

the

inputs

for

x

one

based

on

this

diagram

the

inputs

are

a

and

be

so

i'm

going

to

terminate

this

with

a

semi

color

next

i'm

going

to

eight

or

instantiate

and

gate

with

a

name

a

one

so

i'm

going

to

type

and

for

an

gate

and

the

name

of

this

and

gate

is

a

one

we

are

naming

this

gates

because

sometimes

it

in

a

schematic

diagram

or

in

a

digital

silicate

you

have

multiple

gates

that's

why

it's

important

to

name

them

the

first

argument

our

first

set

of

arguments

should

refer

to

output

it's

in

our

case

the

output

of

this

a

one

gate

is

kerry

and

the

inputs

r

a

n

b

so

that's

it

we

already

created

the

module

or

the

very

low

hdl

code

for

this

have

other

circuit

so

i'm

going

to

end

this

module

recalled

that

a

module

must

always

be

terminated

by

and

and

module

keyword

so

control

s

or

click

save

file

see

next

in

order

to

test

this

code

we

will

can

eat

a

test

bench

code

so

here

i'll

just

copy

this

file

copy

and

then

paste

it

in

the

same

folder

controlled

v

i'm

going

to

the

name

this

copy

us

the

same

name

as

the

module

but

at

the

end

i'm

going

to

include

underscores

the

be

which

denotes

that

this

is

that

best

bench

that

be

i'm

going

to

drag

this

and

drop

its

here

and

vs

code

i'm

going

to

delete

everything

so

for

demonstration

purposes

oh

just

include

a

comment

here

that

this

file

is

the

best

bench

for

half

other

that

the

and

this

is

saved

in

the

file

half

underscore

either

underscore

the

be

which

means

test

bench

that

be

so

in

our

class

we

use

this

naming

convention

that

if

you

want

to

create

a

test

bench

for

a

specific

module

you

just

named

that

test

bench

with

the

same

name

as

the

module

name

but

include

and

underscore

the

be

at

the

end

so

we

will

instantly

know

that

it

is

that

the

bench

and

not

a

regular

module

click

accent

then

include

space

the

filed

of

the

module

to

be

tested

which

is

half

underscore

either

that

the

so

when

you

have

this

accent

mark

here

for

example

accent

include

this

means

that

it

is

a

compiler

directive

meaning

to

see

you

will

execute

this

land

during

compile

time

and

during

compile

time

you're

actually

telling

the

compiler

that

you

have

to

include

the

country

sense

of

this

file

when

you

tried

to

compile

this

test

bench

next

we

will

again

and

close

the

code

for

our

test

bench

we

in

keyword

bear

module

and

module

i'm

just

going

to

pay

pierre

module

and

then

and

or

and

module

between

this

talk

keyword

bear

we

will

place

our

code

for

testing

this

half

other

circuits

so

let's

name

this

test

bench

as

half

underscore

either

underscored

the

be

and

since

this

doesn't

require

any

inputs

and

outputs

we

don't

have

to

include

any

sports

here

are

just

terminate

this

weird

semi-colon

in

this

test

bench

i

must

somehow

be

able

to

bury

the

values

of

the

inputs

so

to

do

that

i'm

going

to

type

here

reg

but

they're

not

that

a

n

b

r

inputs

according

to

some

reference

as

threads

means

registers

and

this

is

understandable

because

as

we

all

know

i

register

is

some

digital

element

that

can

store

a

binary

but

you

like

zero

or

one

registers

can

be

implemented

in

terms

of

flip

flops

or

an

array

of

flip

or

any

other

solid

state

components

and

as

we

all

know

and

body

the

value

of

register

so

dishes

and

an

appropriate

name

for

a

declaration

for

an

input

in

a

test

bench

next

if

we

want

to

declare

the

output

of

the

circuit

in

a

test

bench

we

use

the

keyword

wire

although

in

my

opinion

a

proper

name

for

this

declaration

is

a

because

when

you

have

approve

your

actually

measuring

a

signal

that

comes

from

the

outputs

of

ac

stem

so

in

my

opinion

broke

is

a

better

term

than

wire

but

then

again

in

very

log

when

you

want

to

tell

the

compiler

that

some

variables

are

used

as

output

you

declared

them

as

wires

so

again

the

outputs

here

are

some

and

carry

after

declaring

the

purpose

of

these

variables

which

we

will

pass

us

arguments

later

we

instantiate

or

image

of

to

be

tested

which

is

the

half

other

module

so

to

do

this

type

the

name

of

the

module

which

is

in

our

case

we

named

it

as

have

underscore

other

space

than

the

name

of

the

instance

for

example

add

one

then

we

pass

these

variables

a

be

salmon

carried

so

he

be

some

katie

if

this

is

an

actual

circuit

this

line

of

code

means

that

we

connect

this

that

sports

from

our

test

surrogate

to

the

parts

of

the

trial

half

other

circuit

so

i'm

going

to

terminate

this

statement

with

a

semi-colon

when

we

say

instantiate

were

actually

creating

a

ritual

objects

of

the

sirikit

in

the

memory

of

the

computer

next

week

and

eight

an

initial

block

and

the

code

inside

this

initial

beloved

is

executed

one

once

during

that

entire

simulation

since

we

have

a

small

surrogate

this

initial

block

is

enough

to

change

the

values

of

the

registered

inputs

if

i

only

have

one

statement

then

this

keyword

initial

does

not

need

to

include

begin

and

and

meaning

to

say

after

this

initial

keyword

and

notice

that

it

be

as

code

or

to

complete

this

initial

block

but

if

you

have

one

lane

of

statement

you

could

just

directly

insert

your

called

the

here

but

if

you

have

multiple

lines

of

code

inside

this

initial

block

then

you

have

to

enclose

this

with

a

begin

and

and

statement

so

for

example

begin

and

then

and

once

you're

entered

this

be

as

good

article

blitz

the

entire

block

so

inside

this

begin

and

and

block

we

will

insert

our

code

to

change

the

values

of

this

a

and

b

so

at

the

beginning

we

set

the

values

of

a

n

b

three

zero

equals

zero

and

then

be

it

was

zero

then

after

one

second

we

replace

their

value

swede

based

on

this

through

bull

zero

and

one

so

i'm

going

to

please

be

with

one

then

after

one

second

i'm

going

to

change

this

weird

one

zero

or

this

copied

this

beast

one

zero

and

then

after

one

second

i'll

change

the

value

to

a

equals

one

n

b

equals

one

so

when

you

ran

this

bench

apparently

the

registered

variable

see

or

a

n

b

will

have

different

values

but

in

order

to

view

the

timing

diagram

we

have

the

dump

the

saved

data

because

apparently

when

you

change

the

values

of

a

and

b

the

values

of

some

and

carry

will

also

change

a

swell

and

in

order

to

record

this

changes

were

going

to

dump

this

changes

in

this

variable

in

a

file

and

to

do

this

let's

try

to

put

it

inside

this

begin

black

also

let's

use

the

command

dollar

sign

dump

file

whatever

the

changes

are

in

this

module

we

will

save

these

changes

in

a

file

and

renamed

this

file

us

for

example

have

other

that

v

c

d

i'll

terminate

this

way

of

semi-colon

dollar

said

dump

file

is

a

command

used

to

dump

the

changes

in

the

values

of

the

registers

and

wires

in

a

file

whose

filename

depends

on

the

argument

for

example

in

our

case

we

just

named

israel

as

have

underscored

other

that

b

c

d

vc

demands

value

change

dumped

by

default

it

will

dump

all

the

changes

in

this

fight

but

if

we

want

to

control

which

variables

deceived

we

use

the

command

dollar

sign

dump

worse

it

has

two

arguments

the

level

and

the

module

name

or

variable

name

so

let's

just

put

zero

here

which

means

that

we

are

dumping

all

the

variables

of

the

module

and

other

variables

instantiated

by

this

top

level

module

no

the

top

level

module

that

i'm

going

to

indicate

the

here

is

the

module

have

other

db

so

that

we

can

save

the

changes

in

this

variables

the

argument

here

is

directly

read

as

a

string

so

i'm

going

to

drop

the

coat

and

then

i'm

going

to

terminate

this

with

a

semicolon

let's

save

this

file

controlled

s

or

click

file

dan

save

the

compiled

this

testbench

click

this

toggle

panel

here

to

displayed

the

terminal

notice

that

the

current

directory

or

the

default

directory

of

this

terminal

is

the

home

directory

of

the

current

user

of

this

operating

system

but

we

need

to

access

this

files

so

i'm

going

to

copy

the

current

location

of

this

bias

and

then

go

back

to

my

terminal

and

type

cd

which

means

changed

directory

and

then

pace

there

directory

of

our

files

so

i'll

click

enter

i'm

going

to

play

clear

just

to

remove

some

details

of

this

terminal

okay

now

i'm

currently

at

the

location

of

this

file

so

i

can

directly

compile

them

so

to

compile

them

i'll

type

i

very

long

space

minus

or

the

output

the

output

will

be

named

us

let's

just

name

it

us

have

either

underscore

the

be

but

this

time

it's

file

extension

will

be

that

the

bp

the

source

file

to

be

compiled

is

have

other

witches

are

testbench

underscored

the

be

that

the

so

click

enter

so

when

i

returned

to

this

location

or

folder

not

this

that

that

bbb

file

is

created

next

i'm

going

to

simulate

this

bbb

file

using

the

v

vp

command

bbb

command

space

than

the

name

of

this

bbb

fire

which

is

half

other

underscored

the

v

that

the

bp

click

enter

if

we

return

to

this

folder

notice

that

a

that

b

c

d

file

is

created

so

this

that

vc

the

file

is

the

dump

file

that

contains

the

changes

in

the

outputs

and

inputs

of

this

test

bench

so

to

view

the

timing

diagram

of

this

dump

file

open

g

t

k

leave

the

so

type

g

d

k

we've

and

the

terminal

and

hit

enter

and

we

now

have

this

are

user

interface

for

g

tiki

wave

so

to

view

this

dump

file

click

file

up

in

new

tab

and

then

click

the

that

b

c

the

file

then

click

ok

select

half

other

that

db

and

then

click

one

signal

from

this

dump

file

and

then

click

control

eighth

or

select

everything

and

then

click

insert

so

that

they

will

be

inserted

in

this

signal

spinal

and

now

the

timing

diagram

are

displayed

for

all

the

signals

coming

from

our

test

bench

so

if

i

click

in

the

middle

of

zero

to

one

second

so

the

initial

values

of

a

be

zero

based

on

our

through

table

the

carry

and

some

must

be

zero

zero

and

this

is

correct

next

let

me

click

between

one

second

into

second

and

the

value

so

for

a

n

b

are

set

to

zero

and

one

and

according

to

throw

the

ball

the

carry

and

some

of

our

have

other

circuit

must

be

zero

and

one

and

our

very

low

hdl

called

this

consistent

are

correct

and

clicking

between

two

second

and

three

seconds

the

values

for

a

n

b

are

said

to

her

one

and

zero

and

based

on

the

simulation

the

resulting

carry

and

some

is

zero

and

one

which

is

consistent

with

our

throats

a

ball

and

finally

clicking

beyond

three

second

the

set

values

for

a

n

b

r

one

in

one

and

based

on

or

through

table

the

values

of

carry

and

some

must

be

one

zero

and

if

we

tried

to

much

this

with

our

simulation

are

stimulation

is

correct

which

means

that

we

have

successfully

implemented

the

circuit

using

the

very

a

each

the

end

before

we

and

this

discussion

let's

look

at

another

sirikit

that

contains

multiple

gates

and

multiple

wires

so

easily

code

these

in

very

long

h

hdl

l

relabel

each

gates

and

at

least

components

for

example

really

build

the

first

or

a

gate

with

oh

one

the

first

gate

with

a

one

the

first

not

gate

with

n

one

the

second

or

gate

with

auto

and

the

second

and

gate

with

a

though

when

it

comes

to

the

wires

really

bow

this

wire

of

weird

w

one

the

second

why

are

we

w

to

the

third

wire

with

w

three

and

the

fort

why

readable

your

for

so

to

implement

it

in

very

low

hdl

i'm

going

to

copy

this

have

other

that

be

so

that

i

will

automatically

huh

have

a

very

log

file

and

just

rename

this

as

for

example

some

ball

underscores

circuit

get

then

i'm

going

to

drag

and

drop

this

on

our

be

as

code

i'm

going

to

delete

everything

so

to

implement

this

i'll

start

with

module

enter

and

let's

just

named

this

sirikit

as

some

paul

underscores

circuit

i'm

going

to

put

some

part

list

here

he

b

c

the

in

he

and

and

output

of

why

i'm

going

to

terminate

this

with

a

semi-colon

and

then

enter

let's

declare

a

b

c

d

e

ports

as

inputs

e

b

c

the

he

lipstick

clear

why

as

output

and

less

declared

these

wires

w

want

to

for

us

wire

next

let's

instantiate

the

first

or

a

gate

so

i'm

going

to

type

or

and

then

the

name

of

the

our

gate

which

is

oh

one

and

it

has

an

output

of

w

one

and

inputs

a

and

b

next

we

instantiate

the

first

and

gate

so

i'm

going

to

and

and

then

the

name

of

the

and

gate

is

a

one

it

hasn't

outward

of

w

to

and

inputs

see

and

the

next

less

instantiate

the

not

gate

so

i'm

going

to

type

not

space

the

name

of

the

not

this

and

one

the

output

of

n

one

s

w

three

and

it's

input

is

w

one

next

i'm

going

to

instantiate

the

second

or

a

gate

so

i'm

going

to

type

or

space

the

name

of

the

obligate

is

auto

and

it's

output

is

w

for

and

it's

inputs

are

w

three

and

w

though

finally

am

going

to

instantiate

the

second

and

gate

so

i'm

going

to

type

and

space

eat

though

it's

output

is

why

and

it's

inputs

r

w

for

and

he

then

i'm

going

to

close

this

module

by

writing

and

modern

so

that

test

this

you're

going

to

repeat

the

same

process

that

they've

shown

your

earlier

and

that's

it

don't

forget

to

like

this

video

subscribe

to

my

youtube

channel

and

hit

the

notification

bell

button

for

awesome

updates

thank

you

for

watching

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.