SR Latch

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

First!

   

Yeah, I know, an SR latch is pretty lame. Blame Robert, he challenged me to do it (and it was indeed a challenge given my limited mental capacity). Enjoy anyway, but at your own risk, I have no idea what I'm doing. The Verilog synthesizer "cut the loop" and I have no idea what that means...the whole point was for this thing to have feedback and an undefined state when S=R=1. It seems to work properly on my CY8CKIT -050. Someone smarter than me can tell me what it actually synthesized, I have no idea how to check that.

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

The RS-FF wil always contain a combinatorial loop. This was a warning showing you just to take care. The verilog code you supplied is perfectly right as far as I could see.

   

Congratulations for engraving the first hardware into silicn!

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Page 4 - 10 discusses "cut the loop".

   

 

   

http://www.ida.liu.se/~TDDC33/labs/ASIC-IC_Design-for-Test_process_guide.pdf

   

 

   

Generally refers, both in Analog and Digital, opening up a feedback loop.

   

 

   

Regards, Dana.

0 Likes