3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-31 16:33:19 +00:00

Improve A/B reg packing

This commit is contained in:
Eddie Hung 2019-07-18 13:30:35 -07:00
parent e075f0dda0
commit 79d63479ea
2 changed files with 11 additions and 6 deletions

View file

@ -23,6 +23,9 @@
USING_YOSYS_NAMESPACE
PRIVATE_NAMESPACE_BEGIN
template<class T> bool includes(const T &lhs, const T &rhs) {
return std::includes(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());
}
#include "passes/pmgen/xilinx_dsp_pm.h"
void pack_xilinx_dsp(xilinx_dsp_pm &pm)