mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Added cellaigs API
This commit is contained in:
parent
b57cb4a7fe
commit
e49e2662aa
4 changed files with 173 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue