3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Added cellaigs API

This commit is contained in:
Clifford Wolf 2015-06-09 09:54:22 +02:00
parent b57cb4a7fe
commit e49e2662aa
4 changed files with 173 additions and 2 deletions

View file

@ -30,7 +30,7 @@ inline unsigned int mkhash(unsigned int a, unsigned int b) {
const unsigned int mkhash_init = 5381;
// The ADD version of DJB2
// (usunsigned int mkhashe this version for cache locality in b)
// (use this version for cache locality in b)
inline unsigned int mkhash_add(unsigned int a, unsigned int b) {
return ((a << 5) + a) + b;
}