Today is Wednesday!

ryuki 的头像

Nowadays, I managed to sit in front of the computer during my lab session for longer duration. However, the truth is the class is going to over soon. I have been doing the last lab now -Nintendo Controller. I like to design, but I am not good in timing. Watching other students' design full with a lot of stuff, I have only 3 marcos. So, I wrote down my name in front and played with my design while waiting for my GSI to help me.

GSI: Hm, I think this codes might work. Let me think about it.
ME : But the leds didn't not light up. How about the shifter?
GSI: Hm... Oh, you did it in this way. It should be work. There is nothing wrong.
Me : But, it is not working! I tried just now.
GSI: Let me see your easteregg code again.
Me : Ok. Can I used negedge here like this? Because only when the button is pressed we go to the other state.
GSI: Oh, you do it in this way. I have never thought of it before. But it should work.
Me : But it didn't work.
GSI: Let me think.
After 3 minutes...
GSI: I think it is because the duration is so short. There is no enough power to light up the led.
Me : What?So, I need to do it again?
GSI: I think you need to do a register.You know how to do a register right. You should save the data like this...(he started drawing on the paper)
Me : Why can't I put a registrer behind it.
GSI: I don't think it can store the data like it should. Still, I guess you still need to use a register.
Me(in my heart): What the hell. I have to do it again. Why can't it works. Based on the logic, it should work. Is it the only way to do it? We are engineer. We can suppose to think a new way. Not just follow.
Me :Okok. I will do that. Thanks.

```Second encouter```
Me : I don't think I have done anyting wrong again. But the easteregg is not working. I used a counter make sure it is correct.
GSI: Hm... Interesting. So, you use a counter to do it. So, it should work.
Me : But it is not working.
GSI: Hm... Maybe you should output the state to see it clearly.
Me : Okok. I will do that.

I love EECS 270!!!

-- Blek!!!=p --

Posted In