- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Can Altera quartus II generate verilog code from megafunction? thxLink Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Megafunctions can generate a Verilog module as primary entity. It's ususally importing additional libraries that may be written in VHDL, Verilog, AHDL or possibly encrypted HDL.
Verilog libaries for functional simulation are additionally provided,- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I still not very clean about that, I only can find a verilog file which can change the parameter, but cannot see overall verilog code. How to see the whole verilog code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you are not meant to see the internal verilog code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which particular MegaFunction are you talking about?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For example, I open block diagram and insert a multiplier from megafunction, I only can found a top level verilog file, can I see the whole verilog code for the multiplier??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Verilog MegaFuction is instantiating lpm_mult, also multipliers inferred form HDL code do. As most low level libraries, it's coded in AHDL. See lpm_mult.tdf and additional code in multcore.tdf which can be found in quartus\libraries\megafunctions.
There's no Verilog multiplier code. As already mentioned in post# 2, the internal library code (as far written in readable HDL) uses different languages, in this case AHDL.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page