Skip to main content

fill_verilog

Function fill_verilog 

Source
pub fn fill_verilog(template: &str) -> String
Expand description

Fill a Verilog template’s protocol bytes from this table: __V_<NAME>__ becomes the byte as a Verilog literal (8'hA7), __X_<NAME>__ the hex a comment quotes (0xA7). Panics if a placeholder names no protocol byte.