Skip to content

Commit 57bede4

Browse files
committed
Deploy preview for PR 15 🛫
1 parent 10130bb commit 57bede4

131 files changed

Lines changed: 3670 additions & 14428 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
chipflow.common
2+
===============
3+
4+
.. py:module:: chipflow.common
5+
6+
.. autoapi-nested-parse::
7+
8+
Common utilities for ChipFlow.
9+
10+
11+

‎pr-preview/pr-15/_sources/chipflow-lib/autoapi/chipflow/config_models/index.rst.txt‎

Lines changed: 0 additions & 71 deletions
This file was deleted.

‎pr-preview/pr-15/_sources/chipflow-lib/autoapi/chipflow/index.rst.txt‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,11 @@ Submodules
2020

2121
/chipflow-lib/autoapi/chipflow/auth/index
2222
/chipflow-lib/autoapi/chipflow/auth_command/index
23+
/chipflow-lib/autoapi/chipflow/common/index
2324
/chipflow-lib/autoapi/chipflow/config/index
24-
/chipflow-lib/autoapi/chipflow/config_models/index
25+
/chipflow-lib/autoapi/chipflow/packages/index
2526
/chipflow-lib/autoapi/chipflow/packaging/index
2627
/chipflow-lib/autoapi/chipflow/platform/index
27-
/chipflow-lib/autoapi/chipflow/platforms/index
28-
/chipflow-lib/autoapi/chipflow/steps/index
2928
/chipflow-lib/autoapi/chipflow/utils/index
3029

3130

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
chipflow.packages
2+
=================
3+
4+
.. py:module:: chipflow.packages
5+
6+
.. autoapi-nested-parse::
7+
8+
Package definitions for ChipFlow platforms.
9+
10+
This module contains package type definitions for supported IC packages.
11+
12+
13+

‎pr-preview/pr-15/_sources/chipflow-lib/autoapi/chipflow/platform/index.rst.txt‎

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -269,16 +269,19 @@ Package Contents
269269
Options for an IO pad/pin.
270270

271271
Attributes:
272-
invert: Polarity inversion. If the value is a simple :class:`bool`, it specifies inversion for
273-
the entire port. If the value is an iterable of :class:`bool`, the iterable must have the
274-
same length as the width of ``io``, and the inversion is specified for individual wires.
275-
individual_oe: controls whether each output wire is associated with an individual Output Enable bit
276-
or if a single OE bit will be used for entire port. The default value is False (indicating that a
277-
single OE bit controls the entire port).
278-
power_domain: The name of the I/O power domain. NB there is only one of these, so IO with
279-
multiple power domains must be split up.
280-
clock_domain: the name of the I/O's clock domain (see ``amaranth.hdl.ClockDomain``). NB there
281-
is only one of these, so IO with multiple clocks must be split up.
272+
invert: Polarity inversion. If the value is a simple ``bool``, it specifies
273+
inversion for the entire port. If the value is an iterable of ``bool``,
274+
the iterable must have the same length as the width of ``io``, and the
275+
inversion is specified for individual wires.
276+
individual_oe: Controls whether each output wire is associated with an
277+
individual Output Enable bit or if a single OE bit will be used for
278+
entire port. The default value is False (indicating that a single OE
279+
bit controls the entire port).
280+
power_domain: The name of the I/O power domain. NB there is only one of
281+
these, so IO with multiple power domains must be split up.
282+
clock_domain: The name of the I/O's clock domain (see
283+
``amaranth.hdl.ClockDomain``). NB there is only one of these, so IO
284+
with multiple clocks must be split up.
282285
buffer_in: Should the IO pad have an input buffer?
283286
buffer_out: Should the IO pad have an output buffer?
284287
sky130_drive_mode: Drive mode for output buffer on sky130.

‎pr-preview/pr-15/_sources/chipflow-lib/autoapi/chipflow/platform/io/annotate/index.rst.txt‎

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@ Module Contents
2222

2323
.. py:function:: submodule_metadata(fragment, component_name, recursive=False)
2424
25-
Generator that finds `component_name` in `fragment` and
26-
then yields the ``wiring.Component``s of that component's submodule, along with their names and metadata
25+
Generator that finds ``component_name`` in ``fragment`` and yields metadata.
2726

28-
Can only be run once for a given component (or its children)
27+
Yields the ``wiring.Component`` instances of that component's submodule, along
28+
with their names and metadata.
2929

30-
If recursive = True, then name is a tuple of the heirarchy of names
31-
otherwise, name is the string name of the first level component
30+
Can only be run once for a given component (or its children).
31+
32+
Args:
33+
fragment: The fragment to search in.
34+
component_name: The name of the component to find.
35+
recursive: If True, name is a tuple of the hierarchy of names. Otherwise,
36+
name is the string name of the first level component.
37+
38+
Yields:
39+
Tuple of (component, name, metadata) for each submodule.
3240

3341

‎pr-preview/pr-15/_sources/chipflow-lib/autoapi/chipflow/platform/io/index.rst.txt‎

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,19 @@ Package Contents
7777
Options for an IO pad/pin.
7878

7979
Attributes:
80-
invert: Polarity inversion. If the value is a simple :class:`bool`, it specifies inversion for
81-
the entire port. If the value is an iterable of :class:`bool`, the iterable must have the
82-
same length as the width of ``io``, and the inversion is specified for individual wires.
83-
individual_oe: controls whether each output wire is associated with an individual Output Enable bit
84-
or if a single OE bit will be used for entire port. The default value is False (indicating that a
85-
single OE bit controls the entire port).
86-
power_domain: The name of the I/O power domain. NB there is only one of these, so IO with
87-
multiple power domains must be split up.
88-
clock_domain: the name of the I/O's clock domain (see ``amaranth.hdl.ClockDomain``). NB there
89-
is only one of these, so IO with multiple clocks must be split up.
80+
invert: Polarity inversion. If the value is a simple ``bool``, it specifies
81+
inversion for the entire port. If the value is an iterable of ``bool``,
82+
the iterable must have the same length as the width of ``io``, and the
83+
inversion is specified for individual wires.
84+
individual_oe: Controls whether each output wire is associated with an
85+
individual Output Enable bit or if a single OE bit will be used for
86+
entire port. The default value is False (indicating that a single OE
87+
bit controls the entire port).
88+
power_domain: The name of the I/O power domain. NB there is only one of
89+
these, so IO with multiple power domains must be split up.
90+
clock_domain: The name of the I/O's clock domain (see
91+
``amaranth.hdl.ClockDomain``). NB there is only one of these, so IO
92+
with multiple clocks must be split up.
9093
buffer_in: Should the IO pad have an input buffer?
9194
buffer_out: Should the IO pad have an output buffer?
9295
sky130_drive_mode: Drive mode for output buffer on sky130.
@@ -346,12 +349,20 @@ Package Contents
346349

347350
.. py:function:: submodule_metadata(fragment, component_name, recursive=False)
348351
349-
Generator that finds `component_name` in `fragment` and
350-
then yields the ``wiring.Component``s of that component's submodule, along with their names and metadata
352+
Generator that finds ``component_name`` in ``fragment`` and yields metadata.
351353

352-
Can only be run once for a given component (or its children)
354+
Yields the ``wiring.Component`` instances of that component's submodule, along
355+
with their names and metadata.
353356

354-
If recursive = True, then name is a tuple of the heirarchy of names
355-
otherwise, name is the string name of the first level component
357+
Can only be run once for a given component (or its children).
358+
359+
Args:
360+
fragment: The fragment to search in.
361+
component_name: The name of the component to find.
362+
recursive: If True, name is a tuple of the hierarchy of names. Otherwise,
363+
name is the string name of the first level component.
364+
365+
Yields:
366+
Tuple of (component, name, metadata) for each submodule.
356367

357368

‎pr-preview/pr-15/_sources/chipflow-lib/autoapi/chipflow/platform/io/iosignature/index.rst.txt‎

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,19 @@ Module Contents
5252
Options for an IO pad/pin.
5353

5454
Attributes:
55-
invert: Polarity inversion. If the value is a simple :class:`bool`, it specifies inversion for
56-
the entire port. If the value is an iterable of :class:`bool`, the iterable must have the
57-
same length as the width of ``io``, and the inversion is specified for individual wires.
58-
individual_oe: controls whether each output wire is associated with an individual Output Enable bit
59-
or if a single OE bit will be used for entire port. The default value is False (indicating that a
60-
single OE bit controls the entire port).
61-
power_domain: The name of the I/O power domain. NB there is only one of these, so IO with
62-
multiple power domains must be split up.
63-
clock_domain: the name of the I/O's clock domain (see ``amaranth.hdl.ClockDomain``). NB there
64-
is only one of these, so IO with multiple clocks must be split up.
55+
invert: Polarity inversion. If the value is a simple ``bool``, it specifies
56+
inversion for the entire port. If the value is an iterable of ``bool``,
57+
the iterable must have the same length as the width of ``io``, and the
58+
inversion is specified for individual wires.
59+
individual_oe: Controls whether each output wire is associated with an
60+
individual Output Enable bit or if a single OE bit will be used for
61+
entire port. The default value is False (indicating that a single OE
62+
bit controls the entire port).
63+
power_domain: The name of the I/O power domain. NB there is only one of
64+
these, so IO with multiple power domains must be split up.
65+
clock_domain: The name of the I/O's clock domain (see
66+
``amaranth.hdl.ClockDomain``). NB there is only one of these, so IO
67+
with multiple clocks must be split up.
6568
buffer_in: Should the IO pad have an input buffer?
6669
buffer_out: Should the IO pad have an output buffer?
6770
sky130_drive_mode: Drive mode for output buffer on sky130.

‎pr-preview/pr-15/_sources/chipflow-lib/autoapi/chipflow/platform/io/signatures/index.rst.txt‎

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,11 @@ Module Contents
4545
Bases: :py:obj:`typing_extensions.TypedDict`
4646

4747

48-
dict() -> new empty dictionary
49-
dict(mapping) -> new dictionary initialized from a mapping object's
50-
(key, value) pairs
51-
dict(iterable) -> new dictionary initialized as if via:
52-
d = {}
53-
for k, v in iterable:
54-
d[k] = v
55-
dict(**kwargs) -> new dictionary initialized with the name=value pairs
56-
in the keyword argument list. For example: dict(one=1, two=2)
48+
Simulation interface metadata for ChipFlow components.
49+
50+
Attributes:
51+
uid: Unique identifier for the interface.
52+
parameters: List of (name, value) tuples for interface parameters.
5753

5854

5955
.. py:class:: DataclassProtocol
@@ -108,15 +104,10 @@ Module Contents
108104
Bases: :py:obj:`typing_extensions.TypedDict`, :py:obj:`Generic`\ [\ :py:obj:`_T_DataClass`\ ]
109105

110106

111-
dict() -> new empty dictionary
112-
dict(mapping) -> new dictionary initialized from a mapping object's
113-
(key, value) pairs
114-
dict(iterable) -> new dictionary initialized as if via:
115-
d = {}
116-
for k, v in iterable:
117-
d[k] = v
118-
dict(**kwargs) -> new dictionary initialized with the name=value pairs
119-
in the keyword argument list. For example: dict(one=1, two=2)
107+
Container for data associated with a ChipFlow component.
108+
109+
Attributes:
110+
data: The dataclass instance containing component data.
120111

121112

122113
.. py:class:: DriverModel

0 commit comments

Comments
 (0)