We will use Borland C for the host interface. Start Borland C
from your project directory (on the i: drive) and create a new
project called pass.
Add the following files to the project:
- pass.c
- pass_c.c
- pass_a.asm
- c:\goco\byulib\xvidlib.obj
The two files that were generated by xlink are pass_c.c
and pass_a.asm.
They aren't too interesting to look at. Pass.c
is the user interface. It is the file that you can customize however
you like. It is documented within the file. Xvidlib.obj
is a video library that must be included with any project using
the video capabilities of the board. Here is something VERY
IMPORTANT. You must specify the large memory model for the XLINK
generated code to work. This is done under compiler options. After you have done this,
you should be able to build the project. There will be several
compiler warnings about pass_c.c
but you can ignore them. If all goes well, you will have made
your first GigaOps application!
Previous Step
Tutorial,
Summary
Reconfigurable Logic Home Page,
ECEn Home Page