Parameterized word length
Asynchronous clear
Synchronous latch enable
Behavioral simulation model in
VHDL and Verilog
ACT 1, ACT 2, ACT 3, 3200DX, MX, SX, SX-A, eX, 500K, PA, Axcelerator, ProASIC3/E, Fusion
Latches have a parallel-in/parallel-out architecture (PIPO). The latches are WIDTH bits. The latches are gated on the active high (HIGH) or low (LOW) state of the gate Gate (GATE_POLARITY).
The Clear signal (CLR_POLARITY), when active high or low, provides an asynchronous reset of the latch to “000…0”. You may choose to not implement this function.
The Enable signal (EN_POLARITY), when active high or low, provides a synchronous latch enable operation with respect to the gate Gate. You may choose to not implement this function. Latches are then loaded with a new value when both Enable and Gate are active.
Port Description |
Port Name |
Size |
Type |
Req/Opt |
Function |
Data |
WIDTH |
input |
Req. |
Latch load input |
Aclr |
1 |
input |
Opt. |
Asynchronous latch reset |
Enable |
1 |
input |
Opt. |
Synchronous parallel latch enable |
Gate |
1 |
input |
Req. |
Gate input |
Q |
WIDTH |
output |
Req. |
Latch output bus |
Parameter Description |
Parameter |
Family |
Value |
Function |
WIDTH |
500K, PA |
1-512 |
Word length of Data and Q |
All others |
1-99 |
||
CLR_POLARITY |
All |
0 1 2 |
Aclr can be active low, active high or not used |
EN_POLARITY |
All |
0 1 2 |
Enable can be active low or active high |
CLK_EDGE |
All |
RISE FALL |
Clock can be rising or falling |
Fan-in Control Parameters |
Parameter |
Value |
CLR_FANIN |
AUTO MANUAL |
CLR_VAL |
<val> [default value for AUTO is 8, 1 for MANUAL] |
EN_FANIN |
AUTO MANUAL |
EN_VAL |
<val> [default value for AUTO is 6, 1 for MANUAL] |
GATE_FANIN |
AUTO MANUAL |
GATE_VAL |
<val> [default value for AUTO is 8, 1 for MANUAL] |
Implementation Parameters |
Parameter |
Value |
Description |
LPMTYPE |
LPM_LATCH |
Latch category |
LPM_HINT |
N/A |
Not needed |
Functional Description A |
Data |
Aclr |
Enable |
Gate |
Q |
X |
0 |
X |
X |
0’s |
X |
1 |
X |
0 |
Qn |
X |
1 |
0 |
1 |
Qn |
m |
1 |
1 |
1 |
Qn+1 = m |
A. Assume Aclr is active low, Enable is active high, Gate is active high |