OpenFPGA/docs/source/arch_lang/tech_lib.rst

35 lines
1.9 KiB
ReStructuredText
Raw Normal View History

2018-09-13 23:58:54 -05:00
Technology library Declaration
==============================
2018-09-14 14:11:51 -05:00
.. code-block:: xml
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
<tech_lib lib_type=”string” transistor_type=”string” lib_path=”string” nominal_vdd=”float”/>
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* lib_type: can be either industry or academia [industry|academia]. For the industry library, a number of transistor types are available and the type of transistor should be declared in the property transistor_type.
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* transistor_type: This XML property specify the transistors to be used in the industry library. For example, the type of transistors can be “TT”, “FF” etc.
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* lib_path: specify the path of the library. For example: lib_path=/home/tech/45nm.pm.
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* nominal_vdd: specify the working voltage for the technology. The voltage will be used as the supply voltage in all the SPICE netlist.
.. code-block:: xml
<transistors pn_ratio=”float” model_ref=”string”/>
* pn_ratio: specify the ratio between p-type transistors and n-type transistors. The ratio will be used when building circuit structures such as inverters, buffers etc.
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* model_ref: specify the reference of in calling a transistor model. In SPICE netlist, define a transistor follows the convention: <model_ref><trans_name> <ports> <model_name>. The reference depends on the technology and the type of library. For example, PTM bulk model use “M” as the reference while PTM FinFET model use “X” as the reference.
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
.. code-block:: xml
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
<nmos model_name=”string” chan_length=”float” min_width=”float”/>
<pmos model_name=”string” chan_length=”float” min_width=”float”/>
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* model_name: specify the name of the p/n type transistor, which can be found in the manual of the technology provider.
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* chan_length: specify the channel length of p/n type transistor.
2018-09-13 23:58:54 -05:00
2018-09-14 14:11:51 -05:00
* min_width: specify the minimum width of p/n type transistor. This parameter will be used in building inverter, buffer and etc. as a base number for transistor sizing.
2018-09-13 23:58:54 -05:00