Skip to content

Commit 98aebf7

Browse files
committed
📦 Fix package for release and handover
1 parent f62cf28 commit 98aebf7

File tree

222 files changed

+1496
-1249
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

222 files changed

+1496
-1249
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,5 +200,9 @@ RUN_*
200200

201201
*.sif
202202
.idea/
203+
203204
docs/autoapi/
204205
result
206+
docs/examples/02a_large_scale_digital_layout/sequential/*
207+
docs/examples/02a_large_scale_digital_layout/parallel/*
208+
*/runs/*

README.md

Lines changed: 0 additions & 2 deletions

docs/_static/img/examples/03a_sax_active_cosimulation/mzi2x2_phase_shifter.svg

Lines changed: 196 additions & 0 deletions
52.6 KB

docs/examples/02_digital_design_simulation/02_digital_design_simulation.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# # Digital Design & Simulation Flow
22

3+
# <div style="padding: 10px; border-radius: 5px;">
4+
# <strong>⚠️ Warning:</strong> This example requires the <code>piel-nix</code> tools environment.
5+
# <a href="https://piel.readthedocs.io/en/latest/sections/environment/index.html" target="_blank">See environment configuration documentation</a>.
6+
# </div>
7+
38
# There are many tools to perform a digital design flow. I have summarised some of the most relevant ones in the TODO LINK INTEGRATION PAGE. In `piel`, there are a few digital design flow functionalities integrated. However, because the output or interconnections have a set of accepted common measurement, it is possible to use different design flows to integrate with other tools in the flow.
49
#
510
# We will explore two popular ones:
@@ -349,7 +354,6 @@
349354

350355
# ## Sequential Implementation
351356

352-
# +
353357
try:
354358
from openlane.flows import SequentialFlow
355359
from openlane.steps import Yosys, OpenROAD, Magic, Netgen
@@ -387,4 +391,3 @@ class MyFlow(SequentialFlow):
387391
print(
388392
f"Make sure you are running this from an environment with Openlane nix installed {e}"
389393
)
390-
# -

docs/examples/02a_large_scale_digital_layout/02a_large_scale_digital_layout.py

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,22 @@
8383
# | 15 | 1111 | 1010 |
8484

8585

86+
# ### Verify Our Environment Configuration
87+
88+
# This should run successfully for the remaining example
89+
90+
layout_truth_table_through_openlane
91+
92+
layout_truth_table_through_openlane(
93+
truth_table=truth_table,
94+
parent_directory="sequential",
95+
target_directory_name="sequential_test",
96+
)
97+
98+
99+
# ### Configure Optimised Runs
100+
101+
86102
def sequential_implementations(amount_of_implementations: int):
87103
implementations = list()
88104

@@ -120,6 +136,19 @@ def parallel_implementations(amount_of_implementations: int):
120136

121137
# Let's time this:
122138

139+
# +
140+
start_sequential = time.time()
141+
sequential_implementations(amount_of_implementations=4)
142+
end_sequential = time.time()
143+
144+
print("Sequential")
145+
print(end_sequential - start_sequential)
146+
# -
147+
# ```
148+
# Sequential
149+
# 106.13592076301575
150+
# ```
151+
123152
# +
124153
start_parallel = time.time()
125154
parallel_implementations(amount_of_implementations=4)
@@ -133,16 +162,3 @@ def parallel_implementations(amount_of_implementations: int):
133162
# Parallel
134163
# 42.47045159339905
135164
# ```
136-
137-
# +
138-
start_sequential = time.time()
139-
sequential_implementations(amount_of_implementations=4)
140-
end_sequential = time.time()
141-
142-
print("Sequential")
143-
print(end_sequential - start_sequential)
144-
# -
145-
# ```
146-
# Sequential
147-
# 106.13592076301575
148-
# ```

docs/examples/02a_large_scale_digital_layout/parallel/parallel_0/docs/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/examples/02a_large_scale_digital_layout/parallel/parallel_0/parallel_0/__init__.py

Whitespace-only changes.

docs/examples/02a_large_scale_digital_layout/parallel/parallel_0/parallel_0/analogue/__init__.py

Whitespace-only changes.

docs/examples/02a_large_scale_digital_layout/parallel/parallel_0/parallel_0/components/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)