Forum Discussion
Altera_Forum
Honored Contributor
9 years agoTestbench
Hi everyone
I need to help for my graduate thesis. I am working on aes 128 cipher and i had a code but i need a simulation and testbench . how can i do them . pls help me . I appretiated for your advice and help I hope I could tell you thanks.9 Replies
- Altera_Forum
Honored Contributor
What have you tried so far, and what problems are you having?
- Altera_Forum
Honored Contributor
my ports are
entity key_gen is port (roundkey: in STD_LOGIC_VECTOR(127 downto 0); round: in round_type; DATAOUT: out STD_LOGIC_VECTOR(127 downto 0)); end entity key_gen; I need to testbench code for modelsim simulation. - Altera_Forum
Honored Contributor
And whats the problem?
- Altera_Forum
Honored Contributor
I had a aes code but i dont know that is it works correct. I need to testbench code for check my code. can you control my code and faults? I am a beginner at fpga
my code's here - Altera_Forum
Honored Contributor
Why not try writing a testbench yourself, and come back when you have problems?
- Altera_Forum
Honored Contributor
i am trying to write but i am not so good. and I have to 2 weeks for project ending.
- Altera_Forum
Honored Contributor
--- Quote Start --- i am trying to write but i am not so good. and I have to 2 weeks for project ending. --- Quote End --- Well, have a go, then come back when you are having problems. We can help with problems, not do your work for you. - Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
You have no "begin" after architecture.
"variable" cannot be used in architectures, they have to be in processes/functions (did you mean signal?)