-
Notifications
You must be signed in to change notification settings - Fork 68
PADD9
Pepijn de Vos edited this page Nov 17, 2024
·
3 revisions
The PADD9 is a 9-bit pre-adder that performs the functions of pre-add, pre-subtract or shifting.
This device is supported in Apicula.
Port | Size | Direction |
---|---|---|
A | 9 | input |
ASEL | 1 | input |
B | 9 | input |
CE | 1 | input |
CLK | 1 | input |
DOUT | 9 | output |
RESET | 1 | input |
SBI | 9 | input |
SBO | 9 | output |
SI | 9 | input |
SO | 9 | output |
Parameter | Default Value |
---|---|
ADD_SUB | 0 (0b0) |
AREG | 0 (0b0) |
BREG | 0 (0b0) |
BSEL_MODE | 1 (0b1) |
PADD_RESET_MODE | SYNC |
SOREG | 0 (0b0) |
PADD9 #(
.ADD_SUB(ADD_SUB),
.AREG(AREG),
.BREG(BREG),
.BSEL_MODE(BSEL_MODE),
.PADD_RESET_MODE(PADD_RESET_MODE),
.SOREG(SOREG)
) padd9_inst (
.A(A),
.ASEL(ASEL),
.B(B),
.CE(CE),
.CLK(CLK),
.DOUT(DOUT),
.RESET(RESET),
.SBI(SBI),
.SBO(SBO),
.SI(SI),
.SO(SO)
);