Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: azonenberg/openfpga
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 01b800deca07
Choose a base ref
...
head repository: azonenberg/openfpga
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8a3e048d92af
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Oct 21, 2016

  1. Copy the full SHA
    3ba7b18 View commit details
  2. Copy the full SHA
    8a3e048 View commit details
Showing with 3 additions and 3 deletions.
  1. +2 −2 src/gp4prog/main.cpp
  2. +1 −1 tests/greenpak4/PGA.v
4 changes: 2 additions & 2 deletions src/gp4prog/main.cpp
Original file line number Diff line number Diff line change
@@ -332,14 +332,14 @@ int main(int argc, char* argv[])
{
//Read the bitstream and check that it's the right size
vector<uint8_t> newBitstream;
if(!ReadBitstream(downloadFilename, newBitstream, detectedPart);
if(!ReadBitstream(downloadFilename, newBitstream, detectedPart))
{
SetStatusLED(hdev, 0);
return 1;
}

//Tweak the bitstream to apply all of the changes specified on the command line
if(!TweakBitstream(newBitstream, detectedPart, rcFtw, patternID, readProtect))
if(!TweakBitstream(newBitstream, detectedPart, rcFtw, patternId, readProtect))
return 1;

if(!programNvram)
2 changes: 1 addition & 1 deletion tests/greenpak4/PGA.v
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@
PGA output on pin 7
TEST PROCEDURE:
Sweep analog wavefrom from 0 to 500 mV on pin 8
Sweep analog waveform from 0 to 500 mV on pin 8
Output should be 2x the input voltage
*/
module PGA(bg_ok, vin, pgaout);