MUX Generator for Gezel
This tool generates a gezel datapath to select a bit from a vector. The gezel language only allows to pick a static bit from a vector.
The datapath does the equivalent of this VHDL line:
Code can also be generated to extract slices larger than one bit.
For a KULeuven school project I needed to do this on a 256-bit wide vector so I wrote a program to write this automatically.
When I found out other people spent a lot of time writing a (1024-bit) selector by hand I ported the Perl program to PHP and uploaded it here.
Last Updated: Mon, 21 Nov 2011