Intel - logoSesebediswa Unit Simulation Environment Software
Bukana ea Mosebelisi

Mabapi le Tokomane ena

Tokomane ena e hlalosa mokhoa oa ho etsisa joalo kaample Accelerator Functional Unit (AFU) e sebelisang Intel
Tikoloho ea Accelerator Functional Unit (AFU) Simulation Environment (ASE). Sheba Tataiso ea Mosebelisi ea Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) bakeng sa lintlha tse felletseng mabapi le bokhoni ba ASE le boqapi ba kahare.
Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) ke tikoloho ea ho etsisa hardware le software bakeng sa Karete efe kapa efe ea Intel FPGA Programmable® Acceleration Card (Intel FPGA PAC). Tikoloho ena ea kopanelo ea software hajoale e ts'ehetsa Intel FPGA PACs tse latelang: 10 GX FPGA

  • Intel FPGA Programmable Acceleration Card D5005
  • Intel Programmable Acceleration Card e nang le Intel Arria®
    ASE e fana ka mohlala oa transaction bakeng sa protocol ea Core Cache Interface (CCI-P) le mohlala oa memori bakeng sa memori ea lehae e khomaretsoeng ke FPGA.
    ASE e boetse e tiisa ho latela Accelerator Functional Unit (AFU) ho liprothokholo le li-API tse latelang:
  • Tlhaloso ea protocol ea CCI-P
  • The Avalon
    Tlhaloso ea Sehokelo sa Memori (Avalon-MM)
  • The Open Programmable Acceleration Engine (OPAE)®

Letlapa la 1. Acceleration Stack bakeng sa Intel Xeon® CPU e nang le FPGAs Glossary

Nako Kgutsufatso Tlhaloso
Intel Acceleration Stack bakeng sa Intel Xeon® CPU e nang le li-FPGA Acceleration Stack Pokello ea software, firmware le lisebelisoa tse fanang ka khokahanyo e ntlafalitsoeng ea ts'ebetso lipakeng tsa Intel FPGA le processor ea Intel Xeon.
Intel FPGA Programmable Acceleration Card (Intel FPGA PAC) Intel FPGA PAC PCIe * FPGA karete ea accelerator.
E na le FPGA Interface Manager (FIM) e tsamaisanang le processor ea Intel Xeon holim'a bese ea PCIe.
Intel Xeon Scalable Platform e nang le FPGA e kopaneng Sethala se kopaneng sa FPGA Intel Xeon hammoho le sethala sa FPGA se nang le Intel Xeon le FPGA ka har'a sephutheloana se le seng le ho arolelana cache ea memori e lumellanang ka Ultra Path Interconnect (UPI).

Lintlha Tse Amanang
Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Tataiso ea Mosebelisi

Intel Corporation. Litokelo tsohle li sirelelitsoe. Intel, logo ea Intel, le matšoao a mang a Intel ke matšoao a khoebo a Intel Corporation kapa lithuso tsa eona. Intel e tiisa ts'ebetso ea FPGA ea eona le lihlahisoa tsa semiconductor ho latela litlhaloso tsa hajoale ho latela waranti e tloaelehileng ea Intel empa e na le tokelo ea ho etsa liphetoho ho lihlahisoa le lits'ebeletso life kapa life ka nako efe kapa efe ntle le tsebiso. Intel ha e nke boikarabello kapa boikarabello bo hlahang ka lebaka la kopo kapa ts'ebeliso ea tlhahisoleseling efe kapa efe, sehlahisoa, kapa ts'ebeletso e hlalositsoeng mona ntle le ha ho lumellane ka ho hlaka ka lengolo ke Intel. Bareki ba Intel ba eletsoa ho fumana mofuta oa morao-rao oa litlhaloso tsa sesebelisoa pele ba itšetleha ka tlhahisoleseling efe kapa efe e phatlalalitsoeng le pele ba kenya liodara tsa lihlahisoa kapa lits'ebeletso.
*Mabitso a mang le mabitso a mang a ka nkoa e le thepa ea ba bang.
ISO 9001:2015 E Ngolisitsoe

Litlhoko tsa Tsamaiso

Litlhoko tsa sistimi ea Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) ke tsena::

  • Sistimi ea ts'ebetso ea 64-bit ea Linux. Tokollo ena e netefalitse sistimi e latelang ea ts'ebetso:
    - Bakeng sa Intel FPGA PAC D5005:
  • RHEL 7.6 e nang le Kernel 3.10.0-957
    - Bakeng sa Intel PAC e nang le Intel Arria 10 GX FPGA:
  • RHEL 7.6 e nang le Kernel 3.10.0-957
  • Ubuntu 18.04 e nang le Kernel 4.15
  • E 'ngoe ea li-simulator tse latelang:
    — 64-bit Synopsy* VCS-MX-2016.06-SP2-1 RTL Simulator
    — 64-bit Mentor Graphics* Modelsim SE Simulator (Version 10.5c)
    - 64-bit Mentor Graphics QuestaSim Simulator (Version 10.5c)
  • Moqapi oa C: GCC 4.7.0 kapa ka holimo
  • CMake: mofuta 2.8.12 kapa ka holimo
  • GNU C Library: mofuta oa 2.17 kapa ka holimo
  • Python: mofuta oa 2.7
  • Intel Quartus® Prime Pro Edition software version 19.2 (1)

Ho Theha Tikoloho

O tlameha ho theha tikoloho ea hau ea papiso mme o kenye software ea OPAE pele o sebelisa ASE.

  1. Beha maemo a latelang a tikoloho bakeng sa software ea hau ea ketsiso:
    • Bakeng sa VCS:
    $ kantle ho VCS_HOME=
    $ romela PATH=$VCS_HOME/bin:$PATH
    Sebopeho sa directory sa ho kenya VCS se tjena:
    Intel Accelerator Functional Unit Simulation Environment Software - Setšoantšo sa 1Etsa bonnete ba hore sistimi ea hau e na le laesense e nepahetseng ea VCS.
    • Bakeng sa Modelsim SE/QuestaSim:
    $ kantle ho naha MTI_HOME=
    $ export PATH=$MTI_HOME/linux_x86_64/:$MTI_HOME/bin/:$PATH
    Sebopeho sa directory sa ho kenya Modelsim / Questa se tjena:
    Intel Accelerator Functional Unit Simulation Environment Software - Setšoantšo sa 2Etsa bonnete ba hore sistimi ea hau e na le laesense e nepahetseng ea Modelsim SE/QuestaSim.
    • Bakeng sa Khatiso ea Intel Quartus Prime Pro:
    $ kantle ho naha QUARTUS_HOME=
    Sebopeho sa directory sa Intel Quartus Prime ke se latelang:
    Intel Accelerator Functional Unit Simulation Environment Software - Setšoantšo sa 3Eketsa phapang ea tikoloho ho hlahloba laesense ea Modelsim:
    $ romella kantle ho naha MGLS_LICENSE_FILE=
  2. Romela kantle:
    $ romella kantle ho naha LM_LICENSE_FILE=
  3.  Hlakola polokelo ea nako ea ho sebetsa file, 'me u kenye lilaebrari tsa OPAE, li-binary, kenyeletsa files, le lilaebrari tsa ASE joalokaha ho hlalositsoe karolong ena: Ho kenya OPAE Software Package ka har'a Tataiso ea Mosebelisi ea Intel Acceleration Stack Quick Start bakeng sa Intel FPGA PAC ea hau.

Tikoloho ea hau e tlameha ho hlophisoa ka nepo ho hlophisa le ho aha AFU. Haholo-holo, o tlameha ho kenya OPAE Software Development Kit (SDK) hantle. Lingoliloeng tsa OPAE SDK li tlameha ho ba PATH 'me li kenyelle files le lilaebrari tse tlamehang ho ba teng ho motlalehi oa C. Ho feta moo, o tlameha ho netefatsa hore OPAE_PLATFORM_ROOT e feto-fetoha ea tikoloho e behiloe. Sheba ho Instola OPAE Software Package bakeng sa tlhaiso-leseling e batsi.
Ho etsa bonnete ba hore OPAE SDK le ASE li kentsoe hantle, ka khetla, netefatsa hore PATH ea hau e kenyelletsa afu_sim_setup. Afu_sim_setup e lokela ho ba bukeng ea /usr/bin kapa ho haeba u hahile OPAE ho tloha mohloling files.

Lintlha Tse Amanang

  • Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Tataiso ea Mosebelisi
  • Ho kenya OPAE Software Package
    Bakeng sa Intel PAC e nang le Intel Arria 10 GX FPGA.
  • Ho kenya OPAE Software Package Bakeng sa Intel FPGA PAC D5005.

Ho etsisa hello_afu ho Mokhoa oa Client-Server

The hello_afu example ke template e bonolo ea AFU e bonts'ang sebopeho sa mantlha sa CCI-P. RTL e khotsofatsa litlhoko tse tlase tsa AFU, e arabelang ho I/O ea 'mapa oa mohopolo ho khutlisetsa hlooho ea sesebelisoa le UUID ea AFU.
Setšoantšo sa 1. hello_afu Sefate sa Directory

Intel Accelerator Functional Unit Simulation Environment Software - Setšoantšo sa 4

Hlokomela:
Tokomane ena e sebelisaample> ho bua ka motho ea fetilengample moralo oa buka, joalo ka hello_afu setšoantšong se kaholimo.
Software e bonts'a litlhoko tse tlase tsa ho hokela FPGA o sebelisa OPAE. RTL e bonts'a litlhoko tse tlase tsa ho khotsofatsa mokhanni oa OPAE le hello_afu example software.
filelist.txt e totobatsa files bakeng sa ketsiso ea RTL le synthesis.
Ho lokisa le ho aha ka katleho AFU sampLeha ho le joalo, tikoloho ea hau e tlameha ho hlophisoa ka nepo, joalo ka ha ho hlalositsoe ho Ho Seta Tikoloho.

Lintlha Tse Amanang

  • Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Tataiso ea Mosebelisi
  • Ho Hlophisa Tikoloho leqepheng la 5

Ho nts'etsapele li-AFU ka OPAE SDK
Ho Tataiso ea Moqapi oa Setsi sa Ts'ebetso ea Accelerator (AFU).

4.1. Ketsiso ho Mokhoa oa Client-Server

E latelang example flow e hlahisa mengolo ea mantlha ea ASE. O ka etsisa tsohle tsa examphanyane ka ASE, ntle le eth_e2e_e10 le eth_e2e_e40.
Ketsiso e hloka lits'ebetso tse peli tsa software: ts'ebetso e le 'ngoe bakeng sa papiso ea RTL le ts'ebetso ea bobeli ea ho tsamaisa software e hokahantsoeng. Ho aha tikoloho ea papiso ea RTL, tsamaisa tse latelang ka $OPAE_PLATFORM_ROOT/hw/samples/hello_afu:
$ afu_sim_setup -mohloli hw/rtl/filelist.txt build_sim
Taelo ena e theha tikoloho ea ASE ho build_sim subdirectory.
Ho theha le ho tsamaisa simulator:
$ cd build_sim
$ etsa
$ etsa sim
Simulator e hatisa molaetsa oa hore e loketse ho etsisoa. E boetse e hatisa molaetsa o u khothaletsang hore u hlophise ASE_WORKDIR tikoloho e feto-fetohang.
Bula khetla e 'ngoe bakeng sa ketsiso ea software. U tlameha ho etsa bonnete ba hore u beha maemo a fapaneng a OPAE_PLATFORM_ROOT.
Ho aha le ho tsamaisa software ho khetla e ncha:
$ cd $OPAE_PLATFORM_ROOT
$ kantle ho naha ASE_WORKDIR=$OPAE_PLATFORM_ROOT/hw/samples/hello_afu/build_sim/work
$ cd $OPAE_PLATFORM_ROOT/hw/samples/hello_afu/sw
$ hloekisa
$ etsa USE_ASE=1
$ ./hello_afu

Hlokomela:
Lebitso le ikhethileng la ASE_WORKDIR le ka fapana. Sebelisa lebitso la tsela le fanoeng ke molaetsa oa simulator.
Software le simulator li matha, log transactions, le ho tsoa.

4.1.1. Ketsiso Log Files
Bukana ea mosebetsi oa ho etsisa e boloka sebopeho sa waveform, CCI-P transactions, le log log ea ketsiso files.
Qetella mehato e latelang ho view database ea waveform:

  1. Fetolela bukeng eo u entseng taelo ea make sim ho eona.
  2. Mofuta:
    $ etsa wave
    The make wave command e hohela waveform viewer.

4.1.2. Liphatlalatso tsa Moralo
E latelang file le li-directory li hlalosa papiso ea AFU:

  • $OPAE_PLATFORM_ROOT/hw/samphanyane/ample>/hw/rtl/filelist.txt e totobatsa mehloli ea RTL.
  • <AFU example> ke example directory joalokaha ho bontšitsoe setšoantšong sa hello_afu Directory Tree.
  • filelist.txt manane SystemVerilog, VHDL, le AFU JavaScript Object Notation (.json) file.
  • AFU .json e hlalosa li-interfaces tseo AFU e li hlokang. E boetse e kenyelletsa UUID ho tsebahatsa AFU hang ha e jarollotsoe ho FPGA.
  • hw/rtl/hello_afu.json e hlalosa ccip_std_afu e le sebopeho sa maemo a holimo ka ho seta afu-top-interface ho ccip_std_afu. ccip_std_afu ke sebopeho sa mantlha sa CCI-P se kenyelletsang lioache, reset, le CCI-P TX le meaho ea RX. Ex e tsoetseng peleamples hlalosa likhetho tse ling tsa li-interface.
  • The .json file e phatlalatsa AFU UUID. Sengoloa sa OPAE se hlahisa UUID. RTL e kenya UUID ho tsoa ho afu_json_info.vh.
  • sw/Etsafile e hlahisa afu_json_info.h. Software e kenya UUID ho tsoa ho afu_json_info.h.

4.1.3. Ketsiso ea ho rarolla mathata a Client-Server
Haeba taelo ea afu_sim_setup e hloleha, netefatsa hore:

  • afu_sim_setup e tseleng ea hau. afu_sim_setup e lokela ho ba ho /usr/bin kapa ho haeba u hahile OPAE ho tloha mohloling files.
  • U kentse mofuta oa Python 2.7 kapa holimo.

Haeba u sa khone ho haha ​​​​le ho phethahatsa simulator, ho ka etsahala hore ebe ha ua kenya sesebelisoa sa hau sa RTL ka nepo.
Ha u leka ho aha le ho tsamaisa software, haeba u bona molaetsa oa "Phoso ha u bala li-AFC", u tlohetse ho beha USE_ASE=1 moleng oa taelo. Software e ntse e batla sesebelisoa sa 'mele sa FPGA. Ho hlaphoheloa, pheta mehato e tsoang ho make clean command.

AFU Examples

Lethathamo la 2.
AFU Examples
E 'ngoe le e 'ngoe ea AFU example kenyeletsa README e qaqileng file, ho fana ka tlhaloso ea ts'ebetso le lintlha tsa mokhoa oa ho etsisa moralo. Bakeng sa kutloisiso e feletseng ea mokhoa oa ho etsisa, review TS'EBA file ho e 'ngoe le e 'ngoe ea AFU example.

AFU Tlhaloso
hello_mem_afu hello_mem_afu e bonts'a AFU e hahang mochini o bonolo oa boemo ho fihlella mohopolo. Mochini oa mmuso o khona ho fihlella lipaterone tse 'maloa mohopolong oa lehae o hokahantsoeng ka kotloloho ho lithakhisa tsa FPGA, joalo ka li-DDR4 DIMM. Mohopolo ona o fapane le memori ea moamoheli e fihletsoeng ho CCI-P. Moamoheli o laola mochini oa "hello_mem_afu controller state" o sebelisa likopo tsa I/O (MMIO) tse kentsoeng mohopolong oa ho laola le ho ngolisa maemo (CSRs).
hello_intr_afu hello_intr_afu e bonts'a ts'ebetso e sitisang ts'ebeliso ho ASE.
DMA le f1.1 (2) _ dma_afu e bonts'a DMA Basic Building Block bakeng sa moamoheli ho FPGA, FPGA ho amohela, le FPGA ho FPGA ho fetisetsa mohopolo. Ha o etsisa AFU ena, boholo ba buffer bo sebelisoang bakeng sa phetisetso ea DMA bo nyane ho boloka nako ea papiso e utloahala. Ho fumana lintlha tse ling, sheba Bukana ea Mosebelisi ea DMA Accelerator Functional Unit (AFU).
nlb_mode_O nlb_mode_O ke sistimi ea CCI-P e bonts'ang tlhahlobo ea kopi ea memori. $0PAE_PLATFORM_ROOT/ sw/opae—cre/ease number>/sample/hello_fpga . c e kenyelletsa nlb_mode_0.
$ sh regress.sh -a -r rtl_sim
-s < vcslmodelsimlquesta > [-i )
-b
ho phallela_dma streaming_dma e bonts'a mokhoa oa ho fetisa data lipakeng tsa memori ea moamoheli le boema-kepe ba ho phallela ba FPGA. Ho fumana lintlha tse ling, sheba Tataiso ea Mosebelisi ea Streaming DMA Accelerator Functional Unit (AFU).
hello_afu hel lo_a fu ke AFU e bonolo e bonts'ang sebopeho sa mantlha sa CCI-P. RTL e khotsofatsa litlhoko tse fokolang tsa AFU, ho arabela ho MMIO ho bala ho khutlisetsa sehlooho sa sesebelisoa le UUID ea AFU.

Lintlha Tse Amanang

  • DMA Accelerator Functional Unit (AFU) Tataiso ea Mosebelisi
    Bakeng sa tlhaiso-leseling ea ho bokella le ho sebelisa dma_afu ho Intel PAC ea hau ka Intel Arria 10 GX FPGA.
  • Phallela DMA Accelerator Functional Unit (AFU) Guide User
    Ho fumana leseli mabapi le mokhoa oa ho bokella le ho sebelisa streaming_dma_afu ho Intel PAC ea hau ka Intel Arria 10 GX FPGA.
  • DMA Accelerator Functional Unit Guide Guide: Intel FPGA Programmable Acceleration Card D5005
    Bakeng sa tlhaiso-leseling ea ho bokella le ho sebelisa dma_afu ho Intel FPGA PAC D5005 ea hau.
  • Tataiso ea Ts'ebetso ea Setsi sa Ts'ebetso ea DMA Accelerator: Intel FPGA Programmable Acceleration Card D5005
    Bakeng sa tlhaiso-leseling ea ho bokella le ho sebelisa dma_afu ho Intel FPGA PAC D5005 ea hau.

Ho batle phoso

Haeba phoso e latelang e hlaha nakong ea papiso, e lokise ka ho latela mehato e ka tlase.
Molaetsa oa Phoso
# [SIM] Mohlala oa ASE mohlomong o ntse o sebetsa bukeng ea hajoale!
# [SIM] Sheba PID 28816
# [SIM] Simulation e tla tsoa… o ka sebelisa SIGKILL ho bolaea ts'ebetso ea papiso.
# [SIM] Hape hlahloba hore na .ase_ready.pid file e tlosoa pele e tsoela pele. Tharollo

  1. Type kill ase_simv ho bolaea ts'ebetso ea zombie le ho tlosa leha e le efe ea nakoana filee siiloe ke mekhoa e hlōlehileng ea ketsiso kapa ho notlela.
  2. Hlakola .ase_ready.pid file, e fumanoa bukeng ea $ASE_WORKDIR.

ASE Quick Start User Guide Archives

Mofuta oa Intel Acceleration Stack Bukana ea Mosebelisi
2.0 Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Guide Start User Guide
1. Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Guide Start User Guide
1. Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Guide Start User Guide
1.0 Intel Accelerator Functional Unit (AFU) Simulation Environment (ASE) Guide Start User Guide

Nalane ea Tokomane ea Tokomane bakeng sa Tataiso ea Mosebelisi ea ASE ea Quick Start

Tokomane Version Mofuta oa Intel Acceleration Stack Liphetoho
2020.03.06 1.2.1 le 2.0.1 E ntlafalitse tse latelang:
• Litlhoko tsa Tsamaiso
2019.08.05 2.0 • E ntlafalitse mofuta oa Intel Quartus Prime Pro Edition ho Litlhoko tsa Tsamaiso.
• E kentse hello_afu ho AFU Examples.
• Ho tloswa tlhahisoleseding mabapi le ketsiso ka mokgwa wa regression.
• E kentse karolo e ncha: ASE Quick Start User Guide Archives.
2018.12.04 1. E kenyellelitse tšehetso ea Ubuntu.
2018.08.06 1. E ntlafalitse litlhoko tsa sistimi, sebopeho sa directory, le tse tsamaellanang filemabitso.
2018.04.10 1.0 Tokollo ea pele.

683200 | 2020.03.06
TCL HH42CV1 Link Hub - letšoao la 8Romella Maikutlo

Litokomane / Lisebelisoa

Intel Accelerator Functional Unit Simulation Environment Software [pdf] Bukana ea Mosebelisi
Setsi sa Tshebetso sa Accelerator, Ketsiso ya Tikoloho Software, Accelerator Functional Unit Simulation Environment, Software, Accelerator Functional Unit Simulation Environment Software.

Litšupiso

Tlohela maikutlo

Aterese ea hau ea lengolo-tsoibila e ke ke ea phatlalatsoa. Libaka tse hlokahalang li tšoailoe *