Skip to content

Latest commit

 

History

History
159 lines (100 loc) · 3.9 KB

views.rst

File metadata and controls

159 lines (100 loc) · 3.9 KB

Views

Views can modify the implementation of a network interface by

  1. adding interface methods that are not supported by the implementation,
  2. changing the implementation of interface methods, and
  3. deleting interface methods.

Views implement the network interface and can be passed like a network to an algorithm. Several views are implemented in mockturtle.

`topo_view`: Ensure topological order

Header: mockturtle/views/topo_view.hpp

mockturtle::topo_view

`depth_view`: Compute levels and depth

Header: mockturtle/views/depth_view.hpp

mockturtle::depth_view

`rank_view`: Order nodes within each level

Header: mockturtle/views/rank_view.hpp

mockturtle::rank_view

`mapping_view`: Add mapping interface methods

Header: mockturtle/views/mapping_view.hpp

mockturtle::mapping_view

`cut_view`: Network view on a single rooted cut

Header: mockturtle/views/cut_view.hpp

mockturtle::cut_view

`mffc_view`: Network view on a (M)FFC

Header: mockturtle/views/mffc_view.hpp

mockturtle::mffc_view

`immutable_view`: Prevent network changes

Header: mockturtle/views/immutable_view.hpp

mockturtle::immutable_view

`fanout_view`: Compute fanout

Header: mockturtle/views/fanout_view.hpp

mockturtle::fanout_view

`window_view`: Network view on a window

Header: mockturtle/views/window_view.hpp

mockturtle::window_view

`binding_view`: Add bindings from a technology library

Header: mockturtle/views/binding_view.hpp

mockturtle::binding_view

`cell_view`: Add cell mappings from a technology library

Header: mockturtle/views/cell_view.hpp

mockturtle::cell_view

`names_view`: Assign names to signals and outputs

Header: mockturtle/views/choice_view.hpp

mockturtle::choice_view

`choice_view`: Implements choices in networks

Header: mockturtle/views/names_view.hpp

mockturtle::names_view

`dont_touch_view`: Mark nodes as "don't touch"

Header: mockturtle/views/dont_touch_view.hpp

mockturtle::dont_touch_view

`cnf_view`: Creates a CNF while creating a network

Header: mockturtle/views/cnf_view.hpp

mockturtle::cnf_view

`color_view`: Manages traversal IDs

Header: mockturtle/views/color_view.hpp

mockturtle::color_view

mockturtle::out_of_place_color_view

`cost_view`: Manages global cost and maintains context

Header: mockturtle/views/cost_view.hpp

mockturtle::cost_view

`dont_care_view`: Manages external don't care information

Header: mockturtle/views/dont_care_view.hpp

mockturtle::dont_care_view