FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > Verilog

Verilog comp.lang.verilog newsgroup / usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-24-2005, 02:55 AM
Kris Neot
Guest
 
Posts: n/a
Default How do I convert a polynomial into a parallel scrambler formula?

My polynomial is S(x) = x(-7) + x(04) + 1, but my input data is one byte
each clock period. What are the equations to inplement this data scrambler?


Thanks.



Reply With Quote
  #2 (permalink)  
Old 06-24-2005, 03:08 PM
jtw
Guest
 
Posts: n/a
Default Re: How do I convert a polynomial into a parallel scrambler formula?

Apply it eight times before clocking; the tools will do the rest.

I'm not familiar with exactly the way you wrote your equation, but whatever
you mean by it, apply it eight times to get your "byte" result.

Jason

"Kris Neot" <[email protected]> wrote in message
news:[email protected]...
> My polynomial is S(x) = x(-7) + x(04) + 1, but my input data is one byte
> each clock period. What are the equations to inplement this data
> scrambler?
>
>
> Thanks.
>
>
>



Reply With Quote
  #3 (permalink)  
Old 06-24-2005, 11:07 PM
soxmax
Guest
 
Posts: n/a
Default Re: How do I convert a polynomial into a parallel scrambler formula?



Kris Neot wrote:
> My polynomial is S(x) = x(-7) + x(04) + 1, but my input data is one byte
> each clock period. What are the equations to inplement this data scrambler?
>
>
> Thanks.


You may have to create a look-up table (LUT) that contains various "S"
values for different "x" inputs. An LUT is kind of like ROM where you
would use your "x" input as the address. These "S" values are easily
computed using Excel or an open-source equivalent spreadsheet program.

Also the previous suggestion of performing a multiplication operation
several times per cycle is a pretty good idea but it eats up resources
or time:
m = 1/x
n = m * m * m * m * m * m * m
o = x * x * x * x
S(x) = n + o + 1

"m" will use up multiplication logic (to create the divider)
"n" will use up the logic needed for 7 multipliers. *OR* If you adjust
your data so that "n" is 8 bits wide then you can use a single
multiplier that is 56-bits wide (7*8) but it will take 7 cycles to
complete the operation.

I recommend using the LUT technique.

Best Regards
-Derek

Reply With Quote
  #4 (permalink)  
Old 06-24-2005, 11:34 PM
Charles Gardiner
Guest
 
Posts: n/a
Default Re: How do I convert a polynomial into a parallel scrambler formula?

And, you can check your result against the web-tool output at

http://www.easics.com/webtools/crctool


Reply With Quote
  #5 (permalink)  
Old 06-27-2005, 04:01 AM
Kris Neot
Guest
 
Posts: n/a
Default Re: How do I convert a polynomial into a parallel scrambler formula?

Very neat, thank you Charles.




"Charles Gardiner" <[email protected]> wrote in message
news:[email protected]...
> And, you can check your result against the web-tool output at
>
> http://www.easics.com/webtools/crctool
>
>



Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
nios-convert evan Verilog 0 03-25-2005 07:41 AM
Simvision, how may I make it automatically convert a VCD file into TRN? Kelvin Verilog 5 11-22-2004 01:11 AM
Bit-Stuffing on parallel 8 bit data kumar Verilog 7 02-17-2004 07:54 AM
Implementation of parallel 2D median filtering Andreas Verilog 0 12-02-2003 10:44 AM
How to convert Verilog to VHDL? Verilog 3 11-04-2003 01:26 PM


All times are GMT +1. The time now is 12:03 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved