Skip to content

Commit 01bcad2

Browse files
Adjust priorities
1 parent 14cb229 commit 01bcad2

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

hwcomponents_neurosim/main.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# ==================================================================================================
1313
SCRIPT_DIR = os.path.realpath(os.path.dirname(__file__))
1414
DEBUG = False
15-
PRIORITY = 0.7
15+
PRIORITY = 0.3
1616
PERMITTED_TECH_NODES = [7e-9, 10e-9, 14e-9, 22e-9, 32e-9, 45e-9, 65e-9, 90e-9, 130e-9]
1717
SAMPLE_CELLS = [
1818
f.split(".")[0]
@@ -587,7 +587,6 @@ class NORGate(_NeurosimPlugInComponent):
587587
The time period of the system clock in seconds.
588588
"""
589589

590-
591590
component_name = ["NORGate", "NeuroSimNORGate"]
592591
_get_stats_func = neurointerface.nor_gate_stats
593592
_params = ["tech_node", "global_cycle_seconds"]
@@ -758,7 +757,7 @@ class Mux(_NeurosimPlugInComponent):
758757
The number of inputs to the mux.
759758
"""
760759

761-
component_name = "mux"
760+
component_name = ["Mux", "NeuroSimMux"]
762761
_get_stats_func = neurointerface.mux_stats
763762
_params = ["tech_node", "global_cycle_seconds", "n_bits", "n_mux_inputs"]
764763

@@ -806,7 +805,7 @@ class Adder(_NeurosimPlugInComponent):
806805
The number of bits of the adder's inputs.
807806
"""
808807

809-
component_name = "adder"
808+
component_name = ["Adder", "NeuroSimAdder", "IntAdder"]
810809
_get_stats_func = neurointerface.adder_stats
811810
_params = ["tech_node", "global_cycle_seconds", "n_bits"]
812811

@@ -866,7 +865,7 @@ class AdderTree(_NeurosimPlugInComponent):
866865
n_adder_tree_inputs : int
867866
The number of values added by the adder tree.
868867
"""
869-
component_name = "adder_tree"
868+
component_name = ["AdderTree", "NeuroSimAdderTree", "IntAdderTree"]
870869
_get_stats_func = neurointerface.adder_tree_stats
871870
_params = ["tech_node", "global_cycle_seconds", "n_bits", "n_adder_tree_inputs"]
872871

@@ -936,7 +935,7 @@ class MaxPool(_NeurosimPlugInComponent):
936935
The window size of max pooling.
937936
"""
938937

939-
component_name = "max_pool"
938+
component_name = ["MaxPool", "NeuroSimMaxPool"]
940939
_get_stats_func = neurointerface.max_pool_stats
941940
_params = ["tech_node", "global_cycle_seconds", "n_bits", "pool_window"]
942941

@@ -980,7 +979,7 @@ class ShiftAdd(_NeurosimPlugInComponent):
980979
The number of bits of the shift register.
981980
"""
982981

983-
component_name = "shift_add"
982+
component_name = ["ShiftAdd", "NeuroSimShiftAdd"]
984983
_get_stats_func = neurointerface.shift_add_stats
985984
_params = ["tech_node", "global_cycle_seconds", "n_bits", "shift_register_n_bits"]
986985

0 commit comments

Comments
 (0)