veryl-std 0.20.3

A modern hardware description language
Documentation
1
2
3
4
5
6
7
8
9
10
pub proto module synchronizer #(
    param WIDTH        : u32        = 8 ,
    param INITIAL_VALUE: bit<WIDTH> = '0,
    param STAGES       : u32        = 2 ,
) (
    i_clk: input  'd clock       ,
    i_rst: input  'd reset       ,
    i_d  : input  's logic<WIDTH>,
    o_d  : output 'd logic<WIDTH>,
);