]> AND Private Git Repository - blast.git/blobdiff - BlockLibraryWidget.cpp
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
finalized analysis with clkconvert + started testbench gen.
[blast.git] / BlockLibraryWidget.cpp
index 32012c552c67f697da54517a5fc7ec097e28ac27..47fd87573c594e9d96bf5c26ed2e956452ea1c53 100644 (file)
@@ -136,7 +136,7 @@ void BlockLibraryWidget::addClicked() {
     cout << "adding block to scene " << v.toInt() << endl;
 
     QHash<QString, int> clkRstToGen;
-    for(int i=1;i<nbClock+nbRst;i++) {
+    for(int i=1;i<=nbClock+nbRst;i++) {
       QLayoutItem* item = layClkRst->itemAtPosition(i,0);
       QLabel* lab = (QLabel *)(item->widget());
       item = layClkRst->itemAtPosition(i,1);