Verilog HDL simulation model for retain time
AssigneeFaraday Technology Corp.
InventorYu-Yuan Tzeng
Life of this patent
Estimating the term…
Abstract
A computer program product for making a machine simulating the behavior of retain and access time of output bus is presented. The computer program product can make a simulator for detecting the transition of an input/bidirectional pin. In the retain time of the related output bus, the simulator sets a variable on in a non-blocking way, and assigns a value to a register of the output bus in a non-blocking way, wherein the value is assigned upon the transition of the input/bidirectional pin. After the retain time, the simulator sets a variable off in a blocking way, assigns the related output bus unknown in a blocking way, assigns the related output bus the value stored in the register in a non-blocking way, and sets the variable on in a non-blocking way.
Claims10
A computer program product for making a simulator simulating retain and access time of an output port of a circuit, the computer program product comprising:
- program code for detecting transition of a input/bidirectional pin;
- program code for setting a variable to on in a non-blocking way in the retain time of the circuit, so that an access time model is enabled, and assigning a register to be a value of the output port in non-blocking way, wherein the value is assigned upon the transition of the input/bidirectional pin;
- program code for waiting until the end of retain time;
- program code for setting a variable to off in a blocking way, disabling the access time model;
- program code for assigning the output port to be unknown in a blocking way;
- program code for assigning the output port the value stored in the register in a non-blocking way;
- and
- program code for setting a variable on in a non-blocking way, enabling the access time model.
The computer program product as claimed in claim 9, wherein the duration of retain time is written in a specific block.
Dependencies are inferred from the claim text.