|
Library Mapping Files (.lmf) have the following BNF syntax:
LIBRARY <library name> { BEGIN FUNCTION <Quartus® II function>, (<Quartus II IN1>, <Quartus II IN2>,..., <Quartus II INn>) RETURNS <Quartus II OUT1>, <Quartus II OUT2>,..., <Quartus II OUTn> FUNCTION "<third-party function>"("<third-party IN1>", "<third-party IN2>",...,"<third-party INn>") RETURNS ("<third-party OUT1>", "<third-party OUT2>",...,"<third-party OUTn>") END }
The following table lists the definitions of the LMF syntax variables shown in the example above.
<library name> | The user-specified name of the LMF. |
<Quartus II function> | The Quartus II logic function name. The name can be either Quartus IIprovided or user-created. A user-created megafunction or macrofunction can have a filename with up to 32 name characters, and its input and output port names must have legal name characters. More Details |
<Quartus II IN1> | The Quartus II logic function input port name. The LMF includes a list of all logic function input port names, enclosed in parentheses. The order of the input port names for the Quartus II function must match the order of the input port names (<THIRD PARTY IN1>) for the third-party function. |
<Quartus II OUT1> | The logic function output or bidirectional port name. The LMF includes a list of all logic function output port names, enclosed in parentheses. The order of the output port names for the Quartus II function must match the order of the output port names (<THIRD PARTY OUT1>) for the third-party function. |
<third party function> | The third-party logic function name, which must be enclosed in double quotation marks ("). More Details Example. |
<third party IN1> | The third-party logic function's input port name, which must be enclosed in double quotation marks ("). The order of the input port names for the third-party function must match the order of the input port names (<Quartus II IN1>) for the Quartus II function. Example. |
<third party OUT1> | The third-party logic function's output or bidirectional port name, which must be enclosed in double quotation marks ("). The order of the output port names for the third-party function must match the order of the output port names (<Quartus II OUT1>) for the Quartus II function. |
- PLDWorld - |
|
Created by chm2web html help conversion utility. |