What is a Latch in an FPGA?

  Рет қаралды 21,101

nandland

nandland

Күн бұрын

Latches are bad! Learn how a latch gets created in VHDL or Verilog and how to therefore avoid creating them. SR, D, JK, Earle, these are all latches that serve no purpose in modern FPGA design, so avoid them at all costs.
Support this channel! Buy a Go Board, the best development board for beginners to FPGA: www.nandland.c...
Like my content? Help me make more at Patreon!
/ nandland

Пікірлер: 36
@mikal_1
@mikal_1 4 жыл бұрын
"first of all my name is Russel." lmao nice
@curtisnotestine3134
@curtisnotestine3134 4 жыл бұрын
Could you write " else o_latch
@izobretate
@izobretate 2 жыл бұрын
That's the perfect way to keep the latch alive) if you want to get rid of it you shouldn't do it.
@siyavashadib9067
@siyavashadib9067 7 жыл бұрын
Hey Dear, Really happy to see you again . I've used to learn so much from you when you were posting those FPGA tutorials in the past . Now i'm so happy to see you posting new ones that I can learn from . Keep up the good work . Thanks a lot for all the good content .
@isaiahgarcia3951
@isaiahgarcia3951 2 жыл бұрын
I never comment on KZbin videos but I need to say, You sir have saved me from effing up my lab , thank you.
@xXernendeRXx
@xXernendeRXx 5 жыл бұрын
Thank you for this on point video, the amount of information and the way you share it is amazing and really life saving.
@netbust3r
@netbust3r 7 жыл бұрын
the comeback!!
@duality4y
@duality4y 2 жыл бұрын
latches are interesting to learn about and the are the fundamental building blocks of a flipflop
@larsbrinkhoff
@larsbrinkhoff 7 жыл бұрын
I feel safe ordering a product from another Emacs user. Thanks.
@Nandland
@Nandland 7 жыл бұрын
haha
@anthonyrocha8075
@anthonyrocha8075 5 жыл бұрын
Mr NandLand is a good nickname.
@akpresentations3645
@akpresentations3645 Жыл бұрын
If I need to detect a pulse on sdata when sclk is turned off in a serial interface, how to do so without using a latch?
@taekwondotime
@taekwondotime 6 жыл бұрын
*Latches are taught to students in digital logic courses because they are the fundamental buildings blocks upon which flip flops are built* . You can't understand flip flops without first understanding latches and the limitations of latches.
@Nandland
@Nandland 6 жыл бұрын
I disagree. Digital logic courses teach Karnaugh maps and DeMorgan's theorem too. I've used those in my professional career literally 0 times. They don't help design FPGAs at all. Latches at least you need to know what they are at a basic level so you know to never use them in FPGA design.
@taekwondotime
@taekwondotime 6 жыл бұрын
You may be right, but the thing is, it isn't enough for an engineer to be able to just use the existing technology. They have to know how it works and why they're using it instead of using something else. What often happens is that people get accustomed to using something and they forget what they're doing or why they're doing it. That's why courses teach those fundamentals. It's so students understand what is going on "under the hood". :)
@Nandland
@Nandland 6 жыл бұрын
That's a good argument. My concern is when teachers get their students too buried in the details at the beginning. Students lose their ability to see the forest through the trees and lose interest in the subject. I saw it in my engineering classes over and over. It was interesting material, but not taught in the right order. My focus with nandland is starting with the fun stuff to get people making things quickly and if they want to dive deeper they can certainly do that.
@AxElKo440
@AxElKo440 5 жыл бұрын
Love this explanation. Thank you :)
@jackyo8547
@jackyo8547 4 жыл бұрын
Hi there, If I would like to use latch to store clock frequency and display it. how would I do that? any videos out there talking about it? thank you
@powerforceforce2793
@powerforceforce2793 7 жыл бұрын
I also have AT89C5RD2-A 1127 THAT BRINGS A TIMER AND A ROSH HAVE PRINTS PL1, PL2, PL4, PLA ,,, PL OPCION B ... PLEASE HELP ME ??? Yesterday I was watching one of your videos !!!
@powerforceforce2793
@powerforceforce2793 7 жыл бұрын
Hey I have a dashboard that I found in my work but I do not understand I can send you a photo? could you help me???
@xmotoFF
@xmotoFF 7 жыл бұрын
Awesome! NANDLAND returns! Just one minor nitpick, your facecam is covering some words of the presentation, you might want to reposition it.
@rjstoneus
@rjstoneus 7 жыл бұрын
Will synthesis/mapping try to construct latches out of two LUTs or other primitives? Yea that sounds bad considering that FFs exist for this purpose and are hard primitives.
@JoshSideris
@JoshSideris 7 жыл бұрын
This video is a lot more interesting than the title lets on.
@Nandland
@Nandland 7 жыл бұрын
+Josh Sideris lol
@dmitr8194
@dmitr8194 3 жыл бұрын
Did you design custom ICE40 HX1K FPGA board?
@Nandland
@Nandland 3 жыл бұрын
The Go Board! www.nandland.com/goboard/introduction.html
@HansBaier
@HansBaier 3 жыл бұрын
Would have been nice to get one example showing the evilness of latches in action. Otherwise great video!
@TooSlowTube
@TooSlowTube Жыл бұрын
2/3 of the way through, and I'm bothered that the example of how to solve the problem does something different than the code which it's supposed to be fixing. In the original, o_latch kept its value unless i_enable was 1. In the "fixed" version, it was set to zero if i_enable was zero. So, the "fix" is to make the circuit do something different, not just to make the circuit in a different way. I have real trouble getting past this kind of thing. Also, what was so bad about latching data? That's what a register does. What's supposed to be so wrong with doing that?
@paulmichael3694
@paulmichael3694 Жыл бұрын
This video is fantastic
@wuxi8773
@wuxi8773 4 жыл бұрын
VHDL, emacs, non-xilinx, must be a east coast guy
@kellypainter7625
@kellypainter7625 2 жыл бұрын
emacs on windows!
@karamany9870
@karamany9870 3 жыл бұрын
Are FPGAs used a lot in defence?
@chatgpt94274
@chatgpt94274 7 жыл бұрын
good
@Hfgh564
@Hfgh564 3 жыл бұрын
Latches are evil...haha, I wish they teach it in university...
@MalekEllouz00
@MalekEllouz00 4 ай бұрын
man really hates latches 💀
What is a Clock in an FPGA?
18:58
nandland
Рет қаралды 55 М.
What is a FIFO in an FPGA
17:47
nandland
Рет қаралды 75 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 16 МЛН
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 179 МЛН
Tech Talk: eFPGA LUTs
11:09
Semiconductor Engineering
Рет қаралды 16 М.
What is a Block RAM in an FPGA?
15:00
nandland
Рет қаралды 96 М.
How to Choose an FPGA for your design
22:02
nandland
Рет қаралды 20 М.
Example Interview Questions for a job in FPGA, VHDL, Verilog
20:34
26 - Describing D Latches and D Flip-Flops in Verilog
15:08
Anas Salah Eddin
Рет қаралды 10 М.
Crossing Clock Domains in an FPGA
16:38
nandland
Рет қаралды 69 М.
What Is A Dead Bolt Lock? | GSL Discussion
7:44
Guardian Safe & Lock
Рет қаралды 20 М.
I built my own 16-Bit CPU in Excel
15:45
Inkbox
Рет қаралды 1,6 МЛН
Nandland Go Board Project 1 - Switches and LEDs
23:53
nandland
Рет қаралды 29 М.
C++ vs Rust: which is faster?
21:15
fasterthanlime
Рет қаралды 404 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 16 МЛН