Skip to content
Snippets Groups Projects
Commit 821b417f authored by Oscar Gustafsson's avatar Oscar Gustafsson :bicyclist:
Browse files

Fix minor documentation issues

parent fa554922
No related branches found
No related tags found
1 merge request!245Fix minor documentation issues
Pipeline #91478 passed
...@@ -23,12 +23,22 @@ from qtpy.QtWidgets import ( # QFrame,; QScrollArea,; QLineEdit,; QSizePolicy,; ...@@ -23,12 +23,22 @@ from qtpy.QtWidgets import ( # QFrame,; QScrollArea,; QLineEdit,; QSizePolicy,;
class PlotWindow(QDialog): class PlotWindow(QDialog):
"""Dialog for plotting the result of a simulation.""" """
Dialog for plotting the result of a simulation.
Parameters
----------
sim_result : dict
Simulation results of the form obtained from :attr:`~b_asic.simulation.Simulation.results`.
sfg_name : str, optional
The name of the SFG.
parent : optional
The parent window.
"""
def __init__( def __init__(
self, self,
sim_result: Dict[str, List[complex]], sim_result: Dict[str, List[complex]],
logger=print,
sfg_name: Optional[str] = None, sfg_name: Optional[str] = None,
parent=None, parent=None,
): ):
...@@ -199,8 +209,7 @@ def start_simulation_dialog( ...@@ -199,8 +209,7 @@ def start_simulation_dialog(
sim_results : dict sim_results : dict
Simulation results of the form obtained from :attr:`~b_asic.simulation.Simulation.results`. Simulation results of the form obtained from :attr:`~b_asic.simulation.Simulation.results`.
sfg_name : str, optional sfg_name : str, optional
DESCRIPTION. The default is None. The name of the SFG.
""" """
app = QApplication(sys.argv) app = QApplication(sys.argv)
win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name) win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name)
......
.. _codegen: .. _codegen:
B-ASIC Code Generation Code generation
********************** ***************
Code generation using the B-ASIC toolbox. Code generation using the B-ASIC toolbox.
......
...@@ -2,14 +2,23 @@ ...@@ -2,14 +2,23 @@
``b_asic.codegen.vhdl`` ``b_asic.codegen.vhdl``
*********************** ***********************
``common`` module
-----------------
.. automodule:: b_asic.codegen.vhdl.common .. automodule:: b_asic.codegen.vhdl.common
:members: :members:
:undoc-members: :undoc-members:
``entity`` module
-----------------
.. automodule:: b_asic.codegen.vhdl.entity .. automodule:: b_asic.codegen.vhdl.entity
:members: :members:
:undoc-members: :undoc-members:
``architecture`` module
-----------------------
.. automodule:: b_asic.codegen.vhdl.architecture .. automodule:: b_asic.codegen.vhdl.architecture
:members: :members:
:undoc-members: :undoc-members:
...@@ -29,6 +29,6 @@ Table of Contents ...@@ -29,6 +29,6 @@ Table of Contents
GUI GUI
scheduler_gui scheduler_gui
gui_utils gui_utils
codegen/index
examples/index examples/index
research research
codegen/index
.. _examples: .. _examples:
=============== ========
B-ASIC Examples Examples
=============== ========
These are examples of how B-ASIC can be used. These are examples of how B-ASIC can be used.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment