Javascript Get Value From Async Function Syntax In Verilog