Skip to content

Commit

Permalink
Update convert code from text file to C file
Browse files Browse the repository at this point in the history
  • Loading branch information
hl271 committed Dec 8, 2023
1 parent 2940753 commit 1283066
Show file tree
Hide file tree
Showing 5 changed files with 2,637 additions and 98 deletions.
2 changes: 1 addition & 1 deletion verilog/dv/firmware_demo/C_data_struct_def.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ typedef struct {
////////////////////////////////////////////// Core data structure
typedef struct {
Neuron neurons[NEURONS_PER_CORE]; // Neurons in the core
uint8_t instruction[AXONS_PER_CORE]; // Instruction (2-bit) for axon to choose 1 in 4 weights
// uint8_t instruction[AXONS_PER_CORE]; // Instruction (2-bit) for axon to choose 1 in 4 weights
uint32_t synapse_connection[AXONS_PER_CORE]; // A (256 x 32) binary matrix to represent synaptic connection
} Core;

Expand Down
Loading

0 comments on commit 1283066

Please sign in to comment.