Menu

#510 Wrong indentation using DPI keywords

v1.0_(example)
closed-fixed
nobody
None
5
2017-11-01
2017-09-21
No

Dear SVEditor developers,

I have seen that if i use the DPI-C keywords in systemverilog, then the text format is corrupted in SV files.

Below an example

    //IMPORT FUNCTION FROM C
    ////////////////////////////////////////////////////////////////////////            
    import "DPI-C" function void python_sign_msg(string key_file_name, string msg_file_name, string signed_file_name );
        import "DPI-C" function string return_string_in_c(string text, string output_txt);    

        typedef class keycontrol_seq_handles;
        //-----------------------
        class keycontrol_predictor#(int PARAM_PLACEHOLDER = 1) extends pve_predictor#(keycontrol_seq_handles);//extends uvm_component;
        `uvm_component_param_utils(keycontrol_predictor#(PARAM_PLACEHOLDER))

Best regards,
Jonathan

1 Attachments

Discussion

  • StevenAZ

    StevenAZ - 2017-09-25

    Code patched... having trouble with Github so can't push at the moment. Will close and update after push goes through.

     

    Last edit: StevenAZ 2017-09-25
  • StevenAZ

    StevenAZ - 2017-11-01
    • status: open --> closed-fixed
     
  • StevenAZ

    StevenAZ - 2017-11-01

    Fixed in 2.0.5

     

Log in to post a comment.