sw: Fix fpga_cell_lut34_lut_get_out_mux
Was accessing wrong data when generating info for set 2.
This commit is contained in:
parent
0a493bdd2a
commit
30c83a658f
@ -78,8 +78,6 @@ static int fpga_cell_lut34_lut_get_out_mux(int lut_group, char *ports) {
|
|||||||
int i;
|
int i;
|
||||||
int lut;
|
int lut;
|
||||||
|
|
||||||
ports = ports + lut_group;
|
|
||||||
|
|
||||||
if (lut_group < 0 || lut_group > 2) {
|
if (lut_group < 0 || lut_group > 2) {
|
||||||
report(LL_ERROR,
|
report(LL_ERROR,
|
||||||
"Invalid LUT group requested.");
|
"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;
|
lut = lut_group * 2;
|
||||||
|
ports = ports + lut;
|
||||||
|
|
||||||
for (i = 0; i < 4; ++i) {
|
for (i = 0; i < 4; ++i) {
|
||||||
if (ports[0] == LUT_OUT_DC ||
|
if (ports[0] == LUT_OUT_DC ||
|
||||||
|
Loading…
Reference in New Issue
Block a user