updated dummy neurons to have Buf X12 to avoid slow in acks

This commit is contained in:
alexmadison 2022-06-22 19:14:39 +02:00
parent c972419199
commit 6daea1ef02
1 changed files with 4 additions and 1 deletions

View File

@ -51,9 +51,12 @@ defproc dummy_neuron_block (a1of1 synapses[N_SYN], neuron; power supply){
(i:N_SYN: _ortree.in[i] = synapses[i].r;)
// ANDs piping the ack back to the proper synapse
BUF_X12 nrn_ack_buf(.a = neuron.a, .vdd = supply.vdd, .vss = supply.vss);
AND2_X1 ands[N_SYN];
(i:N_SYN:
ands[i].a = neuron.a;
ands[i].a = nrn_ack_buf.y;
ands[i].b = synapses[i].r;
ands[i].y = synapses[i].a;