Compare commits
2 Commits
0a493bdd2a
...
f27c728472
Author | SHA1 | Date | |
---|---|---|---|
f27c728472 | |||
30c83a658f |
@ -39,7 +39,7 @@ static int LUT_IN_BITMAP[4][3] = {
|
||||
/* LUT OUT MUX Definitions */
|
||||
static int LUT_OUT_MUX[4][4] = {
|
||||
{LUT_OUT_C, LUT_OUT_A, LUT_OUT_B, LUT_OUT_B_ASYNC},
|
||||
{LUT_OUT_C, LUT_OUT_B_ASYNC, LUT_OUT_B, LUT_OUT_A},
|
||||
{LUT_OUT_C, LUT_OUT_B_ASYNC, LUT_OUT_A, LUT_OUT_A},
|
||||
{LUT_OUT_C, LUT_OUT_A, LUT_OUT_B, LUT_OUT_B_ASYNC},
|
||||
{LUT_OUT_C, LUT_OUT_B_ASYNC, LUT_OUT_B, LUT_OUT_A}
|
||||
};
|
||||
@ -78,8 +78,6 @@ static int fpga_cell_lut34_lut_get_out_mux(int lut_group, char *ports) {
|
||||
int i;
|
||||
int lut;
|
||||
|
||||
ports = ports + lut_group;
|
||||
|
||||
if (lut_group < 0 || lut_group > 2) {
|
||||
report(LL_ERROR,
|
||||
"Invalid LUT group requested.");
|
||||
@ -87,6 +85,7 @@ static int fpga_cell_lut34_lut_get_out_mux(int lut_group, char *ports) {
|
||||
}
|
||||
|
||||
lut = lut_group * 2;
|
||||
ports = ports + lut;
|
||||
|
||||
for (i = 0; i < 4; ++i) {
|
||||
if (ports[0] == LUT_OUT_DC ||
|
||||
|
Loading…
Reference in New Issue
Block a user