1
0
mirror of synced 2026-04-14 09:19:24 +00:00

docs: formatting and fixes

Co-authored-by: KrystalDelusion <93062060+KrystalDelusion@users.noreply.github.com>
This commit is contained in:
Emil J
2024-11-07 00:26:01 +01:00
committed by Emil J. Tywoniak
parent 0454787443
commit 1401906d81

View File

@@ -9,7 +9,9 @@ The hash function
The hash function generally used in Yosys is the XOR version of DJB2:
``state = ((state << 5) + state) ^ value``
::
state = ((state << 5) + state) ^ value
This is an old-school hash designed to hash ASCII characters. Yosys doesn't hash
a lot of ASCII text, but it still happens to be a local optimum due to factors