dgrnbrg/piplin — Issue #22: case
Author: dgrnbrg
Created: 2012-03-03 17:36:44+00:00
State: open

This provides a lookup table/demux pattern.

It should definitely support enums, but I'm not sure if it should support any other types or all types that can be converted to bits. Perhaps it should only support types that can enumerate their domain.

case verifies that the entire domain is covered by all the branches in synthesizable code.