LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to design scrambler in labVIEW?

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.

 

 

0 Kudos
Message 1 of 14
(5,134 Views)

raja ji wrote:

The diagram for which is given in the attached document.


 

 
 there is no attached document...
0 Kudos
Message 2 of 14
(5,127 Views)
sorry about that ,i have attached it now
0 Kudos
Message 3 of 14
(5,105 Views)
Please attach the file in a more universal format. Not everyone has Word 2007. A PDF would be perfect.
0 Kudos
Message 4 of 14
(5,099 Views)
0 Kudos
Message 5 of 14
(5,086 Views)

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.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 6 of 14
(5,060 Views)

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. 

0 Kudos
Message 7 of 14
(5,034 Views)

0 Kudos
Message 8 of 14
(5,003 Views)

To get you started, here's some code for selecting a bit from a numeric:

Example_VI_BD.png

 

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

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 9 of 14
(4,985 Views)

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?

0 Kudos
Message 10 of 14
(4,960 Views)