You can clone with
Cannot retrieve contributors at this time
Icarus Verilog LOADABLE TARGET API (ivl_target) Copyright 2002 Stephen Williams <firstname.lastname@example.org>The ivl_target API is the interface available to modules that theIcarus Verilog compiler loads to act as a code generator. The APIprovides an interface to the elaborated, possibly synthesized, designfor code generators that are intended to write netlist files orexecutable programs.The functions and types of the API are summarized in the ivl_target.hheader file. This document describes how the functions and types ofthe API are used to access and interpret the netlist of the design.LPM DEVICESAll LPM devices support a small set of common LPM functions, asdescribed in the ivl_target header file. The ivl_lpm_t object has atype enumerated by ivl_lpm_type_t, and that type is accessible via theivl_lpm_type function.The following are type specific aspects of LPM devices.* IVL_LPM_UFUNCThis LPM represents a user defined function. It is a way to connectbehavioral code into a structural network. The UFUNC device has avector output and a set of inputs. The ivl_lpm_define function returnsthe definition as an ivl_scope_t object.The output vector is accessible through the ivl_lpm_q, and the outputhas the width defined by ivl_lpm_width. This similar to most everyother LPM device with outputs.There are ivl_lpm_size() input ports, each with the widthivl_lpm_data2_width(). The actual nexus is indexed by ivl_lpm_data2().