Skip to content

Commit a1e1d04

Browse files
authored
Merge pull request #377 from normanpatrick/development
fixed references to estimate.py code
2 parents 094babf + ae2f01d commit a1e1d04

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

ipynb-examples/example7-synth-timing-draft.ipynb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
},
2626
"outputs": [],
2727
"source": [
28-
"import pyrtl\n",
29-
"from pyrtl.analysis import estimate"
28+
"import pyrtl"
3029
]
3130
},
3231
{
@@ -77,7 +76,7 @@
7776
"source": [
7877
"# Generating timing analysis information\n",
7978
"print(\"Pre Synthesis:\")\n",
80-
"timing = estimate.TimingAnalysis()\n",
79+
"timing = pyrtl.TimingAnalysis()\n",
8180
"timing.print_max_length()"
8281
]
8382
},
@@ -119,7 +118,7 @@
119118
"metadata": {},
120119
"outputs": [],
121120
"source": [
122-
"logic_area, mem_area = estimate.area_estimation(tech_in_nm=65)\n",
121+
"logic_area, mem_area = pyrtl.area_estimation(tech_in_nm=65)\n",
123122
"est_area = logic_area + mem_area\n",
124123
"print(\"Estimated Area of block\", est_area, \"sq mm\")\n",
125124
"print()"
@@ -154,7 +153,7 @@
154153
"pyrtl.synthesize()\n",
155154
"\n",
156155
"print(\"Pre Optimization:\")\n",
157-
"timing = estimate.TimingAnalysis()\n",
156+
"timing = pyrtl.TimingAnalysis()\n",
158157
"timing.print_max_length()\n",
159158
"for net in pyrtl.working_block().logic:\n",
160159
" print(str(net))\n",
@@ -201,7 +200,7 @@
201200
"outputs": [],
202201
"source": [
203202
"print(\"Post Optimization:\")\n",
204-
"timing = estimate.TimingAnalysis()\n",
203+
"timing = pyrtl.TimingAnalysis()\n",
205204
"timing.print_max_length()"
206205
]
207206
},
@@ -239,7 +238,7 @@
239238
"name": "python",
240239
"nbconvert_exporter": "python",
241240
"pygments_lexer": "ipython3",
242-
"version": "3.6.3"
241+
"version": "3.8.5"
243242
}
244243
},
245244
"nbformat": 4,

ipynb-examples/example8-verilog.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"source": [
2929
"import random\n",
3030
"import io\n",
31-
"import pyrtl\n",
32-
"from pyrtl.analysis import estimate"
31+
"import pyrtl"
3332
]
3433
},
3534
{
@@ -305,7 +304,7 @@
305304
"name": "python",
306305
"nbconvert_exporter": "python",
307306
"pygments_lexer": "ipython3",
308-
"version": "3.6.3"
307+
"version": "3.8.5"
309308
}
310309
},
311310
"nbformat": 4,

0 commit comments

Comments
 (0)