Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

counting input signals

hello there,

I'm quite new to the fpga world, and i have run into a problem. The idea is that I want to count incoming impulses on pin1 per second (frequency varies from 200~ to 1000hz) , and then display that number on a 7segment display.

Im using the schematic layout thing.

1.I made a counter, that converts 50Mhz onboard clock to 1Hz signal.

2.A second counter (10bit) counts the impulses on pin1, and resets when it receives aclr signal ( the 1Hz signal)

3.A latch, that allows data to flow through when it receives the same 1Hz signal. aswell as a bcd converter to display the numbers.

Now the problem is clock skew > data delay. failed paths.. why oh why does this happen. I think that quartus somehow thinks of my pin1 signals as a second clock or something. What can i do ?

13 Replies