05-28-2010 01:02 PM
Hello Everyone,
I need your help in designing scrambler for 1+x^-18+x^-23. The diagram for which is given in the attached document.I have implemented scrambler in verilog but as I am new to this software i need guidance.
05-28-2010 01:14 PM
raja ji wrote:The diagram for which is given in the attached document.
05-28-2010 01:44 PM
05-28-2010 01:52 PM
05-28-2010 02:07 PM
05-28-2010 02:50 PM
Is the data a 23 bit number? Take the 18th bit and the 23rd bit, add them, then add 1. Is this what you want? If so, convert the number to a boolean array, then convert the array to 0,1. These functions are found in the boolean palette. Then just grab the appropriate bits and add.
Or maybe it is an array of 23 bytes? Please give more information.
05-28-2010 04:11 PM
That's not going to be enough. If I understood it correctly, the "IN" is a bit stream, and you XOR the current bit to be transmitted with the XOR result of the previous 18th and 23rd bit. That XOR results is what gets transmitted.
I started to put something together, but got tied up with work. I'll see if I can finish it this evening or over the weekend, or maybe somebody else wants to jump in.
05-28-2010 11:13 PM
smercurio_fc you have understood it correctly.Could you please help me out this evening cause i need to do it before monday.
05-29-2010 05:36 AM
To get you started, here's some code for selecting a bit from a numeric:
You can use this code twice, for the 23rd and 18th bit XOR , XOR the outcome with the incoming numeric. Output that and store it in a shift register.
The rest shouldn't be too hard for your homework assignment.
Ton
05-29-2010 02:19 PM
Thanks Ton,
I have made what i understood,its shown in the attachment.
"XOR the outcome with the incoming numeric" this part shows error .How to correct it and store it in shift register?