Upgrade to Pro — share decks privately, control downloads, hide ads and more …

2017.01.28 MicroZedとSDSoCでオシロスコープを作る

muojp
January 28, 2017

2017.01.28 MicroZedとSDSoCでオシロスコープを作る

SDSoCでLinuxアプリの拡張モジュールを書く話
SDSoC勉強会

muojp

January 28, 2017
Tweet

More Decks by muojp

Other Decks in Programming

Transcript

  1. Sigrokͷ৴߸Ωϟϓνϟॲཧ ϥΠϑαΠΫϧ int (*dev_open) (struct sr_dev_inst *sdi); int (*dev_close) (struct

    sr_dev_inst *sdi); int (*dev_acquisition_start) (const struct sr_dev_inst *sdi,
 void *cb_data); int (*dev_acquisition_stop) (struct sr_dev_inst *sdi,
 void *cb_data);
  2. Sigrok(PS্Ͱ׬݁ͯ͠ಈ࡞)༻υϥΠό͔Β PLΛୟ͘?? PS PL Ξφϩά
 ΠϯλϑΣʔε(ADC) Sigrok SigrokυϥΠό SDSoCͰ૊ΜͩAXI4
 ΠϯλϑΣʔε(.so)

    ADCΠϯλϑΣʔε (Verilog HDL) ී௨ͷLinuxΞϓϦ಺ͷϢʔβϞʔυυϥΠό͔Β SDSoCͰ૊Μͩڞ༗ϥΠϒϥϦΛݺͼग़͍ͨ͠
  3. samples/fir_lib sdslib -lib libfir.a \ fir fir.c \ fir_reload fir_reload.c

    \ fir_config fir_config.c \ -vlnv xilinx.com:ip:fir_compiler:7.2 \ -ip-map fir_compiler.fcnmap.xml \ -ip-params fir_compiler.params.xml