Forum Discussion
Altera_Forum
Honored Contributor
17 years agoLooking at that code, it doesn't seem too complicated and probably if you consult Wikipedia then you'll probably be able to bluff your way through it enough to produce a VHDL replica. Do consider how complicated the underlying blocks are though if you have to translate these as well.
All the advice against doing this is valid and pretty sensible but to add a few points the other way: If you're relying on a free Modelsim licence then you won't be able to do mixed-language simulation. If you're including this block in a design then who is supporting it? Are you being expected to support a design in a language you don't understand? What are your timescales on the projects - if they're not tight then you may well find that re-writing this block in a supportable language and performing plenty of simulation to verify that you've done it right and can support the project long-term, might outweigh the risk of introducing a bug along the way.