discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Re: Help with Verilog: write_count


From: seph 004
Subject: [Discuss-gnuradio] Re: Help with Verilog: write_count
Date: Mon, 20 Nov 2006 03:30:06 -0800 (PST)


Message: 6
Date: Sun, 19 Nov 2006 17:29:24 -0800
From: Eric Blossom <address@hidden>
Subject: Re: [Discuss-gnuradio] Re: Help with Verilog: write_count
To: seph 004 <address@hidden>
Cc: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=us-ascii

On Sun, Nov 19, 2006 at 12:41:44PM -0800, seph 004 wrote:
>
> Using the standard host code, there's no such thing as sending 60
> bytes from the host.  We always send 512 byte packets across the USB.
>
> Not sure what you are doing...
>
> Eric
>
> Hi
>  

>   I changed the host code by removing the multiplier for the "max
>   bytes" argument. I assumed that this would let me send the exact
>   number of bytes that the user entered. For my final application,
>   I'm only looking to store a very small number of samples on the
>   FPGA.


>   If this was the wrong modification to the host code, then how
>   exactly would one go about sending a small number of samples (say
>   400 I and Q samples) without breaking the code?

You can send any multiple of 128 complex samples.  No need to hack the
host library. Take your pick: 128, 256, 384, 512

Eric

Am I correct in saying then that the max_bytes variable determines the number of samples sent? I'm not sure but the verilog seemed to be able to cope if the number of samples was some other value besides 128 or any multiple of it. I'd really like to be able to control the number of samples that go to the board exactly.

Regards

Lance





reply via email to

[Prev in Thread] Current Thread [Next in Thread]