- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am looking for a document which specifies which constructs in the VHDL language ALTERA synthesizes. Is ALTERA capable of synthesizing a function or procedure with a defined register or only it can infer combinational hardware in functions/procedures. I want to create a library of commonly used hardware (Sequential) and call it via a function/procedure. Thanks very much. JozammLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The answer is usually combinatorial, but the registers would come if you placed the function/procedure inside a clocked process.
If there any reason you want to use functions/procedures? Using these does not allow any pipelining in the function/procedure, so you're taking away the greatest power to increase your FMax. Anyways, procedures are fairly redundant in synthesisable code because of the fact you can only really scribe combinatorial logic in them. THey are way more useful in testbenches (where you can make one procedure emulate an entire bus transaction).
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page