renamed encoder to dualrail_encoder

This commit is contained in:
alexmadison
2022-03-04 14:53:14 +01:00
parent 2882bc0f24
commit a53110dda4
3 changed files with 117 additions and 117 deletions

View File

@ -35,7 +35,7 @@ open std::data;
open tmpl::dataflow_neuro;
defproc encoder_7 (bool? in[7]; Mx1of2<3> out){
encoder<3,7> e(.in=in, .out=out);
dualrail_encoder<3,7> e(.in=in, .out=out);
e.supply.vss = GND;
e.supply.vdd = Vdd;

View File

@ -13,7 +13,7 @@ set e.in[6] 0
# set-bool-array "e.in" 7 0
cycle
# mode run
mode run
# assert t.out 0