Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions sanafe/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# Import pybind11 (C++) kernel under top-level
from sanafecpp import *

# Import Python submodules for convenient access
from sanafe import data
from sanafe import viz
8 changes: 8 additions & 0 deletions sanafe/data/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
"""
Provides utilities for loading, converting, and analyzing SANA-FE trace data.
Supports conversion to pandas DataFrames and numpy arrays for analysis.
"""

from sanafe.data.traces import TraceData

__all__ = ["TraceData"]
79 changes: 79 additions & 0 deletions sanafe/data/arch_testing.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
## arch_testing.yaml
architecture:
name: tutorial_complex
attributes:
link_buffer_size: 4
width: 3
height: 2
tile:
- name: tutorial_tile[0..5]
attributes:
energy_north_hop: 1.0e-12
latency_north_hop: 1.0e-9
energy_east_hop: 1.0e-12
latency_east_hop: 1.0e-9
energy_south_hop: 1.0e-12
latency_south_hop: 1.0e-9
energy_west_hop: 1.0e-12
latency_west_hop: 1.0e-9
core:
- name: tutorial_core[0..7]
attributes:
buffer_position: soma
max_neurons_supported: 128
axon_in:
- name: tutorial_axon_in
attributes:
energy_message_in: 0.5e-12
latency_message_in: 0.5e-9
synapse:
- name: tutorial_synapse_uncompressed
attributes:
model: current_based
energy_process_spike: 1.0e-12
latency_process_spike: 1.0e-9
- name: tutorial_synapse_compressed
attributes:
model: current_based
energy_process_spike: 0.5e-12
latency_process_spike: 2.0e-9
- name: tutorial_synapse_sparse
attributes:
model: current_based
energy_process_spike: 0.3e-12
latency_process_spike: 3.0e-9
dendrite:
- name: demo_dendrite_accumulator
attributes:
model: accumulator
energy_update: 0.2e-12
latency_update: 0.2e-9
- name: demo_dendrite_adaptive
attributes:
model: accumulator
energy_update: 0.4e-12
latency_update: 0.4e-9
soma:
- name: tutorial_soma_fast
attributes:
model: leaky_integrate_fire
energy_access_neuron: 1.0e-12
latency_access_neuron: 1.0e-9
energy_update_neuron: 2.0e-12
latency_update_neuron: 2.0e-9
energy_spike_out: 3.0e-12
latency_spike_out: 3.0e-9
- name: tutorial_soma_efficient
attributes:
model: leaky_integrate_fire
energy_access_neuron: 0.8e-12
latency_access_neuron: 1.2e-9
energy_update_neuron: 1.6e-12
latency_update_neuron: 2.4e-9
energy_spike_out: 2.4e-12
latency_spike_out: 3.2e-9
axon_out:
- name: tutorial_axon_out
attributes:
energy_message_out: 4.0e-12
latency_message_out: 4.0e-9
Loading