Hi Andrew:

Thanks. I change the sync period. But it looks still wrong. I put the modified 
mdl file again. Anybody could find something wrong?

The attached are the mdl file and the output wave.

Thanks

Wan

________________________________
From: Andrew Martens [mailto:martens.and...@gmail.com]
Sent: Wednesday, 5 November 2008 7:56 PM
To: Cheng, Wan (ATNF, Marsfield)
Cc: casper@lists.berkeley.edu
Subject: Re: [casper] Casper library basic setup

Hi Wan

Also remember that you have a PFB so (from the memo) you should remember to 
include the number of taps in your calculation.

e.g 2 order-2 reorder blocks, order-9 unscrambler, 4 input, 2048 channels, 2 
tap PFB

min sync = 2x(2x9x2048/4) = 9216x2

Good luck
Andrew

2008/11/5 <wan.ch...@csiro.au>
Hi Andrew:

Thanks for your help. According the sync_memo:

My example is: 2 order-2 reorder blocks, order-9 unscrambler, 4 input, 2048 
channels.

minimum sync period = 2*9*2048/4 = 9216.

And I set the counter to 9215. I guess the sync period is all right.

Wan

________________________________
From: Andrew Martens 
[mailto:martens.and...@gmail.com<mailto:martens.and...@gmail.com>]
Sent: Tuesday, 4 November 2008 6:07 PM
To: Cheng, Wan (ATNF, Marsfield)
Cc: casper@lists.berkeley.edu<mailto:casper@lists.berkeley.edu>
Subject: Re: [casper] Casper library basic setup

Hi Wan

I had a look at your design and noticed the following;

* The output of the FFT is complex data. You need to convert this into real and 
imaginary parts if it is to make sense. Use a c_to_ri from the Misc section of 
the library.
* You need to put "Gateway Out" blocks on all signals from Xilinx blocks that 
go to 'normal' Simulink blocks. This means that all inputs to Scope blocks from 
System Generator blocks need to go through a "Gateway Out" block.
* Please also re-read the memo Henry suggested on the use of syncs in the 
CASPER library. Your sync period is too small relative to the size of your FFT 
and PFB.
* Also note that the output sync from the FFT will show you where your spectrum 
begins so you may want to look at that with the scope you use to look at the 
FFT data too.

Hope this helps.

Cheers
Andrew


2008/11/4 <wan.ch...@csiro.au>
Hi all:

I build a very basic module with PFB and FFT. But the output looks not right. 
Anybody has anyidea? What's wrong with it?
The attached is the mdl file.

Thanks.

Wan


<<attachment: output.JPG>>

Attachment: RFI_test5.mdl
Description: RFI_test5.mdl

Reply via email to