Newbie question, Enigma in VHDL

H

HansWernerMarschke

I have just programmed the old enigma rotor machine (Not the original)
in C to get an example for the programming of Matlab/Simulink in C.
Now I wonder how hard it is to do the same in VHDL. I have no
knowledge in VHDL programming. How do I translate things like for and
while loops into VHDL ?

Thanks
 
M

Mike Treseler

I have just programmed the old enigma rotor machine (Not the original)
in C to get an example for the programming of Matlab/Simulink in C.
Now I wonder how hard it is to do the same in VHDL.

Like writing C, it's not too bad once you know how to do it.
I have no
knowledge in VHDL programming. How do I translate things like for and
while loops into VHDL ?

One tick at a time in a synchronous process.
See the case statements in the reference design here:
http://mysite.verizon.net/miketreseler/
Good luck.

-- Mike Treseler
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,070
Latest member
BiogenixGummies

Latest Threads

Top