100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Lecture notes

Hardware Definition Language (HDL) - Computer Fundamentals (COMP1007)

Rating
-
Sold
-
Pages
13
Uploaded on
22-06-2023
Written in
2021/2022

Hardware definition language










Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
June 22, 2023
Number of pages
13
Written in
2021/2022
Type
Lecture notes
Professor(s)
Steve bagley
Contains
All classes

Content preview

Making virtual Chips
● File extension is .hdl
● “CHIP <nameOfFile>” at the start
● Use curly braces and ; to end lines
● Case sensitive
● Two section are separated by “PARTS:”
○ Top part is inputs, outputs
○ Bottom is how its all connected
● IN for input, OUT for output
● Make gates by specifying the name of the gate (case sensitive, need a capital letter), then use brackets to specify how its connected
○ And(a=x, b=y, out=A2n)
○ Means a is connected to x, b to y, and outputs to ‘wire’ A2n
○ Not(in=A2n, out=out)
○ Input is the output of the And gate, outputting to the chip
○ Because the name of the ‘wire’ is the same, they get connected
● [] are used to identify a bus (multiple bits)

,
£20.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
jacekmitschke

Get to know the seller

Seller avatar
jacekmitschke The University of Nottingham
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
4
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions