M
Mohammad Ashraf
Guest
Hello folks,
The way I understood verilog timescale directive works in multiple files is that
it will pickup the smallest in any given HDL file and will use it in the
simulator.
Currently I have a project in which module 1 must have 1ps and module 2 must
have 1fs resolutions. With the curent implementation it uses 1fs resolution
which fails module 1 requirement. (The way module 1 or module 2 are written,
bad practice though).
Is there a way to get around with that. I was hoping at the end of each
module to use something `resettimescale but question is that Simulator can't
deal with multiple resolutions in a given run.
Has someone ever experienced before. Would appreciate sharing your thoughts.
Regards,
Ash
The way I understood verilog timescale directive works in multiple files is that
it will pickup the smallest in any given HDL file and will use it in the
simulator.
Currently I have a project in which module 1 must have 1ps and module 2 must
have 1fs resolutions. With the curent implementation it uses 1fs resolution
which fails module 1 requirement. (The way module 1 or module 2 are written,
bad practice though).
Is there a way to get around with that. I was hoping at the end of each
module to use something `resettimescale but question is that Simulator can't
deal with multiple resolutions in a given run.
Has someone ever experienced before. Would appreciate sharing your thoughts.
Regards,
Ash