added a comment to mux2

This commit is contained in:
alexmadison 2022-04-01 20:46:03 +02:00
parent 732526f0e3
commit b162cff991
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,8 @@ namespace tmpl {
export defcell MUX2_X1(bool! y; bool? a, b, s, vdd, vss) export defcell MUX2_X1(bool! y; bool? a, b, s, vdd, vss)
{ {
// y = !( S ? b : a ) // y = !( S ? b : a )
// Actually looks more like
// if s = 0 -> use A
// Adjusted to fit the XFAB Muxes // Adjusted to fit the XFAB Muxes
bool _s; bool _s;
bool _y; bool _y;