digsim-logic-simulator 0.6.0__py3-none-any.whl → 0.7.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of digsim-logic-simulator might be problematic. Click here for more details.
- digsim/app/gui/_top_bar.py +1 -1
- digsim/app/gui_objects/_component_object.py +1 -1
- digsim/app/gui_objects/_hexdigit_object.py +1 -1
- digsim/utils/_yosys_netlist.py +1 -1
- {digsim_logic_simulator-0.6.0.dist-info → digsim_logic_simulator-0.7.0.dist-info}/METADATA +10 -8
- {digsim_logic_simulator-0.6.0.dist-info → digsim_logic_simulator-0.7.0.dist-info}/RECORD +9 -9
- {digsim_logic_simulator-0.6.0.dist-info → digsim_logic_simulator-0.7.0.dist-info}/WHEEL +1 -1
- {digsim_logic_simulator-0.6.0.dist-info → digsim_logic_simulator-0.7.0.dist-info/licenses}/LICENSE.md +0 -0
- {digsim_logic_simulator-0.6.0.dist-info → digsim_logic_simulator-0.7.0.dist-info}/top_level.txt +0 -0
digsim/app/gui/_top_bar.py
CHANGED
|
@@ -259,7 +259,7 @@ class LoadSaveWidget(QFrame):
|
|
|
259
259
|
self._redo_button.setToolTip("Redo")
|
|
260
260
|
self.layout().addWidget(self._redo_button)
|
|
261
261
|
self._settings_button = QPushButton("", self)
|
|
262
|
-
self._settings_button.setIcon(qta.icon("
|
|
262
|
+
self._settings_button.setIcon(qta.icon("mdi.cog"))
|
|
263
263
|
self._settings_button.clicked.connect(self._settings_dialog)
|
|
264
264
|
self._settings_button.setToolTip("Settings")
|
|
265
265
|
self.layout().addWidget(self._settings_button)
|
|
@@ -151,7 +151,7 @@ class ComponentObject(QGraphicsRectItem):
|
|
|
151
151
|
if port.width == 1:
|
|
152
152
|
self._port_dict[port]["name"] = port.name()
|
|
153
153
|
else:
|
|
154
|
-
self._port_dict[port]["name"] = f"{port.name()}[{port.width-1}:0]"
|
|
154
|
+
self._port_dict[port]["name"] = f"{port.name()}[{port.width - 1}:0]"
|
|
155
155
|
item = PortGraphicsItem(self._app_model, self, port)
|
|
156
156
|
self._port_dict[port]["item"] = item
|
|
157
157
|
self.update_ports()
|
|
@@ -22,7 +22,7 @@ class HexDigitObject(SevenSegmentObject):
|
|
|
22
22
|
def setup_size(self):
|
|
23
23
|
"""Setup the size of the component"""
|
|
24
24
|
self.digits = self.component.get_digits()
|
|
25
|
-
str_pixels_w, _ = self.get_string_metrics(f"val[{4*self.digits-1}:0]")
|
|
25
|
+
str_pixels_w, _ = self.get_string_metrics(f"val[{4 * self.digits - 1}:0]")
|
|
26
26
|
self.digit_left = self.inport_x_pos() + str_pixels_w + self.PORT_TO_RECT_MARGIN
|
|
27
27
|
self.digit_top = self.RECT_TO_DIGIT_RECT_MARGIN
|
|
28
28
|
self.width = (
|
digsim/utils/_yosys_netlist.py
CHANGED
|
@@ -117,7 +117,7 @@ class _NetlistCell(_NetlistBlock):
|
|
|
117
117
|
|
|
118
118
|
def get_friendly_name(self):
|
|
119
119
|
"""Return a friendly name for a netlist cell"""
|
|
120
|
-
return f
|
|
120
|
+
return f"{self.name().split('$')[-1]}_{self.get_friendly_type()}"
|
|
121
121
|
|
|
122
122
|
def get_friendly_type(self):
|
|
123
123
|
"""Return a friendly type for a netlist cell"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: digsim-logic-simulator
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Interactive Digital Logic Simulator
|
|
5
5
|
Author-email: Fredrik Andersson <freand@gmail.com>
|
|
6
6
|
Maintainer-email: Fredrik Andersson <freand@gmail.com>
|
|
@@ -45,16 +45,18 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
45
45
|
Classifier: Programming Language :: Python :: 3.10
|
|
46
46
|
Classifier: Programming Language :: Python :: 3.11
|
|
47
47
|
Classifier: Programming Language :: Python :: 3.12
|
|
48
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
48
49
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
49
50
|
Requires-Python: >=3.9
|
|
50
51
|
Description-Content-Type: text/markdown
|
|
51
52
|
License-File: LICENSE.md
|
|
52
|
-
Requires-Dist: pyvcd
|
|
53
|
-
Requires-Dist: pyside6
|
|
54
|
-
Requires-Dist: pexpect
|
|
55
|
-
Requires-Dist: pydantic
|
|
56
|
-
Requires-Dist: qtawesome
|
|
57
|
-
Requires-Dist: yowasp-yosys
|
|
53
|
+
Requires-Dist: pyvcd>=0.4.1
|
|
54
|
+
Requires-Dist: pyside6>=6.9.0
|
|
55
|
+
Requires-Dist: pexpect==4.9.0
|
|
56
|
+
Requires-Dist: pydantic==2.11.4
|
|
57
|
+
Requires-Dist: qtawesome==1.4.0
|
|
58
|
+
Requires-Dist: yowasp-yosys==0.53.0.0.post912
|
|
59
|
+
Dynamic: license-file
|
|
58
60
|
|
|
59
61
|
# DigSim - Interactive Digital Logic Simulator
|
|
60
62
|
|
|
@@ -4,19 +4,19 @@ digsim/app/gui/__init__.py,sha256=-HnN8a-AcDcovbCHf1a_R-sQtW2_tQXnPJ3izyKLOjw,16
|
|
|
4
4
|
digsim/app/gui/_circuit_area.py,sha256=w2K0n3ubbLvwiZHs2NyErUoNly0_TWFTf-XXsCtxpVY,16366
|
|
5
5
|
digsim/app/gui/_component_selection.py,sha256=C-TeBruf8sGdEnGATtLm6jTesIqf-0AnKRBRLrtL_18,6388
|
|
6
6
|
digsim/app/gui/_main_window.py,sha256=X0AIh3m1ySaldgYr3MHddRSqVkNdWl_qNJOIdnv2mNA,5275
|
|
7
|
-
digsim/app/gui/_top_bar.py,sha256=
|
|
7
|
+
digsim/app/gui/_top_bar.py,sha256=HWGiWTKjYz3yRJ4K1tbMyVxhTC-Y6LEiREr6nHMAhKE,13067
|
|
8
8
|
digsim/app/gui/_utils.py,sha256=SSbe4B-trgZpaerPZilAaZYeqMOlFZMuufTth8KyOAg,660
|
|
9
9
|
digsim/app/gui/_warning_dialog.py,sha256=N9G2wyQTyiqMnTtbExMzHgdbCBA0epfhNWY4GVF6xH8,1496
|
|
10
10
|
digsim/app/gui_objects/__init__.py,sha256=DV7hnqz4Xcwk_-BiKrPxB31c7k-R4Oemmo_KOUjoQrQ,264
|
|
11
11
|
digsim/app/gui_objects/_bus_bit_object.py,sha256=Q8oW-bAGLRAvR2-8PxyHL4M68FLKFgNpDiL4E7BPUOQ,3059
|
|
12
12
|
digsim/app/gui_objects/_buzzer_object.py,sha256=p_7O361t98K6BIUxK6gHdfcSn2wUVXTRfnf7oQXSIK4,3352
|
|
13
13
|
digsim/app/gui_objects/_component_context_menu.py,sha256=57M23M8Xb4t8eN8l9GQQ4AUBYZlEBjE0_a4d71yCDos,2821
|
|
14
|
-
digsim/app/gui_objects/_component_object.py,sha256=
|
|
14
|
+
digsim/app/gui_objects/_component_object.py,sha256=zktprBWHR81LS2UPrQTyebzXIDQV_xIFavGQe0nCtDg,13144
|
|
15
15
|
digsim/app/gui_objects/_component_port_item.py,sha256=Rxl952_3BCqM2H7TJDfbSTlalfFicDStrjqMUKEtdns,2089
|
|
16
16
|
digsim/app/gui_objects/_dip_switch_object.py,sha256=6SmqoyF3MuUphLJA4tlyff4JXJBxJLWmt3ZEferFtf4,3576
|
|
17
17
|
digsim/app/gui_objects/_gui_note_object.py,sha256=sMakGjdR0truGBzaR2GaFZZoDg99v76Bs5DD6ea3cjA,2604
|
|
18
18
|
digsim/app/gui_objects/_gui_object_factory.py,sha256=wfe0M4ZNSd5mK_0fi6ZhzHddFxkm_t4tku3OZir2VzU,2465
|
|
19
|
-
digsim/app/gui_objects/_hexdigit_object.py,sha256=
|
|
19
|
+
digsim/app/gui_objects/_hexdigit_object.py,sha256=cCxxpcSRLXRFNLIfrY_AUBGOSVIjRjO3HAuOv7wXGkI,1930
|
|
20
20
|
digsim/app/gui_objects/_image_objects.py,sha256=KQgWaiEoqbtqWib-pCoo-qs-J3GvRlVQFzjLNEBx-JQ,7553
|
|
21
21
|
digsim/app/gui_objects/_label_object.py,sha256=6CnISeYEmmef28T6yBYJ1z-a_3nTtyl4p-EU-pEzVK0,3570
|
|
22
22
|
digsim/app/gui_objects/_logic_analyzer_object.py,sha256=B3WpFrTu9LDF0S_ol0VVS4vOIDqw_e08wmEX7fBjD98,2671
|
|
@@ -97,9 +97,9 @@ digsim/synth/__init__.py,sha256=jhBHLOHf-vNa94Zg5q5dGcf0fgQTModfjUKtmUSffiw,180
|
|
|
97
97
|
digsim/synth/__main__.py,sha256=wZWAzWsisoxA7hfqkKtu3H066uWyFajgPro2MEGlKbs,2173
|
|
98
98
|
digsim/synth/_synthesis.py,sha256=ug9vSeTyZrvRCboNLL7dDIFVpGqH_ibr5fhOZJHpqUs,4271
|
|
99
99
|
digsim/utils/__init__.py,sha256=Az_zmbORYMzmptuA2_xfn5jDxbCPRSMlVuntr0sYexU,167
|
|
100
|
-
digsim/utils/_yosys_netlist.py,sha256=
|
|
101
|
-
digsim_logic_simulator-0.
|
|
102
|
-
digsim_logic_simulator-0.
|
|
103
|
-
digsim_logic_simulator-0.
|
|
104
|
-
digsim_logic_simulator-0.
|
|
105
|
-
digsim_logic_simulator-0.
|
|
100
|
+
digsim/utils/_yosys_netlist.py,sha256=FevsHPSKoBk8SSBzvSGkJeTFOiZajjbWCHjZUZwfF4g,8562
|
|
101
|
+
digsim_logic_simulator-0.7.0.dist-info/licenses/LICENSE.md,sha256=FrvohZfyfpH4xrvKdXiQ5hD7dUB7w4DcsRA3p-pOmLw,1693
|
|
102
|
+
digsim_logic_simulator-0.7.0.dist-info/METADATA,sha256=B9bPM0Q8X16INltjcNg_SstiiZ63eCEPxX8c3OJHyPI,6516
|
|
103
|
+
digsim_logic_simulator-0.7.0.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
|
|
104
|
+
digsim_logic_simulator-0.7.0.dist-info/top_level.txt,sha256=qpCMzQKADZHVqZIoQgFrv3qJ3u7PPU73gTCXQglqLa8,7
|
|
105
|
+
digsim_logic_simulator-0.7.0.dist-info/RECORD,,
|
|
File without changes
|
{digsim_logic_simulator-0.6.0.dist-info → digsim_logic_simulator-0.7.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|