altered dly cfg to use not(t) rather than f

This commit is contained in:
alexmadison 2022-04-13 18:44:41 +02:00
parent 57d895c4e7
commit 17cbc269a6
1 changed files with 7 additions and 1 deletions

View File

@ -96,7 +96,13 @@ defproc texel_core (avMx1of2<N_IN> in, out;
.out = synapses,
.hs_en = register.data[0].d[0].t, // Defaults to handshake disable
.supply = supply, .reset_B = _reset_BX);
(i:N_SYN_DLY_CFG: decoder.dly_cfg[i] = register.data[0].d[1 + i].f;) // Defaults to max delay
INV_X1 dly_cfg_inverters[N_SYN_DLY_CFG];
(i:N_SYN_DLY_CFG:
dly_cfg_inverters[i].a = register.data[0].d[1+i].t; // iff t is high, is the delay disabled.
dly_cfg_inverters[i].vdd = supply.vdd;
dly_cfg_inverters[i].vss = supply.vss;
decoder.dly_cfg[i] = dly_cfg_inverters[i].y;
) // This sexy hack means that the inverters are max delay throughout the register flush operations.
// Neurons + encoder
pint NC_NRN;