aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/lpf.cc
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2020-05-18 09:38:41 +0100
committerGitHub <noreply@github.com>2020-05-18 09:38:41 +0100
commit2d406f3e275beda8b70b4c7d4d5e43433dd3c43c (patch)
treea95e996ab39cf3447710ce93161e97419591854b /ecp5/lpf.cc
parentddf546c2cc8a99da320921f9b49a01b865ee04c9 (diff)
parent163dee1e1ad90091cbb2742190a07aa87fa83d7f (diff)
downloadnextpnr-2d406f3e275beda8b70b4c7d4d5e43433dd3c43c.tar.gz
nextpnr-2d406f3e275beda8b70b4c7d4d5e43433dd3c43c.tar.bz2
nextpnr-2d406f3e275beda8b70b4c7d4d5e43433dd3c43c.zip
Merge pull request #440 from YosysHQ/lattice-fixes
Fixes for the Lattice SERDES eye demo designs
Diffstat (limited to 'ecp5/lpf.cc')
-rw-r--r--ecp5/lpf.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/lpf.cc b/ecp5/lpf.cc
index e626cc54..e740b737 100644
--- a/ecp5/lpf.cc
+++ b/ecp5/lpf.cc
@@ -48,6 +48,9 @@ bool Arch::applyLPF(std::string filename, std::istream &in)
size_t cstart = line.find('#');
if (cstart != std::string::npos)
line = line.substr(0, cstart);
+ cstart = line.find("//");
+ if (cstart != std::string::npos)
+ line = line.substr(0, cstart);
if (isempty(line))
continue;
linebuf += line;