Tincr  0.0
A Tcl-based CAD Tool Framework for Xilinx's Vivado Design Suite
Functions
tincr::lib_cells Namespace Reference

The lib_cells ensemble encapsulates the lib_cell class from Vivado's Tcl data structure. More...

Functions

 test args
 
 test_proc proc args
 
 get args
 
 compatible_with objs
 
 is_lut lib_cell
 

Detailed Description

The lib_cells ensemble encapsulates the lib_cell class from Vivado's Tcl data structure.

Function Documentation

◆ compatible_with()

tincr::lib_cells::compatible_with   objs  

Get the library cells that are compatible for placement on or within the given objects.

Parameters
objsThe object or list of objects. Legal objects include bel, site, and tile objects.
Returns
A list of library cells that may be placed on or within the given object(s).

◆ get()

tincr::lib_cells::get   args  

Queries Vivado's object database for a list of lib_cell objects that fit the given criteria. This is mostly a wrapper function for Vivado's get_lib_cells command, though it does add additional features (such as getting the library cells of an architecture).

◆ is_lut()

tincr::lib_cells::is_lut   lib_cell  

Is this library cell a LUT?

Parameters
lib_cellThe library cell to test.
Returns
True (1) if lib_cell is a LUT, false (0) otherwise.

◆ test()

tincr::lib_cells::test   args  

Executes all unit tests for every proc in the lib_cells ensemble.

Parameters
argsThe configuration arguments that will be passed to the tcltest unit testing suite.

◆ test_proc()

tincr::lib_cells::test_proc   proc args  

Executes all unit tests for a particular proc in the lib_cells ensemble.

Parameters
procThe proc to run the unit tests for.
argsThe configuration arguments that will be passed to the tcltest unit testing suite.