AND Gate
N-input logical conjunction primitive.
Model
Truth Table
Simic uses a 4-value logic system (0, 1, X, Z). For AND gates, high-impedance (Z) is typically treated as an unknown (X) state.
| Input A | Input B | Output Q |
|---|---|---|
| 0 | 0 | 0 |
| 0 | 1 | 0 |
| 0 | X | 0 |
| 0 | Z | 0 |
| 1 | 0 | 0 |
| 1 | 1 | 1 |
| 1 | X | X |
| 1 | Z | X |
| X | — | X (unless an input is 0) |
| Z | — | X (unless an input is 0) |
Boolean Description
Q = I[1] * I[2] * ... * I[n]
Hazards
- Near Hazard Analysis: Simic performs automatic hazard detection on gates with more than one input. If a potential spike is detected during transitions, it may be propagated as a brief X pulse or filtered based on timing parameters.
Restrictions
- Input Limit: Supports between 1 and 32,767 inputs.
Equivalent Type Statement
Type=AND i=I[1:1–32767] o=Q