Skip to main content

emit_semaphore_verilog

Function emit_semaphore_verilog 

Source
pub fn emit_semaphore_verilog(name: &str, width: usize) -> String
Expand description

A counting semaphore of width bits: set loads set_val (the owner’s reset), else inc adds inc_n (a remote increment); ge is count >= thresh — the set / increment / wait-threshold discipline every dataflow mesh’s semaphores implement.