Skip to content

Commit 14cb229

Browse files
Component name updates
1 parent 1420de6 commit 14cb229

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

hwcomponents_neurosim/main.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -588,8 +588,7 @@ class NORGate(_NeurosimPlugInComponent):
588588
"""
589589

590590

591-
592-
component_name = "nor_gate"
591+
component_name = ["NORGate", "NeuroSimNORGate"]
593592
_get_stats_func = neurointerface.nor_gate_stats
594593
_params = ["tech_node", "global_cycle_seconds"]
595594

@@ -631,7 +630,7 @@ class NANDGate(_NeurosimPlugInComponent):
631630
The time period of the system clock in seconds.
632631
"""
633632

634-
component_name = "nand_gate"
633+
component_name = ["NANDGate", "NeuroSimNANDGate"]
635634
_get_stats_func = neurointerface.nand_gate_stats
636635
_params = ["tech_node", "global_cycle_seconds"]
637636

@@ -668,7 +667,7 @@ class NOTGate(_NeurosimPlugInComponent):
668667
The time period of the system clock in seconds.
669668
"""
670669

671-
component_name = "not_gate"
670+
component_name = ["NOTGate", "NeuroSimNOTGate"]
672671
_get_stats_func = neurointerface.not_gate_stats
673672
_params = ["tech_node", "global_cycle_seconds"]
674673

@@ -709,7 +708,7 @@ class FlipFlop(_NeurosimPlugInComponent):
709708
The number of bits, and therefore the number of flip-flops.
710709
"""
711710

712-
component_name = "flip_flop"
711+
component_name = ["FlipFlop", "NeuroSimFlipFlop"]
713712
_get_stats_func = neurointerface.flip_flop_stats
714713
_params = ["tech_node", "global_cycle_seconds", "n_bits"]
715714

@@ -1178,7 +1177,7 @@ class RowDrivers(_NeurosimPIMComponent):
11781177
The average value of a cell. Must be between 0 and 1.
11791178
"""
11801179

1181-
component_name = "array_row_drivers"
1180+
component_name = ["ArrayRowDrivers", "NeuroSimArrayRowDrivers"]
11821181
_get_stats_func = neurointerface.row_stats
11831182

11841183

@@ -1231,7 +1230,7 @@ class ColDrivers(_NeurosimPIMComponent):
12311230
The average value of a cell. Must be between 0 and 1.
12321231
"""
12331232

1234-
component_name = "array_col_drivers"
1233+
component_name = ["ArrayColDrivers", "NeuroSimArrayColDrivers"]
12351234
_get_stats_func = neurointerface.col_stats
12361235

12371236

@@ -1283,7 +1282,7 @@ class ADC(_NeurosimPIMComponent):
12831282
average_cell_value : float, optional
12841283
The average value of a cell. Must be between 0 and 1.
12851284
"""
1286-
component_name = "array_adc"
1285+
component_name = ["ArrayADC", "NeuroSimArrayADC"]
12871286
_get_stats_func = neurointerface.col_stats
12881287

12891288

@@ -1334,7 +1333,7 @@ class MemoryCell(_NeurosimPIMComponent):
13341333
average_cell_value : float, optional
13351334
The average value of a cell. Must be between 0 and 1.
13361335
"""
1337-
component_name = "memory_cell"
1336+
component_name = ["MemoryCell", "NeuroSimMemoryCell"]
13381337
_get_stats_func = neurointerface.cell_stats
13391338

13401339

0 commit comments

Comments
 (0)