Flip-Flop tutorial, documentation

Post your suggestions for new tutorials or anything here!
Post Reply
Posts: 2
Joined: March 22nd, 2016, 1:59 pm

Flip-Flop tutorial, documentation

Post by abowers2 » March 22nd, 2016, 6:21 pm

The following is in the Lucid reference guide:

Code: Select all

dff ctr[8](.clk(clk), .rst(rst));
What do you do if you want to use some other signal than clk and reset to drive a flip flop? I've been trying all day and I can't figure it out on my own or find any information whatsoever.

There needs to be WAY more information on the basic building blocks of this language, and it needs to be more readable. ".clk(clk) is confusing. To change the input from clk, do I change the one outside or inside the parenthesis? Is it even possible?

Before you start with a 32 bit wide flip-flop, maybe do a single-bit wide flip-flop to illustrate the concept. Let students play with the basic building blocks before chaining lots of them together.

Posts: 1
Joined: March 24th, 2016, 11:48 am

Re: Flip-Flop tutorial, documentation

Post by ziggy » March 24th, 2016, 11:54 am

Have you had a look in https://embeddedmicro.com/tutorials/luc ... c-tutorial?

.rst and .clk are the dff paramters which are set to rst and clk in your example.

Post Reply