Data generation for CRC-16 CCITT

OP #4242923
Rate this post
useful
not useful
I want to test my CRC encoder/decoder by sending packet based data by 
hdl test bench, i have sent byte by byte data on each clock cycle and 
store it on ram memory locations,and test it successfully.Now next step 
to test my design is to take packet based data how can i handle it with 
ease and generate from test bench i tried it as follow for data 
generation?

//32-byte packet.
reg        [255:0] data;


data=256'hABCD......01(a total length of 32 byte)
kindly guide me as i am new-by to hdl.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now