"You'll Never Feel READY to Walk Over"

Next Monday you'll feel more confident. After the gym you'll feel more confident. After one more drink you'll feel more confident. After you get a better haircut, a better jacket, a better job.

You've been "getting ready" for two years.

She's standing ten feet away right now. She'll be gone in four minutes. No amount of preparation will manufacture the courage that only comes from moving your feet.

Walk over. Stumble through the first sentence. Let it be clumsy. Let it be imperfect. You will feel more alive in those ten seconds than you have all month.

Read more...

Can you program in Verilog?

Privitor

Don Juan
Joined
Apr 17, 2008
Messages
66
Reaction score
0
Hello, guys!
Can any of you help me out with a Verilog program? :eek: (stack implementation)

Thanks in advance!
 

"How I Made Sure No Woman Ever Friend-Zoned Me Again"

She calls you when her car breaks down. When she needs help moving. When some guy she's actually dating treats her badly.

You're the listener. The reliable one. The guy who would treat her so much better, if she'd just open her eyes.

She won't. You trained her to see you as the low-effort option — the friend who requires zero risk and zero investment. Every favor dug the hole deeper.

The "22 Rules" break the pattern. You'll stop auditioning for a role she already cast and become the man she chases instead. It starts with Rule 1.

Read more...

Privitor

Don Juan
Joined
Apr 17, 2008
Messages
66
Reaction score
0
I need the implementation of a stack (Last In First Out). I want to push 16 bytes into it.
reg [7:0] q [0:15];

module stack(clk, reset, load, push, pop, d, qtop, qmiddle);
The header should look like the one above or similar

Inputs:
clk (clock)
reset - empties the stack
load -
d - a 8 bits variable
push -
pop -



Outputs
qtop - 8 bits - the stack is full
qmiddle - 8 bits - indicates the stack is half full

(I don't get it why they should be 8 bits variables. Maybe he wants the values on the last position or the one in the middle)

I need 2 .v files: the stack module and a test module.



Lol, there are 5 more hours to deadline and I get 50 errors in my code.

It's so lame; I should never wait till the last moment ever again.
 

Privitor

Don Juan
Joined
Apr 17, 2008
Messages
66
Reaction score
0
Yeeeaah! I finished it 1 hour before the deadline. Hahaha!
 

Teflon_Mcgee

Master Don Juan
Joined
Apr 3, 2006
Messages
918
Reaction score
27
Well by the time this is straightened out I'm sure the deadline will be up. **EDIT** OH I SEE YOU GOT IT. GOOD JOB

You want the stack to be a max size of 16 bits with each push being one bit or you want each push (each data element) to be 16 bits?

Also the qtop and qmiddle are just flags? 0x00 for false and 0xFF for true?

Are you pushing and poping on the clock edge or just any time you get the push/pop signal? What are load and d?

If you are doing a stack that can be 16 elements deep, each being one bit then I'd start by creating a 16 bit register.

All you have to do is keep track of the top most bit.
every push you increment a counter and every pop you decrement the counter.
The counter represents the index in the register where your pointer is at.

Do not allow a push if counter is > 14 or a pop if counter is < 1

When counter reaches 15 set qtop
When counter reaches 7 set qmiddle

If you break it down it's not bad.
What exactly are you having trouble with? I can still try to help if you're not worried about your deadline.

Privitor said:
I need the implementation of a stack (Last In First Out). I want to push 16 bytes into it.
reg [7:0] q [0:15];

module stack(clk, reset, load, push, pop, d, qtop, qmiddle);
The header should look like the one above or similar

Inputs:
clk (clock)
reset - empties the stack
load -
d - a 8 bits variable
push -
pop -



Outputs
qtop - 8 bits - the stack is full
qmiddle - 8 bits - indicates the stack is half full

(I don't get it why they should be 8 bits variables. Maybe he wants the values on the last position or the one in the middle)

I need 2 .v files: the stack module and a test module.



Lol, there are 5 more hours to deadline and I get 50 errors in my code.

It's so lame; I should never wait till the last moment ever again.
 
Last edited:

"She Liked You in March. It's October Now."

Attraction runs on a clock.

She flirted for weeks. Touched your arm. Found reasons to be alone with you. And you were careful. Respectful. Waiting for the right moment.

The moment had a shelf life. It expired around month two, and by the time you asked her out, she'd quietly filed you under "little brother."

One of the hardest lessons inside the 22 Rules: women rarely wait. Interest either grows or it decays, and nothing decays it faster than a man who never moves.

Make the move while she's still inventing reasons to be near you.

Read more...

Top