3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-09 10:31:03 +00:00

Readd builtin_ff_cell_types for plugin parity.

This commit is contained in:
nella 2026-03-02 12:11:25 +01:00 committed by Emil J. Tywoniak
parent b8ee0803ab
commit 04822c6660
2 changed files with 16 additions and 0 deletions

View file

@ -737,6 +737,9 @@ template <> struct IDMacroHelper<-1> {
namespace RTLIL {
extern dict<std::string, std::string> constpad;
[[deprecated("use StaticCellTypes::categories.is_ff() instead")]]
const pool<IdString> &builtin_ff_cell_types();
static inline std::string escape_id(const std::string &str) {
if (str.size() > 0 && str[0] != '\\' && str[0] != '$')
return "\\" + str;