Guide Program FPGA

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 5

DownloadGuide Program FPGA
Open PDF In BrowserView PDF
​ ​Program​ ​FPGA
This​ ​guide​ ​demonstrates​ ​how​ ​to​ ​program​ ​the​ ​“Zynqberry”​ ​TE0726_M.​ ​Before​ ​you​ ​start​ ​with
this​ ​guide​ ​you​ ​should​ ​have​ ​created​ ​a​ ​project​ ​and​ ​written​ ​an​ ​application.
Since​ ​the​ ​Zynqberry​ ​board​ ​only​ ​have​ ​a​ ​clock​ ​that​ ​is​ ​dedicated​ ​to​ ​the​ ​processor​ ​we​ ​need​ ​to
start​ ​the​ ​processor​ ​in​ ​order​ ​to​ ​generate​ ​a​ ​clock​ ​signal​ ​for​ ​the​ ​logic​ ​circuit.​ ​Your​ ​will​ ​therefore
need​ ​to​ ​have​ ​Xilinx​ ​SDK​ ​installed​ ​on​ ​your​ ​computer​ ​in​ ​order​ ​to​ ​have​ ​a​ ​clock​ ​controlled
process​ ​running​ ​in​ ​your​ ​logic.
1) In​ ​the​ ​“Flow​ ​Navigator​ ​panel”​ ​under​ ​“Program​ ​and​ ​Debug”​ ​click​ ​“Generate​ ​Bitstream”
and​ ​“Yes”​ ​in​ ​the​ ​window​ ​that​ ​pops​ ​up.​ ​Vivado​ ​will​ ​then​ ​generate​ ​the​ ​bit​ ​file​ ​if​ ​you​ ​don’t
have​ ​any​ ​errors​ ​in​ ​you​ ​project.

2) Click​ ​“Cancel”​ ​to​ ​the​ ​window​ ​that​ ​pops​ ​up​ ​when​ ​your​ ​file​ ​has​ ​been​ ​generated

EMB1
Martin​ ​Skriver
MaSkr@mmmi.sdu.dk

3) Click​ ​“File->Export->Export​ ​Hardware…”​ ​and​ ​mark​ ​the​ ​check​ ​mark​ ​“Include​ ​bitstream”
and​ ​click​ ​“OK”​ ​on​ ​the​ ​window​ ​that​ ​pops​ ​up

4) Close​ ​Vivado​ ​and​ ​open​ ​the​ ​program​ ​“xsdk”,​ ​click​ ​“Browse”​ ​and​ ​find​ ​your​ ​“Vivado”
project​ ​and​ ​select​ ​the​ ​folder​ ​that​ ​ends​ ​with​ ​.sdk​ ​and​ ​click​ ​“OK”

5) In​ ​“SDK”​ ​click​ ​“File->New->Application​ ​Project”.​ ​Write​ ​a​ ​project​ ​name​ ​and​ ​under
“Hardware​ ​Platform”​ ​click​ ​on​ ​“new…”

2

EMB1
Martin​ ​Skriver
MaSkr@mmmi.sdu.dk

6) Give​ ​your​ ​new​ ​hardware​ ​platform​ ​a​ ​name​ ​and​ ​find​ ​the​ ​“.hdf”​ ​file​ ​in​ ​the​ ​.sdk​ ​directory​ ​for
the​ ​“Target​ ​Hardware​ ​Specifications”​ ​followed​ ​by​ ​“Finish”

7) In​ ​the​ ​“New​ ​Project”​ ​window​ ​select​ ​your​ ​new​ ​hardware​ ​platform​ ​and​ ​click​ ​“Next”

3

EMB1
Martin​ ​Skriver
MaSkr@mmmi.sdu.dk

8) Select​ ​“Hello​ ​World”​ ​project​ ​and​ ​click​ ​“Finish”

9) Connect​ ​your​ ​FPGA​ ​board​ ​to​ ​your​ ​computer​ ​and​ ​right​ ​click​ ​on​ ​your​ ​application​ ​project
and​ ​select​ ​“Run​ ​As->Launch​ ​on​ ​Hardware(System​ ​debugger).​ ​Your​ ​PS​ ​should​ ​now

4

EMB1
Martin​ ​Skriver
MaSkr@mmmi.sdu.dk

have​ ​created​ ​a​ ​clock​ ​signal​ ​for​ ​you​ ​PL.
10)In​ ​the​ ​menu​ ​bar​ ​click​ ​“Xilinx​ ​Tools->Program​ ​FPGA.

Now​ ​your​ ​program​ ​should​ ​be​ ​running​ ​on​ ​the​ ​FPGA​ ​or​ ​you​ ​are​ ​in​ ​trouble​ ​;)​ ​It​ ​is​ ​also​ ​possible
to​ ​program​ ​your​ ​hardware​ ​in​ ​Vivado​ ​but​ ​i​ ​havn’t​ ​found​ ​out​ ​how​ ​to​ ​program​ ​the​ ​processor​ ​from
there​ ​yet.

5



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
Linearized                      : No
Page Count                      : 5
PDF Version                     : 1.4
Producer                        : Mac OS X 10.12.6 Quartz PDFContext
Create Date                     : 2017:09:25 07:18:57Z
Modify Date                     : 2017:09:25 07:18:57Z
EXIF Metadata provided by EXIF.tools

Navigation menu