Skip to content

Commit d9548c0

Browse files
authored
Fix row/col parasitics bug (#19)
1 parent b055e38 commit d9548c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "CrossSim"
77
description = "Accuracy simulator for analog in-memory computing"
8-
version = "3.0.1"
8+
version = "3.0.2"
99
license = {text = "BSD 3-Clause License"}
1010
dependencies = [
1111
"numpy",

simulator/circuits/array_simulator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def mvm_parasitics(vector, matrix, params, useMask=False, mask=None, row_in=True
107107
Rp_in = params.xbar.array.parasitics.Rp_row
108108
Rp_out = params.xbar.array.parasitics.Rp_col
109109
else:
110-
Rp_in = params.xbar.array.parasitics.Rp_row
111-
Rp_out = params.xbar.array.parasitics.Rp_col
110+
Rp_in = params.xbar.array.parasitics.Rp_col
111+
Rp_out = params.xbar.array.parasitics.Rp_row
112112

113113
Niters_max = params.simulation.Niters_max_parasitics
114114
Verr_th = params.simulation.Verr_th_mvm

0 commit comments

Comments
 (0)