Skip to main content

census

Function census 

Source
pub fn census(verilog: &str, top: &str) -> BTreeMap<String, usize>
Expand description

The instance statements under top in verilog, counted through the hierarchy: every module top instantiates, directly or through the modules it instantiates, with the number of statements that reach it. A statement inside a generate loop counts once.