Professional Documents
Culture Documents
Experiment: 2 Object
Experiment: 2 Object
Experiment: 2 Object
EC-2 (BIST)
EXPERIMENT: 2
OBJECT:
To simulate Hamming code using the binary format, and a Reed-Solomon code
using the integer format.
INTRODUCTION:
Binary Format (All Coding Methods)
You can structure messages and codewords as binary vector signals, where each vector
represents a message word or a codeword. At a given time, the encoder receives an entire
message word, encodes it, and outputs the entire codeword. The message and code signals share
the same sample time.
Result:-
Here we get without Hamming Block there is :
Bit Error Rate:- 0.0099
Total Error :- 100
Total Symbol :- 1.01e + 004
Connect the blocks as in the preceding figure. From the model window's Simulation menu,
select Configuration parameters. In the Configuration Parameters dialog box, set Stop time to
500.
The vector length numbers appear on the connecting lines only if you select Signal dimensions
from the Port/signal displays submenu of the model's Format menu. The encoder accepts a
vector of length 5 (which is K in this case) and produces a vector of length 15 (which is N in this
case). The decoder does the opposite.
Running the model produces the following scope images.