Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
VHDL
Including Verilog parameter file in VHDL design
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Marcus Harnisch, post: 1963497"] Hi Andre Several options: 1. Do you really have to have a VHDL wrapper? Depending on the amount of glue logic, the easiest way would be to whip up a Verilog wrapper and include "params.v" there. It sounds like you will end up with a mixed language environment anyway. 2. At least one tool I know of can output the interface description of a compiled design in XML format. You can get really fancy and write an XSLT script to generate a VHDL wrapper :^) Or use something like Perl's XML::Simple. 3. Maybe your tools support something like "cc -E" in C-world, which gives you the preprocessed output of a processed file. Then you could use these macros (not parameters in Verilog jargon!) in your VHDL file. 4. Roll your own (limited) Verilog preprocessor in your favorite scripting language. Regards, Marcus -- note that "property" can also be used as syntaxtic sugar to reference a property, breaking the clean design of verilog; [...] -- Michael McNamara ([URL]http://www.veripool.com/verilog-mode_news.html[/URL]) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
VHDL
Including Verilog parameter file in VHDL design
Top