-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change filename personalize.py to patch_uds_udi.py
Also adding a more detailed explaination of what the script intends to do
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 13 additions & 1 deletion
14
hw/application_fpga/tools/personalize.py → hw/application_fpga/tools/patch_uds_udi.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
#======================================================================= | ||
# | ||
# personalize.py | ||
# patch_uds_udi.py | ||
# -------------- | ||
# Python program that patches the UDS and UDI implemented using | ||
# named LUT4 instances to have unique initial values, not the generic | ||
# values used during synthesis, p&r and mapping. This allows us to | ||
# generate device unique bitstreams without running the complete flow. | ||
# | ||
# Both the UDI and UDS are using bit indexing from 32 LUTs for each | ||
# word, i.e., the first word consists of bit 0 from each 32 LUTs and | ||
# so on. The size requirements for the UDI and UDS are specified as 1 | ||
# bit (8 bytes of data) and 3 bits (32 bytes of data), respectively. | ||
# The UDI does not occupie the entire LUT4 instance, and to conserve | ||
This comment has been minimized.
Sorry, something went wrong. |
||
# resources, the pattern of the UDI is repeated over the unused | ||
# portion of the LUT4 instance. This eliminates the need to drive the | ||
# three MSB pins while still achieving the correct output. In the case | ||
# of UDS, a read-enable signal is present, and the most significant | ||
# bit serves as the read-enable input. This requires the lower half of | ||
# initialization bits to be forced to zero, ensuring that the memory | ||
# outputs zero when the read-enable signal is inactive. | ||
# | ||
# Copyright (C) 2023 Tillitis AB | ||
# Written by Myrtle Shah <[email protected]> | ||
|
1 comment
on commit d97f27f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the target audience is programmers, do we really need that detailed description?
'occupie' --> 'occupy'.