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
1 changed files with 3 additions and 1 deletions

View File

@ -9,7 +9,9 @@ The hash function
The hash function generally used in Yosys is the XOR version of DJB2: 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 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 a lot of ASCII text, but it still happens to be a local optimum due to factors