fixed demux bit 7 test and added note to primitives

This commit is contained in:
alexmadison
2023-11-21 09:35:28 +01:00
parent 822cb58d2c
commit 6eb91b72e0
2 changed files with 5 additions and 4 deletions

View File

@ -863,7 +863,8 @@ defproc slice_data(avMx1of2<N> in; avMx1of2<std::min(N1,N)-std::max(N0,0)> out;
}
// this is a wrapper for the demux, such that the condition bit is absorbed into the data
// and demux msb is just defaulting it to the msb
export template<pint N; pint CONDITION_BIT>
defproc demux_bit (avMx1of2<N+1> in; avMx1of2<N> out1; avMx1of2<N> out2; bool? reset_B; power supply)
{