tariq786
Advanced Member level 2

I have a C model of 128 bit AES (advanced encryption standard)
I want to make this C model as a reference model that is i want to pass input to this C model and the verilog model and compare the output of the two models to see if they have the same value or not.
The problem is that i dont know how to pass 128 bit values from verilog to C model.
Has anyone done some thing similar?
Please educate me and others
Thanks
I want to make this C model as a reference model that is i want to pass input to this C model and the verilog model and compare the output of the two models to see if they have the same value or not.
The problem is that i dont know how to pass 128 bit values from verilog to C model.
Has anyone done some thing similar?
Please educate me and others
Thanks