moore 0.12.0

A compiler for hardware description languages.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// RUN: moore %s -e A
module A;
    enum {
        Foo, Bar, Gax, Bux, Bla
    } c0;

    enum logic [41:0] {
        Baz, Buz
    } c1;

    initial begin
    	c0 = Foo;
    	c0 = Bar;
    	c1 = Baz;
    	c1 = Buz;
    end
endmodule