Skip to content

Commit

Permalink
Merge pull request #444 from lneuhaus/max_hold_no_iir_fix
Browse files Browse the repository at this point in the history
Improved timing and fixed tests
  • Loading branch information
lneuhaus authored Apr 8, 2021
2 parents ac0493f + daa9c2e commit 9a4baa8
Show file tree
Hide file tree
Showing 20 changed files with 2,104 additions and 2,282 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,5 @@ scripts/pyrpl.spec
cover/index.html
unit_tests.xml
unit_test_results.xml
unit_test_coverage.xml

8 changes: 5 additions & 3 deletions pyrpl/async_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,18 @@
MAIN_THREAD = APP.thread()

try:
from asyncio import Future, ensure_future, CancelledError, \
set_event_loop, TimeoutError
from asyncio import CancelledError, Future, TimeoutError, set_event_loop
from asyncio import events as asyncio_events
except ImportError: # this occurs in python 2.7
logger.debug("asyncio not found, we will use concurrent.futures "
"instead of python 3.5 Futures.")
from concurrent.futures import Future, CancelledError, TimeoutError
else:
import quamash
set_event_loop(quamash.QEventLoop())
LOOP = quamash.QEventLoop()
set_event_loop(LOOP)
# set currently running event loop to support asyncio.get_event_loop()
asyncio_events._set_running_loop(LOOP)


class MainThreadTimer(QtCore.QTimer):
Expand Down
76 changes: 38 additions & 38 deletions pyrpl/fpga/out/clock_util.rpt

Large diffs are not rendered by default.

235 changes: 25 additions & 210 deletions pyrpl/fpga/out/post_imp_drc.rpt

Large diffs are not rendered by default.

654 changes: 325 additions & 329 deletions pyrpl/fpga/out/post_place_timing_summary.rpt

Large diffs are not rendered by default.

378 changes: 184 additions & 194 deletions pyrpl/fpga/out/post_route_power.rpt

Large diffs are not rendered by default.

1,453 changes: 727 additions & 726 deletions pyrpl/fpga/out/post_route_timing.rpt

Large diffs are not rendered by default.

675 changes: 338 additions & 337 deletions pyrpl/fpga/out/post_route_timing_summary.rpt

Large diffs are not rendered by default.

98 changes: 49 additions & 49 deletions pyrpl/fpga/out/post_route_util.rpt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.
------------------------------------------------------------------------------------
| Tool Version : Vivado v.2015.4 (lin64) Build 1412921 Wed Nov 18 09:44:32 MST 2015
| Date : Mon Dec 21 18:18:50 2020
| Host : LPC2 running 64-bit Ubuntu 20.04.1 LTS
| Date : Fri Apr 9 01:06:26 2021
| Host : LPC2 running 64-bit Ubuntu 20.04.2 LTS
| Command : report_utilization -file out/post_route_util.rpt
| Design : red_pitaya_top
| Device : 7z010clg400-1
Expand Down Expand Up @@ -31,16 +31,16 @@ Table of Contents
+----------------------------+-------+-------+-----------+-------+
| Site Type | Used | Fixed | Available | Util% |
+----------------------------+-------+-------+-----------+-------+
| Slice LUTs | 15430 | 0 | 17600 | 87.67 |
| LUT as Logic | 15347 | 0 | 17600 | 87.20 |
| LUT as Memory | 83 | 0 | 6000 | 1.38 |
| Slice LUTs | 15472 | 0 | 17600 | 87.91 |
| LUT as Logic | 15385 | 0 | 17600 | 87.41 |
| LUT as Memory | 87 | 0 | 6000 | 1.45 |
| LUT as Distributed RAM | 24 | 0 | | |
| LUT as Shift Register | 59 | 0 | | |
| Slice Registers | 11399 | 0 | 35200 | 32.38 |
| Register as Flip Flop | 11399 | 0 | 35200 | 32.38 |
| LUT as Shift Register | 63 | 0 | | |
| Slice Registers | 10439 | 0 | 35200 | 29.66 |
| Register as Flip Flop | 10439 | 0 | 35200 | 29.66 |
| Register as Latch | 0 | 0 | 35200 | 0.00 |
| F7 Muxes | 320 | 0 | 8800 | 3.64 |
| F8 Muxes | 142 | 0 | 4400 | 3.23 |
| F7 Muxes | 322 | 0 | 8800 | 3.66 |
| F8 Muxes | 114 | 0 | 4400 | 2.59 |
+----------------------------+-------+-------+-----------+-------+


Expand All @@ -58,40 +58,40 @@ Table of Contents
| 0 | Yes | - | - |
| 0 | Yes | - | Set |
| 0 | Yes | - | Reset |
| 319 | Yes | Set | - |
| 11112 | Yes | Reset | - |
| 402 | Yes | Set | - |
| 10069 | Yes | Reset | - |
+-------+--------------+-------------+--------------+


2. Slice Logic Distribution
---------------------------

+-------------------------------------------------------------+-----------+-------+-----------+-------+
| Site Type | Used | Fixed | Available | Util% |
+-------------------------------------------------------------+-----------+-------+-----------+-------+
| Slice | 4294 | 0 | 4400 | 97.59 |
| SLICEL | 2834 | 0 | | |
| SLICEM | 1460 | 0 | | |
| LUT as Logic | 15347 | 0 | 17600 | 87.20 |
| using O5 output only | 1 | | | |
| using O6 output only | 12857 | | | |
| using O5 and O6 | 2489 | | | |
| LUT as Memory | 83 | 0 | 6000 | 1.38 |
| LUT as Distributed RAM | 24 | 0 | | |
| using O5 output only | 0 | | | |
| using O6 output only | 0 | | | |
| using O5 and O6 | 24 | | | |
| LUT as Shift Register | 59 | 0 | | |
| using O5 output only | 0 | | | |
| using O6 output only | 55 | | | |
| using O5 and O6 | 4 | | | |
| LUT Flip Flop Pairs | 16387 | 0 | 17600 | 93.11 |
| fully used LUT-FF pairs | 9279 | | | |
| LUT-FF pairs with unused LUT | 958 | | | |
| LUT-FF pairs with unused Flip Flop | 6150 | | | |
| Unique Control Sets | 361 | | | |
| Minimum number of registers lost to control set restriction | 801(Lost) | | | |
+-------------------------------------------------------------+-----------+-------+-----------+-------+
+-------------------------------------------------------------+------------+-------+-----------+-------+
| Site Type | Used | Fixed | Available | Util% |
+-------------------------------------------------------------+------------+-------+-----------+-------+
| Slice | 4252 | 0 | 4400 | 96.64 |
| SLICEL | 2793 | 0 | | |
| SLICEM | 1459 | 0 | | |
| LUT as Logic | 15385 | 0 | 17600 | 87.41 |
| using O5 output only | 4 | | | |
| using O6 output only | 12681 | | | |
| using O5 and O6 | 2700 | | | |
| LUT as Memory | 87 | 0 | 6000 | 1.45 |
| LUT as Distributed RAM | 24 | 0 | | |
| using O5 output only | 0 | | | |
| using O6 output only | 0 | | | |
| using O5 and O6 | 24 | | | |
| LUT as Shift Register | 63 | 0 | | |
| using O5 output only | 0 | | | |
| using O6 output only | 63 | | | |
| using O5 and O6 | 0 | | | |
| LUT Flip Flop Pairs | 16282 | 0 | 17600 | 92.51 |
| fully used LUT-FF pairs | 8635 | | | |
| LUT-FF pairs with unused LUT | 814 | | | |
| LUT-FF pairs with unused Flip Flop | 6833 | | | |
| Unique Control Sets | 509 | | | |
| Minimum number of registers lost to control set restriction | 1785(Lost) | | | |
+-------------------------------------------------------------+------------+-------+-----------+-------+


3. Memory
Expand Down Expand Up @@ -187,18 +187,18 @@ Table of Contents
+-----------+-------+----------------------+
| Ref Name | Used | Functional Category |
+-----------+-------+----------------------+
| FDRE | 11112 | Flop & Latch |
| LUT6 | 6725 | LUT |
| LUT5 | 3432 | LUT |
| LUT2 | 2741 | LUT |
| LUT4 | 2192 | LUT |
| LUT3 | 2135 | LUT |
| CARRY4 | 1432 | CarryLogic |
| LUT1 | 611 | LUT |
| MUXF7 | 320 | MuxFx |
| FDSE | 319 | Flop & Latch |
| MUXF8 | 142 | MuxFx |
| FDRE | 10069 | Flop & Latch |
| LUT6 | 6299 | LUT |
| LUT5 | 4580 | LUT |
| LUT3 | 2443 | LUT |
| LUT4 | 2432 | LUT |
| LUT2 | 1754 | LUT |
| CARRY4 | 1416 | CarryLogic |
| LUT1 | 577 | LUT |
| FDSE | 402 | Flop & Latch |
| MUXF7 | 322 | MuxFx |
| BIBUF | 130 | IO |
| MUXF8 | 114 | MuxFx |
| IBUF | 58 | IO |
| SRLC32E | 47 | Distributed Memory |
| RAMD32 | 36 | Distributed Memory |
Expand Down
Loading

0 comments on commit 9a4baa8

Please sign in to comment.