Skip to content

Commit ff11bd3

Browse files
committedAug 15, 2017
Fixed bug in PGEN bitstream loading
1 parent e2c9aae commit ff11bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎src/greenpak4/Greenpak4PatternGenerator.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ bool Greenpak4PatternGenerator::Load(bool* bitstream)
169169
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
170170
// INPUT BUS
171171

172-
ReadMatrixSelector(bitstream, 2, m_matrix, m_clk);
173-
ReadMatrixSelector(bitstream, 3, m_matrix, m_reset);
172+
ReadMatrixSelector(bitstream, m_inputBaseWord + 2, m_matrix, m_clk);
173+
ReadMatrixSelector(bitstream, m_inputBaseWord + 3, m_matrix, m_reset);
174174

175175
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
176176
// CONFIGURATION

0 commit comments

Comments
 (0)
Please sign in to comment.