From the course: Learning FPGA Development

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Intel implementation demo

Intel implementation demo - FPGA Tutorial

From the course: Learning FPGA Development

Intel implementation demo

- [Presenter] Now let's take a look at my implementation of the four bit adder for the intel board. This is the default project for this board and it's called DEO_CV_golden_top. This code includes a lot of directives. As you can see, we have defined directives and ifdef directives. These are used to include or exclude some lines that go to hardware. Now, if you look at the body of my module, it's very simple. First, in line one hundred and fifty six, we have two wire arrays of four bits, A and B. Next, I am hard wiring them to switches seven through four and three through zero respectfully. So that we are using the right most eight switches on the board. Next we have wires for the sum and the carry out signals. The instantiation of the module is in line one hundred and sixty five, it's called adder. And all that's left to do starts in line one hundred and sixty six, which is the implementation of the hexadecimal to seven segment decoders. As you can see these instances are connecting…

Contents