Re: [casper] How to use the qdr_transpose and qdr_ct blocks?

2015-06-09 Thread Chenwei Cai
Hi Jack,

Yes, it works now! I have obtained the .bof file from the new compilation.
Thanks so much for your suggestions and help. I will try to calibrate qdr
with the script you provided in my next step.

Best Regards
Chenwei CAI

Email: caichenwei1...@pku.edu.cn


On Tue, Jun 9, 2015 at 4:24 AM, Jack Hickish jackhick...@gmail.com wrote:

 Hi Chenwei,

 I had a look at your model - the error will go away if you select the
 enable CPU interface option in your qdr yellow blocks. Regardless of your
 error, enabling the cpu interface is necessary because it is used for
 calibrating the qdr on roach2 (this was not the case on roach1) using the
 script in the mlib_devel repo.
 Note that currently calibrating the qdr requires software writes to occur
 in the top half of the memory without being interfered with by the fabric
 (aka simulink) qdr interface. QDR calibration will fail if you attempt to
 calibrate whilst the fabric is writing to the top half of the qdr memory
 space, so when using more than 20 bits of the address line, you'll need a
 way to halt the simulink interface during calibration.
 Tomorrow I'll try and modify the qdr controller so that it can override
 the simulink interface during calibration, since currently this is an
 unnecessary user hassle.

 Cheers,
 Jack

 On 8 June 2015 at 10:38, Chenwei Cai caichenwei1...@gmail.com wrote:

 Hi Jack,

 I have encountered the same problem with Xilinx 14.7. See the log,

 ERROR:PhysDesignRules:1763 - Issue with pin connections and/or
 configuration on

  
 block:qdr1_controller/qdr1_controller/qdrc_infrastructure_inst/IODELAY_sa20
:IODELAYE1_IODELAYE1.  For DELAY_SRC IO or O programming the
 ODATAIN
input pins of IODELAYE1 must be connected.
 ERROR:Bitgen:25 - DRC detected 1 errors and 63 warnings.  Please see the
previously displayed individual error or warning messages for more
 details.
 ===
 Flow run time summary: (01:08:07 seconds total)
 System update00:00:00
 Design Rules Check...00:00:00
 Xilinx System Generator..00:52:02
 Base system copy.00:00:00
 IP creation..00:00:00
 EDK files creation...00:00:05
 IP elaboration...00:00:00
 Software creation00:00:00
 EDK/ISE backend..00:15:58
 ===

 Maybe I truly need your help on this. And here is my model,
 https://www.dropbox.com/s/oiawxtux7syt0jv/fft_corner_turner_v4_nuevo.slx?dl=0
 . There is one self-defined block, filt_sample, within the model, which can
 be obtained an added through this url,
 https://www.dropbox.com/sh/qckqor5hw8if0rv/AAB_SGyCoBsgDHk-8YfpPKlma?dl=0
 .

 Thanks for your help!

 On Sat, Jun 6, 2015 at 3:43 AM, Jack Hickish jackhick...@gmail.com
 wrote:

 no rush - let me know how the compile goes!

 cheers
 jack

 On 5 June 2015 at 23:24, Chenwei Cai caichenwei1...@gmail.com wrote:

 Sure Jack, but I have to send that to you on Monday, because that is
 not in my personal computer. I have installed Xilinx 14.7 on that computer
 and the model is being compiled now.


 El sábado, 6 de junio de 2015, Jack Hickish jackhick...@gmail.com
 escribió:

 in fact, can you send me your design and i'll check it works on 14.7.
 Some of the warnings you have are a bit concerning but i think they might
 just be related to some bit slicing you're doing in your model.

 Thanks,
 Jack

 On 5 June 2015 at 13:06, Jack Hickish jackhick...@gmail.com wrote:

 Hi Chenwei,

 I'll fix the verilog anyway to get rid of that erro, but I think
 you'll find that if you use 14.7 the error will go away. In any case, 
 14.7
 is the last version of ISE that Xilinx will release, so it's the one 
 we're
 going to target in our libraries - it might be a good idea to upgrade 
 your
 toolflow for this reason alone.

 Cheers,
 Jack

 On Fri, 5 Jun 2015 at 12:57 Chenwei Cai caichenwei1...@gmail.com
 wrote:

 Hi Jack,

 I am using Xilinx 14.5.

 On Fri, Jun 5, 2015 at 4:55 PM, Jack Hickish jackhick...@gmail.com
 wrote:

 Hi Chenwei,

 What version of the Xilinx tools are you using?
 I think this is easy to fix, but I'm surprised I didn't see this
 error when I compiled my test models.

 Cheers,
 Jack

 On Fri, 5 Jun 2015 at 12:02 Chenwei Cai caichenwei1...@gmail.com
 wrote:

 Thanks Jack,

 The qdr_transpose seems to work appropriately now. And I am now
 using the qdr_transpose block to construct my model which will be 
 executed
 with ROACH II, as you can check out in the following url:
 https://www.dropbox.com/s/1wcz0lhmjgcuwua/Screenshot%20from%202015-06-05%2015%3A35%3A44.png?dl=0.
 The library I am using is the one Jack merged last week (
 http://www.mail-archive.com/casper@lists.berkeley.edu/msg05947.html
 ).

 The compile goes smoothly, only to find an error at the last of
 compile. See the log below, which records the last part of compile.

 Running DRC.
 WARNING:PhysDesignRules:367

Re: [casper] How to use the qdr_transpose and qdr_ct blocks?

2015-06-05 Thread Chenwei Cai
 a single sync into the block, at least until you are familiar with
 it's working.

 Cheers, (and hope that helps!)
 Jack



 On Fri, 24 Apr 2015 at 15:19 Chenwei Cai caichenwei1...@gmail.com wrote:

 Thanks Jack and Dan.

 Regarding the qdr_transpose block, I am still confused. I have set up
 some simple models to figure out how this block works, but they just lead
 me to a greater confusion.

 One of the models is like this:
 https://www.dropbox.com/s/dwhukesqqhdgllf/Screenshot%20from%202015-04-24%2018%3A26%3A33.png?dl=0
 .
 The parameters of the counter are
 https://www.dropbox.com/s/hboym3amfbrcom9/Screenshot%20from%202015-04-24%2018%3A26%3A51.png?dl=0
 .
 And the parameters of the qdr_transpose block are
 https://www.dropbox.com/s/o9ke9wpur5bucwt/Screenshot%20from%202015-04-24%2018%3A27%3A20.png?dl=0
 .

 What I expect to do is to transpose the matrix like this
 https://www.dropbox.com/s/cogwtc3sk0cnuem/Screenshot%20from%202015-04-24%2019%3A09%3A27.png?dl=0.
 I have no idea whether the model is doing the same thing as I expect it to
 finish, since the execution of the simulation results in this
 https://www.dropbox.com/s/c28ya7koy5nyisi/Screenshot%20from%202015-04-24%2018%3A21%3A52.png?dl=0
  in
 the scope,  which seems quite chaotic and intractable.

 I hope you can give me some more details on how to use the qdr_transpose
 block. Thanks!




 On Thu, Mar 26, 2015 at 4:38 PM, Chenwei Cai caichenwei1...@gmail.com
 wrote:

 Dear CASPER,

 My name is Chenwei Cai, and I am constructing the Mega-Channel
 Spectrometer with ROACH II. To achieve that, two corner turners are
 required before we implement FFTs, which means I may use qdr_transpose or
 qdr_ct blocks. Since I cannot find any explanations on these blocks
 anywhere, could you provide me some details about the functions of these
 two blocks and what kind of data do those ports receive/export?

 Look forward to hearing from you!

 --
 Best Regards
 Chenwei CAI

 Mobile: +86-152-0147-9411
 Email: caichenwei1...@pku.edu.cn




 --
 Best Regards
 Chenwei CAI

 Mobile: +86-152-0147-9411
 Email: caichenwei1...@pku.edu.cn




-- 
Best Regards
Chenwei CAI

Mobile: +86-152-0147-9411
Email: caichenwei1...@pku.edu.cn


Re: [casper] How to use the qdr_transpose and qdr_ct blocks?

2015-06-05 Thread Chenwei Cai
Hi Jack,

I am using Xilinx 14.5.

On Fri, Jun 5, 2015 at 4:55 PM, Jack Hickish jackhick...@gmail.com wrote:

 Hi Chenwei,

 What version of the Xilinx tools are you using?
 I think this is easy to fix, but I'm surprised I didn't see this error
 when I compiled my test models.

 Cheers,
 Jack

 On Fri, 5 Jun 2015 at 12:02 Chenwei Cai caichenwei1...@gmail.com wrote:

 Thanks Jack,

 The qdr_transpose seems to work appropriately now. And I am now using the
 qdr_transpose block to construct my model which will be executed with ROACH
 II, as you can check out in the following url:
 https://www.dropbox.com/s/1wcz0lhmjgcuwua/Screenshot%20from%202015-06-05%2015%3A35%3A44.png?dl=0.
 The library I am using is the one Jack merged last week (
 http://www.mail-archive.com/casper@lists.berkeley.edu/msg05947.html).

 The compile goes smoothly, only to find an error at the last of compile.
 See the log below, which records the last part of compile.

 Running DRC.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/fifo_din_buf181 is incomplete. The signal does not drive any load
 pins
in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/fifo_din_buf183 is incomplete. The signal does not drive any load
 pins
in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/fifo_din_buf1113 is incomplete. The signal does not drive any
 load pins
in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/fifo_din_buf161 is incomplete. The signal does not drive any load
 pins
in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/fifo_din_buf163 is incomplete. The signal does not drive any load
 pins
in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/fifo_din_buf117 is incomplete. The signal does not drive any load
 pins
in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/fifo_din_buf131 is incomplete. The signal does not drive any load
 pins
in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM11_RAMA_D1_DPO is
 incomplete. The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM11_RAMB_D1_DPO is
 incomplete. The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM11_RAMD_D1_O is incomplete.
 The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM3_RAMC_D1_DPO is incomplete.
 The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM3_RAMD_D1_O is incomplete.
 The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM14_RAMB_D1_DPO is
 incomplete. The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM14_RAMC_D1_DPO is
 incomplete. The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM14_RAMD_D1_O is incomplete.
 The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm/Mram_RAM19_RAMC_D1_DPO is
 incomplete. The
signal does not drive any load pins in the design.
 WARNING:PhysDesignRules:367 - The signal

  
 fft_corner_turner_v4_nuevo_asiaa_adc5g/fft_corner_turner_v4_nuevo_asiaa_adc5
g/FIFO/BU2/U0/grf.rf/mem/gdm.dm

Re: [casper] How to use the qdr_transpose and qdr_ct blocks?

2015-04-24 Thread Chenwei Cai
Thanks Jack and Dan.

Regarding the qdr_transpose block, I am still confused. I have set up some
simple models to figure out how this block works, but they just lead me to
a greater confusion.

One of the models is like this:
https://www.dropbox.com/s/dwhukesqqhdgllf/Screenshot%20from%202015-04-24%2018%3A26%3A33.png?dl=0
.
The parameters of the counter are
https://www.dropbox.com/s/hboym3amfbrcom9/Screenshot%20from%202015-04-24%2018%3A26%3A51.png?dl=0
.
And the parameters of the qdr_transpose block are
https://www.dropbox.com/s/o9ke9wpur5bucwt/Screenshot%20from%202015-04-24%2018%3A27%3A20.png?dl=0
.

What I expect to do is to transpose the matrix like this
https://www.dropbox.com/s/cogwtc3sk0cnuem/Screenshot%20from%202015-04-24%2019%3A09%3A27.png?dl=0.
I have no idea whether the model is doing the same thing as I expect it to
finish, since the execution of the simulation results in this
https://www.dropbox.com/s/c28ya7koy5nyisi/Screenshot%20from%202015-04-24%2018%3A21%3A52.png?dl=0
in
the scope,  which seems quite chaotic and intractable.

I hope you can give me some more details on how to use the qdr_transpose
block. Thanks!




On Thu, Mar 26, 2015 at 4:38 PM, Chenwei Cai caichenwei1...@gmail.com
wrote:

 Dear CASPER,

 My name is Chenwei Cai, and I am constructing the Mega-Channel
 Spectrometer with ROACH II. To achieve that, two corner turners are
 required before we implement FFTs, which means I may use qdr_transpose or
 qdr_ct blocks. Since I cannot find any explanations on these blocks
 anywhere, could you provide me some details about the functions of these
 two blocks and what kind of data do those ports receive/export?

 Look forward to hearing from you!

 --
 Best Regards
 Chenwei CAI

 Mobile: +86-152-0147-9411
 Email: caichenwei1...@pku.edu.cn




-- 
Best Regards
Chenwei CAI

Mobile: +86-152-0147-9411
Email: caichenwei1...@pku.edu.cn


[casper] How to use the qdr_transpose and qdr_ct blocks?

2015-03-26 Thread Chenwei Cai
Dear CASPER,

My name is Chenwei Cai, and I am constructing the Mega-Channel Spectrometer
with ROACH II. To achieve that, two corner turners are required before we
implement FFTs, which means I may use qdr_transpose or qdr_ct blocks. Since
I cannot find any explanations on these blocks anywhere, could you provide
me some details about the functions of these two blocks and what kind of
data do those ports receive/export?

Look forward to hearing from you!

-- 
Best Regards
Chenwei CAI

Mobile: +86-152-0147-9411
Email: caichenwei1...@pku.edu.cn