So I spent the past 5 hours working on a perplexing problem with a state machine I designed to control an SRAM. After a bit of debugging, it worked perfectly in simulation, even at all of the corner cases I could think of. It's a fairly simple thing. Anyway, I programmed a GAL22v10-15D (basically a reprogrammable logic array with some flip-flops), but the state machine didn't appear to work, it was stuck in the "RESET" and "HOLD" states, and I couldn't write or read to the ram.

I didn't get anywhere in the lab, so I eventually decided to come home and have some food, etc. A few sips into my glass of cider I realized that the state machine's reset pin is active LOW, not active HIGH (as per the specs). So it was actually working just perfectly - when I turned "off" the reset line, it wouldn't let me read or write.

Oy.
.

Profile

glasseye: (Default)
glasseye
Powered by Dreamwidth Studios

Style Credit

Expand Cut Tags

No cut tags