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: cc32aa45281e
Choose a base ref
...
head repository: azonenberg/openfpga
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e0cd3ccd121f
Choose a head ref
  • 4 commits
  • 4 files changed
  • 1 contributor

Commits on Jun 20, 2017

  1. Copy the full SHA
    5d2141c View commit details
  2. Copy the full SHA
    a15d6ac View commit details
  3. Copy the full SHA
    01975f1 View commit details
  4. Copy the full SHA
    e0cd3cc View commit details
Showing with 8 additions and 1 deletion.
  1. +1 −0 src/gp4tchar/measurements.cpp
  2. +5 −0 src/gp4tchar/solver.cpp
  3. +1 −0 src/greenpak4/Greenpak4Device.cpp
  4. +1 −1 src/legacy-crowbar-import/crowbar/FCCoolRunnerIIZIAEntry.cpp
1 change: 1 addition & 0 deletions src/gp4tchar/measurements.cpp
Original file line number Diff line number Diff line change
@@ -286,6 +286,7 @@ bool ReadTraceDelays()
LogNotice("FPGA pin %2d to DUT: %.3f ns rising, %.3f ns falling\n", i, r, f);
}

fclose(fp);
return true;
}

5 changes: 5 additions & 0 deletions src/gp4tchar/solver.cpp
Original file line number Diff line number Diff line change
@@ -105,6 +105,11 @@ bool EquationSystem::Solve()
if(!found)
{
LogError("Cannot solve for variable %d (%s)\n", nvar, nmap[nvar].c_str());

for(int i=0; i<numEq; i++)
delete[] rows[i];
delete[] rows;

return false;
}
}
1 change: 1 addition & 0 deletions src/greenpak4/Greenpak4Device.cpp
Original file line number Diff line number Diff line change
@@ -1316,6 +1316,7 @@ bool Greenpak4Device::LoadTimingData(string fname)
if(0 != fseek(fp, 0, SEEK_SET))
{
LogError("Failed to seek to start of timing data file %s\n", fname.c_str());
fclose(fp);
return false;
}
char* json_string = new char[len + 1];
Original file line number Diff line number Diff line change
@@ -57,7 +57,7 @@ FCCoolRunnerIIZIAEntry::FCCoolRunnerIIZIAEntry(int row, string muxsel_hex, int z

//Temporary easy code for width=8
int val;
sscanf(muxsel_hex.c_str(), "%2x", &val);
sscanf(muxsel_hex.c_str(), "%2x", (unsigned)&val);
m_muxsel.push_back((val >> 7) & 1);
m_muxsel.push_back((val >> 6) & 1);
m_muxsel.push_back((val >> 5) & 1);