Alpuerto Activity No. 1 HDL

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

ALPUERTO, DANICA MAE V.

20160102705
ACTIVITY 1

(1) Write the Verilog HDL using Structural Style

A B C L
SOP: L = A’B’C’ + A’B’C + AB’C + ABC’
0 0 0 1
SIMPLIFIED: L = AB’C + ABC’
0 0 1 1
module struc (L, A, B, C);
0 1 0 0 input A, B, C;
0 1 1 0 output L;

m
1 0 0 0

er as
not Not1 (AC, A), Not2 (BC, B), Not3

co
1 0 1 1

eH w
(CC, C);

o.
1 1 0 1 end module
rs e
ou urc
1 1 1 0

(2) Write the Verilog HDL using Behavioral Style


o
aC s

A B C L
vi y re

SOP: L = A’BC + AB’C + AB’C + ABC’+ ABC


0 0 0 0
SIMPLIFIED: L = A + BC
ed d

0 0 1 0
module struc (L, A, B, C);
ar stu

0 1 0 0 input A, B, C;
0 1 1 1 output L;
is
Th

1 0 0 1
assign L =(A)| (B & C);
1 0 1 1
sh

end module
1 1 0 1

1 1 1 1

This study source was downloaded by 100000817485283 from CourseHero.com on 09-09-2021 02:15:45 GMT -05:00

https://www.coursehero.com/file/92655292/ALPUERTO-Activity-No-1-HDLdocx/
Powered by TCPDF (www.tcpdf.org)

You might also like