vscode-terosHDL icon indicating copy to clipboard operation
vscode-terosHDL copied to clipboard

Wavedrom rendering not available in processes

Open suzizecat opened this issue 4 years ago • 1 comments

Wavedrom waveform are not rendered when added in process descriptions (for (System)Verilog). Instead, the wavedrom code is directly printed as normal text.

  //! Shadow register update
  //! *format* 
  //!
  //! {signal:[
  //! {name:'clock',wave:'HLHLHLHL'},
  //! {name:'valid',wave:'1.0.....'}]}
  //! 
  always_ff @(posedge i_clk or negedge i_rst_n)
    begin : p_shadow_transfer
      if(~i_rst_n)
        begin
          shadow_output <= 0;
        end
      else
        begin
          shadow_output <= i_d;
        end
    end

image

suzizecat avatar Mar 30 '21 09:03 suzizecat

Currently it's only supported in the entity description. We could add it in the process description.

qarlosalberto avatar Mar 30 '21 11:03 qarlosalberto