I am learning how to program a FPGA (spartan) lately. The language I am using is Verilog which is not really important to this question.
I have the FPGA connected to my Commodore 64 via Logic Level Converters. And I am having lot of success.
I am reading 8 lines from the Keyboard port looking. My verilog is simply looking for a matching value on those lines. No problems at all. But I am curious, how is the logic managing to work when I have not really set up a clocking line. Is the FPGA using main clock to trigger events to move on in the FPGA. For instance, if you have a blocking statement it would seem that in order to get past that block, there must be some clock checking the incoming value before the logic can continue. Is this true? Or am I missing something.
Is there a clock in the fpga that is pushing the logic along?
Question
FlyMario
I am learning how to program a FPGA (spartan) lately. The language I am using is Verilog which is not really important to this question.
I have the FPGA connected to my Commodore 64 via Logic Level Converters. And I am having lot of success.
I am reading 8 lines from the Keyboard port looking. My verilog is simply looking for a matching value on those lines. No problems at all. But I am curious, how is the logic managing to work when I have not really set up a clocking line. Is the FPGA using main clock to trigger events to move on in the FPGA. For instance, if you have a blocking statement it would seem that in order to get past that block, there must be some clock checking the incoming value before the logic can continue. Is this true? Or am I missing something.
Is there a clock in the fpga that is pushing the logic along?
Flymario
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.