]> Witch of Git - nan-gate/blob - share_nan.pmg
Support multiple synthesis widths
[nan-gate] / share_nan.pmg
1 match cvt_a
2 select cvt_a->attributes.count(\nan_b2f) || cvt_a->attributes.count(\nan_f2b)
3 endmatch
4
5 match cvt_b
6 select cvt_b->attributes.count(\nan_b2f) || cvt_b->attributes.count(\nan_f2b)
7 index <IdString> cvt_b->type === cvt_a->type
8 index <SigSpec> port(cvt_b, \A) === port(cvt_a, \A)
9 endmatch