/******************************************************************** * Header file for circuit_library_utils.cpp *******************************************************************/ #ifndef CIRCUIT_LIBRARY_UTILS_H #define CIRCUIT_LIBRARY_UTILS_H /* Header files should be included in a sequence */ /* Standard header files required go first */ #include #include "spice_types.h" #include "circuit_library.h" std::vector find_circuit_sram_models(const CircuitLibrary& circuit_lib, const CircuitModelId& circuit_model); std::vector find_circuit_regular_sram_ports(const CircuitLibrary& circuit_lib, const CircuitModelId& circuit_model); std::vector find_circuit_mode_select_sram_ports(const CircuitLibrary& circuit_lib, const CircuitModelId& circuit_model); size_t find_circuit_num_shared_config_bits(const CircuitLibrary& circuit_lib, const CircuitModelId& circuit_model, const e_sram_orgz& sram_orgz_type); size_t find_circuit_num_config_bits(const CircuitLibrary& circuit_lib, const CircuitModelId& circuit_model); std::vector find_circuit_library_global_ports(const CircuitLibrary& circuit_lib); std::vector find_circuit_library_unique_verilog_netlists(const CircuitLibrary& circuit_lib); #endif