As far as I can tell you applied the patch correctly to mlib_devel but the change hasn't taken effect. Are there multiple copies of mlib_devel on your system? Are you sure you applied the patch to the mlib_devel you're actually using?
Also, I'd recommend using the latest version of sma-wideband/mlib_devel if you can. This has been merged with ska-ska/mlib_devel and has this change built in. On Fri, Jul 4, 2014 at 2:25 PM, Geelen, T.F.G. <[email protected]> wrote: > Ah, my bad. Here is the correct one. > ________________________________ > Van: Primiani, Rurik [[email protected]] > Verzonden: vrijdag 4 juli 2014 20:21 > Aan: Geelen, T.F.G. > CC: Jack Hickish; Andres Alvear; [email protected] > Onderwerp: Re: [casper] ADC 5GS error in ROACH2 > > That is the pre-parsed system.mhs from your mlib_devel working copy. When > you compile a design the toolflow copies over the > mlib_devel/XPS_ROACH2_base to a new directory at the same location of your > design's MDL file and then it parses system.mhs. Can you please send that > parsed version from your design's system.mhs? If your MDL is located at > /some/path/design.mdl then the file I'm looking for is > /some/path/design/XPS_ROACH2_base/system.mhs. > > > On Fri, Jul 4, 2014 at 2:13 PM, Geelen, T.F.G. < > [email protected]<mailto:[email protected]>> wrote: > there you go > > ________________________________ > Van: Primiani, Rurik [[email protected]<mailto: > [email protected]>] > Verzonden: vrijdag 4 juli 2014 20:10 > Aan: Geelen, T.F.G. > CC: Jack Hickish; Andres Alvear; [email protected]<mailto: > [email protected]> > Onderwerp: Re: [casper] ADC 5GS error in ROACH2 > > Are you sure you applied the patch? Can you send your system.mhs from your > design's XPS_ROACH2_base directory? > > > > > On Fri, Jul 4, 2014 at 1:53 PM, Geelen, T.F.G. < > [email protected]<mailto:[email protected]><mailto: > [email protected]<mailto:[email protected]>>> wrote: > Hi Jack, > > That solved almost all the problems. We were indeed trying to use the > wrong clock for the wrong ADC. Stupid mistake. > > However I still have three of these error left... > > Constructing platform-level connectivity ... > 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 > > ________________________________________ > Van: Jack Hickish [[email protected]<mailto:[email protected] > ><mailto:[email protected]<mailto:[email protected]>>] > Verzonden: vrijdag 4 juli 2014 18:52 > Aan: Geelen, T.F.G. > CC: [email protected]<mailto:[email protected]><mailto: > [email protected]<mailto:[email protected]>>; Andres > Alvear > Onderwerp: Re: [casper] ADC 5GS error in ROACH2 > > Hi, > > Just a thought - Is it possible that the zdok you've selected for the ADC > doesn't match the clock selected in the mssge block? I.e., if you're ADC is > on zdok0, are you clocking off adc0 and not adc1? > > Cheers, > Jack > > On 4 Jul 2014 09:46, "Geelen, T.F.G." <[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>>> wrote: > 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 [[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>>] > 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 <[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>>>> > Date: 2014-05-07 16:26 GMT-04:00 > Subject: Re: [casper] Fwd: ADC 5GS error in ROACH2 > To: Andres Alvear <[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>>>> > Cc: CASPER Mailing List <[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>>>> > > > 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 <[email protected] > <mailto:[email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>>>> 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>< > http://github.com/ska-sa/mlib_devel.git>< > http://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>< > http://github.com/ska-sa/mlib_devel.git>< > http://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 <[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>><mailto:[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>>><mailto:[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>><mailto:[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>>>>>: > > > >> 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 <[email protected] > <mailto:[email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>><mailto:[email protected]<mailto: > [email protected]><mailto:[email protected]<mailto: > [email protected]>>>>> > >> 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 <[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>><mailto:[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>>><mailto:[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>><mailto:[email protected] > <mailto:[email protected]><mailto:[email protected] > <mailto:[email protected]>>>>>: > >> > > >> >> Hi Andres, > >> >> > >> >> Which version of mlib_devel are you using? > >> >> > >> >> Thanks, > >> >> Rurik > >> >> > >> >> On Wed, May 7, 2014 at 3:43 PM, Andres Alvear > >> >> <[email protected]<mailto:[email protected]><mailto: > [email protected]<mailto:[email protected]>><mailto: > [email protected]<mailto:[email protected]><mailto: > [email protected]<mailto:[email protected]>>><mailto: > [email protected]<mailto:[email protected]><mailto: > [email protected]<mailto:[email protected]>><mailto: > [email protected]<mailto:[email protected]><mailto: > [email protected]<mailto:[email protected]>>>>> > >> >> 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 > >> >> > > >> >> > > >> > > >> > > >> > > > > > > > > > > >

