Revert index to select
authorEddie Hung <eddie@fpgeh.com>
Thu, 19 Sep 2019 21:46:53 +0000 (14:46 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 19 Sep 2019 21:46:53 +0000 (14:46 -0700)
passes/pmgen/ice40_dsp.pmg

index aa081241d57b41538c3374c20f7d6b53018dae48..73e92031e6ff0e227aa0f5fe9b2f43bac2b566df 100644 (file)
@@ -215,7 +215,7 @@ endcode
 match mux
        select mux->type == $mux
        choice <IdString> AB {\A, \B}
-       index <int> nusers(port(mux, AB)) === 2
+       select nusers(port(mux, AB)) == 2
        index <SigSpec> port(mux, AB) === sigO
        set muxAB AB
        optional