Hi, I've been helping Andres and applied the patch you send to the system files using git-apply. Double checked the system files to see if it worked correctly. After that we tries recompiling the program but the error remains.
Constructing platform-level connectivity ... ERROR:EDK:4072 - INSTANCE: sys_block_inst, PORT: fab_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 181 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_XSG_core_config, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 206 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_acc_cnt, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 279 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_acc_len, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 291 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_asiaa_adc5g, PORT: ctrl_clk_in - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 303 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_asiaa_adc5g, PORT: datain_pin - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 303 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_asiaa_adc5g, PORT: datain_tap - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 303 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_asiaa_adc5g, PORT: tap_rst - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 303 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_cnt_rst, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 377 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_0_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 389 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_1_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 419 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_2_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 449 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_3_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 479 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_4_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 509 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_5_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 539 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_6_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 569 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_dout0_7_ramblk, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 599 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_gain, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 629 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_led0_sync, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 641 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_led0_sync, PORT: clk90 - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 641 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_led1_new_acc, PORT: clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 656 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_led1_new_acc, PORT: clk90 - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 656 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_sync_cnt, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 671 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_sync_gen_sync, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 683 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_sync_gen_sync_period_sel, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 695 ERROR:EDK:4072 - INSTANCE: spec_roach2_1200_sync_gen_sync_period_var, PORT: user_clk - port is driven by a sourceless connector - /home/roach/Desktop/workspace/spec_roach2_1200/XPS_ROACH2_base/system.mhs line 707 Completion time: 1.00 seconds ERROR:EDK:440 - platgen failed with errors! gmake: *** [implementation/system.bmm] Error 2 ERROR:EDK - Error while running "gmake -f system.make bits". Error using gen_xps_files (line 638) XPS failed. ________________________________________ Van: Andres Alvear [andres.alve...@gmail.com] Verzonden: vrijdag 4 juli 2014 17:15 Aan: Geelen, T.F.G. Onderwerp: Fwd: [casper] Fwd: ADC 5GS error in ROACH2 ---------- Forwarded message ---------- From: Primiani, Rurik <rprimi...@cfa.harvard.edu<mailto:rprimi...@cfa.harvard.edu>> Date: 2014-05-07 16:26 GMT-04:00 Subject: Re: [casper] Fwd: ADC 5GS error in ROACH2 To: Andres Alvear <andres.alve...@gmail.com<mailto:andres.alve...@gmail.com>> Cc: CASPER Mailing List <casper@lists.berkeley.edu<mailto:casper@lists.berkeley.edu>> Hi Andres, I've found the source of your problem and it's a bug (my fault) originating from the use of ZDOK1 without ZDOK0. A really quick way to avoid this error is to change your single ADC5G to ZDOK0. However if you can't do that I have pushed a fix for this to the sma-wideband mlib_devel fork on Github, located here: https://github.com/sma-wideband/mlib_devel See commit d4954fd. It's up to you on whether to re-clone using that repository, or add it as a remote and merge in the changes. However if you prefer to just apply a patch I have attached a patch file that can be applied (using git apply) in your mlib_devel root directory which should fix your issue. Best, Rurik On Wed, May 7, 2014 at 4:15 PM, Andres Alvear <andres.alve...@gmail.com<mailto:andres.alve...@gmail.com>> wrote: > Hi Rurik, > > Yes, I am trying that setup. > > The output of the commands is the following: > > root@roach-MS-7845:/opt/mlib_devel# git rev-parse --short HEAD > a8c43a8 > root@roach-MS-7845:/opt/mlib_devel# git remote -v > origin > git://github.com/ska-sa/mlib_devel.git<http://github.com/ska-sa/mlib_devel.git> > (fetch) > origin > git://github.com/ska-sa/mlib_devel.git<http://github.com/ska-sa/mlib_devel.git> > (push) > > Thanks, > Andres > > > 2014-05-07 16:01 GMT-04:00 Primiani, Rurik > <rprimi...@cfa.harvard.edu<mailto:rprimi...@cfa.harvard.edu>>: > >> Hi Andres, >> >> Are you using a single ADC5G in the ZDOK1 slot? If so, why? >> >> Can you give the output of the following commands from your mlib_devel >> root directory: >> >> $ git rev-parse --short HEAD >> $ git remote -v >> >> Thanks, >> Rurik >> >> On Wed, May 7, 2014 at 3:56 PM, Andres Alvear >> <andres.alve...@gmail.com<mailto:andres.alve...@gmail.com>> >> wrote: >> > >> > Hi Rurik, >> > >> > I am using Xilinx 14.5 version and the last time I updated the libraries >> > was >> > november 2013. >> > >> > Do you think that's the problem? >> > >> > Thanks, >> > Andres >> > >> > >> > 2014-05-07 15:48 GMT-04:00 Primiani, Rurik >> > <rprimi...@cfa.harvard.edu<mailto:rprimi...@cfa.harvard.edu>>: >> > >> >> Hi Andres, >> >> >> >> Which version of mlib_devel are you using? >> >> >> >> Thanks, >> >> Rurik >> >> >> >> On Wed, May 7, 2014 at 3:43 PM, Andres Alvear >> >> <andres.alve...@gmail.com<mailto:andres.alve...@gmail.com>> >> >> wrote: >> >> > I am trying to compile a wideband spectrometer (like in tutorial 3) >> >> > for >> >> > ROACH 2, using a ADC1x5000-8 in the 1:1 demux version. >> >> > >> >> > I'm using the asiaa_adc5g yellow block in simulink model with the >> >> > following >> >> > configuration: >> >> > >> >> > Input mode: One-Channel -- A >> >> > ADC Board ZDOK1 >> >> > Internal Demux: 1:1 >> >> > ADC Clock Rate: 800 MHz >> >> > >> >> > I get the following compilation error: >> >> > >> >> > ERROR:EDK:4072 - INSTANCE: tutorial3roach2_v2_asiaa_adc5g, PORT: >> >> > datain_pin >> >> > - >> >> > port is driven by a sourceless connector - >> >> > >> >> > >> >> > >> >> > /home/roach/Desktop/workspace/tutorial3roach2_v2/XPS_ROACH2_base/system.mhs >> >> > line 279 >> >> > ERROR:EDK:4072 - INSTANCE: tutorial3roach2_v2_asiaa_adc5g, PORT: >> >> > datain_tap >> >> > - >> >> > port is driven by a sourceless connector - >> >> > >> >> > >> >> > >> >> > /home/roach/Desktop/workspace/tutorial3roach2_v2/XPS_ROACH2_base/system.mhs >> >> > line 279 >> >> > ERROR:EDK:4072 - INSTANCE: tutorial3roach2_v2_asiaa_adc5g, PORT: >> >> > tap_rst >> >> > - >> >> > port >> >> > is driven by a sourceless connector - >> >> > >> >> > >> >> > >> >> > /home/roach/Desktop/workspace/tutorial3roach2_v2/XPS_ROACH2_base/system.mhs >> >> > line 279 >> >> > Completion time: 0.00 seconds >> >> > ERROR:EDK:440 - platgen failed with errors! >> >> > gmake: *** [implementation/system.bmm] Error 2 >> >> > ERROR:EDK - >> >> > Error while running "gmake -f system.make bits". >> >> > Error using gen_xps_files (line 638) >> >> > XPS failed. >> >> > >> >> > Cheers, >> >> > Andres >> >> > >> >> > >> > >> > >> > > >