Skip to content

Commit

Permalink
Greenpak4Comparator: Don't clobber random bitstream addresses when co…
Browse files Browse the repository at this point in the history
…nfiguring ACMP_5 (which has no input mux)
azonenberg committed Jan 26, 2017
1 parent afd23bf commit b0d5b34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/greenpak4/Greenpak4Comparator.cpp
Original file line number Diff line number Diff line change
@@ -247,8 +247,9 @@ bool Greenpak4Comparator::Save(bool* bitstream)
return false;
}

//Valid input, hook it up
else
//Valid input, hook it up.
//BUGFIX: If we only have one input there's no vin config bits so don't write to m_cbaseVin
else if(m_muxsels.size() > 1)
{
unsigned int sel = m_muxsels[m_vin];

0 comments on commit b0d5b34

Please sign in to comment.