![]() Let’s consider an example of a familiar math function: f(x) = x^2. In order to achieve the same functionality as the sequential code from above we have to create a combinational and sequential logic circuit.Ī combinational logic circuit has a defined output based on all different combinations of its inputs – it’s kind of similar to a math function. In SystemVerilog we are describing a digital circuit that will execute code in parallel. Solving this problem in a hardware description language might not be so obvious. The code might look something like this… /* PSEUDO CODE (will not compile on Arduino's IDE) */ Solving this problem with a microprocessor that executes instructions sequentially (like an Arduino) is pretty trivial to do. ![]() Sequential vs parallel programming languages This will cover combinational logic design, sequential logic design, and how to interface some of the peripherals on the FPGA as well as loading the design on the board. In this first tutorial we will create a design that will be able to increment or decrement a value by pushing buttons on the FPGA and displaying the hex value on the hex display on the board.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |