This commit is contained in:
alexmadison 2022-04-04 17:48:20 +02:00
parent a229dd00cf
commit c462be605d
1 changed files with 8 additions and 2 deletions

View File

@ -118,7 +118,7 @@ defproc chip_texel (bd<N_IN> in, out;
fifo<N_IN-1,N_BUFFERS> fifo_dmx2reg(.in = _demux.out2, .reset_B = reset_B, .supply = supply);
registerA_wr_array<REG_NCA, REG_NCW, REG_M> register(.in = fifo_dmx2reg.out, .data = reg_data,
.supply = supply, .reset_B = reset_B);
fifo<N_IN-2,N_BUFFERS> fifo_reg2mrg(.in = register.out)
fifo<N_IN-2,N_BUFFERS> fifo_reg2mrg(.in = register.out, .reset_B = reset_B, .supply = supply);
// TO ADD: nrn/syn mon decoders
@ -133,6 +133,8 @@ defproc chip_texel (bd<N_IN> in, out;
// Neurons + encoder
pbool NC_NRN;
NC_NRN = NC_NRN_X + NC_NRN_Y;
nrn_hs_2D_array<N_NRN_X,N_NRN_Y,N_LINE_PD_DLY> nrn_grid(.in = neurons,
.supply = supply, .reset_B = reset_B);
encoder2D<NC_NRN_X, NC_NRN_Y, N_NRN_X, N_NRN_Y, 16> encoder(
@ -140,10 +142,14 @@ defproc chip_texel (bd<N_IN> in, out;
.iny = nrn_grid.outy,
.reset_B = reset_B, .supply = supply
)
fifo<NC_NRN_X + NC_NRN_Y, N_BUFFERS> fifo_enc2mrg(.in = encoder.out,
fifo<NC_NRN, N_BUFFERS> fifo_enc2mrg(.in = encoder.out,
.reset_B = reset_B, .supply = supply);
append<NC_NRN, N_IN-NC_NRN,0> append_enc(.in = fifo_enc2mrg.in, )
// Merge
merge<> merge_enc8reg
}
}