We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could you please check the formatting of the following code: module abc;
module abc;
localparam CLK_PRD = 10; typedef enum int unsigned { TST_0, TST_1, TST_2 } tst_e; tst_e tst ; /////////////////////////////////////////////////////////////////// // Tasks /////////////////////////////////////////////////////////////////// // Write register task automatic write_reg( input avmm_addr_t ti_address, input avmm_data_t ti_value); endtask : write_reg // Read register task automatic read_reg( input avmm_addr_t ti_address, output avmm_data_t to_value); endtask : read_reg
endmodule
I have the following result: module abc; localparam CLK_PRD = 10; typedef enum int unsigned { TST_0, TST_1, TST_2 } tst_e; tst_e tst ; task automatic write_reg(input avmm_addr_t ti_address, input avmm_data_t ti_value);
module abc; localparam CLK_PRD = 10; typedef enum int unsigned { TST_0, TST_1, TST_2 } tst_e; tst_e tst ; task automatic write_reg(input avmm_addr_t ti_address, input avmm_data_t ti_value);
endtask : write_reg // Read register task automatic read_reg( input avmm_addr_t ti_address, output avmm_data_t to_value); endtask : read_reg endmodule
`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Could you please check the formatting of the following code:
module abc;
endmodule
I have the following result:
module abc; localparam CLK_PRD = 10; typedef enum int unsigned { TST_0, TST_1, TST_2 } tst_e; tst_e tst ; task automatic write_reg(input avmm_addr_t ti_address, input avmm_data_t ti_value);
`
The text was updated successfully, but these errors were encountered: