celox 0.4.1

Celox HDL Simulator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module Module04 (
    clk: input clock,
    rst: input reset,
    a  : input logic<64>,
    b  : output logic<64>,
    c  : input logic,
) {
    always_ff (clk, rst) {
        if_reset {
            b = 0;
        } else {
            b = a;
        }
    }
}