Skip to content

Commit 06abced

Browse files
committed
more docs updates
1 parent d4656b5 commit 06abced

File tree

2 files changed

+28
-46
lines changed

2 files changed

+28
-46
lines changed

docs/analysis.rst

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55
.. _top-of-page-analysis:
66

77

8-
========
9-
Analysis
10-
========
8+
=========================
9+
Analysis and Optimization
10+
=========================
1111

12-
Provides tools for analyzing aspects of PyRTL designs
12+
Provides tools for analyzing ad optimizing aspects of PyRTL designs
1313

14+
Estimation
15+
----------
1416

1517
.. | :ref:`estimate-ref`
1618
17-
1819
.. .. _estimate-ref:
1920
2021
.. automodule:: pyrtl.analysis.estimate
@@ -24,5 +25,26 @@ Provides tools for analyzing aspects of PyRTL designs
2425
:undoc-members:
2526
:exclude-members: __dict__,__weakref__,__module__
2627

27-
:ref:`Back to top of page <top-of-page-analysis>`
28+
Optimization
29+
------------
30+
31+
.. autofunction:: pyrtl.passes.optimize
32+
33+
Synthesis
34+
---------
35+
36+
.. autofunction:: pyrtl.passes.synthesize
2837

38+
.. autoclass:: pyrtl.core.PostSynthBlock
39+
40+
Individual Passes
41+
-----------------
42+
43+
.. autofunction:: pyrtl.passes.common_subexp_elimination
44+
.. autofunction:: pyrtl.passes.constant_propagation
45+
.. autofunction:: pyrtl.passes.nand_synth
46+
.. autofunction:: pyrtl.passes.and_inverter_synth
47+
.. autofunction:: pyrtl.passes.one_bit_selects
48+
.. autofunction:: pyrtl.passes.two_way_concat
49+
50+
:ref:`Back to top of page <top-of-page-analysis>`

docs/index.rst

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -140,45 +140,6 @@ PyrtlInternalError captures internal invariants and assertions over the core log
140140
be hit when constructing designs in the normal ways. If you hit a confusing `PyrtlError` or any
141141
`PyrtlInternalError` feel free to file an issue.
142142

143-
PyRTL Quick Reference:
144-
----------------------
145-
146-
* Helpful RTL constructs
147-
* mux(index_val, val_1, val_2, ... val_n, default=val_x)
148-
* select(selector, truecase, falsecase)
149-
* concat(wire_msbs, wire_next, ..., wire_lsbs)
150-
* concat_list(wire_list) # wire_list[0] will be lsb
151-
* barrel_shifter(shift_in, bit_in, direction, shift_dist, wrap_around=0)
152-
* prioritized_mux(select_list, val_list) # priority encoder
153-
* sparse_mux(selects, vals)
154-
* mult_signed(val1, val2)
155-
156-
* Functions useful for test and debug:
157-
* set_debug_mode(debug=True)
158-
* probe(wire, name=None)
159-
* rtl_assert(test_wire, exception_to_be_thrown, block=None)
160-
* working_block(block=None)
161-
* reset_working_block()
162-
* twos_comp_repr(val, bitwidth)
163-
* rev_twos_comp_repr(val, bitwidth)
164-
165-
* Allocating and modifying wirevectors
166-
* as_wires(val, bitwidth=None, truncating=True, block=None)
167-
* match_bitwidth(a, b, c, ..., signed=False)
168-
* partition_wire(wire, partition_size)
169-
* input_list(names, bitwidth=1)
170-
* output_list(names, bitwidth=1)
171-
* register_list(names, bitwidth=1)
172-
* wirevector_list(names, bitwidth=1, wvtype=WireVector)
173-
* WireVector.sign_extended(bitwidth)
174-
* WireVector.zero_extended(bitwidth)
175-
176-
* Estimating and optimizing hardware
177-
* timing_estimation(tech_in_nm=130, block=None)
178-
* area_estimation(tech_in_nm=130, block=None)
179-
* yosys_area_delay(library, abc_cmd=None, block=None)
180-
* optimize(update_working_block=True, block=None)
181-
* synthesize(update_working_block=True, block=None)
182143

183144
PyRTL Functionality:
184145
====================
@@ -193,7 +154,6 @@ PyRTL Functionality:
193154
analysis
194155
export
195156
rtllib
196-
advanced
197157

198158

199159
Indices and tables

0 commit comments

Comments
 (0)