Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing the DELAY and T_HOLD Parameters in Verilog #175

Closed
ALIASADALI opened this issue Feb 5, 2023 · 1 comment
Closed

Customizing the DELAY and T_HOLD Parameters in Verilog #175

ALIASADALI opened this issue Feb 5, 2023 · 1 comment

Comments

@ALIASADALI
Copy link

Hey!
I have generated the Dual port Sky130 buffer of size 512 bytes and facing the problem of reading data from Port-1 due to time miss-match. I wish to hold the output data for at least 1 to 2 cycles. So I have to change the DELAY and T_HOLD parameters in the Verilog file generated. These things will obviously change the behavior of the GDS generated file. So, could anyone please tell what changing, I have to do in my python script file in macros to customize these DELAY & T_HOLD values.
Thanks

Reference parameters of the Verilog Generated;

parameter DELAY = 100 ; // Original was 3
parameter VERBOSE = 1 ; // Set to 0 to only display warnings
parameter T_HOLD = 0 ; // Original was 1

@mguthaus
Copy link
Collaborator

mguthaus commented Feb 5, 2023

If you want it to hold more than one cycle, you will need to add an external flip flop or latch to your design.

These values are just arbitrary non zero simulation values and don't correspond to an actual delay. Timing estimates are in the .lib file for synthesis but are not very accurate unless you perform simulation characterization which is quite slow and not the default.

@mguthaus mguthaus closed this as completed Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants