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,;
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__(
self,
sim_result: Dict[str, List[complex]],
logger=print,
sfg_name: Optional[str] = None,
parent=None,
):
......@@ -199,8 +209,7 @@ def start_simulation_dialog(
sim_results : dict
Simulation results of the form obtained from :attr:`~b_asic.simulation.Simulation.results`.
sfg_name : str, optional
DESCRIPTION. The default is None.
The name of the SFG.
"""
app = QApplication(sys.argv)
win = PlotWindow(sim_result=sim_results, sfg_name=sfg_name)
......
.. _codegen:
B-ASIC Code Generation
**********************
Code generation
***************
Code generation using the B-ASIC toolbox.
......
......@@ -2,14 +2,23 @@
``b_asic.codegen.vhdl``
***********************
``common`` module
-----------------
.. automodule:: b_asic.codegen.vhdl.common
:members:
:undoc-members:
``entity`` module
-----------------
.. automodule:: b_asic.codegen.vhdl.entity
:members:
:undoc-members:
``architecture`` module
-----------------------
.. automodule:: b_asic.codegen.vhdl.architecture
:members:
:undoc-members:
......@@ -29,6 +29,6 @@ Table of Contents
GUI
scheduler_gui
gui_utils
codegen/index
examples/index
research
codegen/index
.. _examples:
===============
B-ASIC Examples
===============
========
Examples
========
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