data/full_repos/permissive/216210370/soc/gpio0.v
1: b'%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case expression, but Case expression\'s SEL generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n                ... Use "/* verilator lint_off WIDTH */" and lint_on around source to disable this message.\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_SW_DIR_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_SW_HW_CTRL_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_INT_FUNC_EN_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_INT_MASK_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_INT_TYPE_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_INT_POL_SEL_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_INT_STATUS_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_RAW_INT_STATUS_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_DEBOUNCE_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_INT_LEVEL_SYNC_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Warning-WIDTH: data/full_repos/permissive/216210370/soc/gpio0.v:506: Operator CASE expects 32 bits on the Case Item, but Case Item\'s VARREF \'GPIO_EXT_DATA_OFFSET\' generates 5 bits.\n                                                                    : ... In instance gpio0_sec_top.x_gpio0.x_gpio_top.U_GPIO_APBIF\n        case (paddr[5\'h6:2])\n        ^~~~\n%Error: Exiting due to 12 warning(s)\n'
module gpio_top 
(
                   gpio_etb_trig      ,
                   pclk               ,
                   pclk_int           ,
                   dbclk              ,
                   dbclk_rstn         ,
                   scan_mode          ,                   
                   presetn            ,
                   penable            ,
                   pwrite             ,
                   pwdata             ,
                   paddr              ,
                   psel               ,
                   gpio_in_data       ,
                   gpio_out_data      ,
                   gpio_out_en        ,
                   gpio_int_flag      ,
                   gpio_int_clk_en    ,
                   prdata              
);
output              [31:0]     gpio_etb_trig        ;                   
input                                     pclk                 ;
input                                     pclk_int             ;
input                                     presetn              ;
input                                     dbclk                ; 
input                                     dbclk_rstn           ;
input                                     scan_mode            ;
input                                     penable              ;
input                                     pwrite               ;
input                          [31:0]     pwdata               ;
input               [6:0]     paddr                ;
input                                     psel                 ;
input               [31:0]     gpio_in_data         ;
output              [31:0]     gpio_out_data        ;
output              [31:0]     gpio_out_en          ;
output                                    gpio_int_flag        ;
output                                    gpio_int_clk_en      ;
output                         [31:0]     prdata               ;
wire                                      dbclk                ;
wire                                      dbclk_rstn           ;
wire                                      scan_mode            ;
wire                                      pclk_int             ;
wire                           [31:0]     prdata               ;
wire                [31:0]     gpio_sw_data         ;
wire                [31:0]     gpio_sw_dir          ;
wire                [31:0]     gpio_int_en          ;
wire                [31:0]     gpio_int_mask        ;
wire                [31:0]     gpio_int_type        ;
wire                [31:0]     gpio_int_pol         ;
wire                [31:0]     gpio_int             ;
wire                [31:0]     gpio_int_n           ;
wire                [31:0]     gpio_raw_int_status  ;
wire                [31:0]     gpio_debounce        ;
wire                                       gpio_int_level_sync  ;
wire                [31:0]     gpio_int_clr         ;
wire                [31:0]     gpio_in_data         ;
wire                [31:0]     gpio_ext_data        ;  
wire                [31:0]     gpio_out_data        ;
wire                [31:0]     gpio_out_en          ;
wire                                       gpio_int_flag        ;
wire                                       gpio_int_flag_n      ;
wire                [31:0]     gpio_int_status      ;
gpio_apbif U_GPIO_APBIF
(
    .pclk                          (pclk                      ),
    .presetn                       (presetn                   ),
    .penable                       (penable                   ),
    .pwrite                        (pwrite                    ),
    .pwdata                        (pwdata                    ),
    .paddr                         (paddr                     ),
    .psel                          (psel                      ),
    .gpio_sw_data                  (gpio_sw_data              ),
    .gpio_sw_dir                   (gpio_sw_dir               ),
    .gpio_int_en                   (gpio_int_en               ),
    .gpio_int_mask                 (gpio_int_mask             ),
    .gpio_int_type                 (gpio_int_type             ),
    .gpio_int_pol                  (gpio_int_pol              ),
    .gpio_int_status               (gpio_int_status           ),
    .gpio_raw_int_status           (gpio_raw_int_status       ),
    .gpio_debounce                 (gpio_debounce             ),
    .gpio_int_clr                  (gpio_int_clr              ),
    .gpio_ext_data                 (gpio_ext_data             ),
    .gpio_int_level_sync           (gpio_int_level_sync       ),
    .prdata                        (prdata                    )
);
gpio_ctrl U_GPIO_CTRL  
(
    .gpio_etb_trig                 (gpio_etb_trig             ),
    .pclk                          (pclk                      ),
    .pclk_int                      (pclk_int                  ),
    .dbclk                         (dbclk                     ),
    .presetn                       (presetn                   ),
    .dbclk_rstn                    (dbclk_rstn                ),
    .scan_mode                     (scan_mode                 ),
    .gpio_sw_data                  (gpio_sw_data              ),
    .gpio_sw_dir                   (gpio_sw_dir               ),
    .gpio_int_en                   (gpio_int_en               ),
    .gpio_int_mask                 (gpio_int_mask             ),
    .gpio_int_type                 (gpio_int_type             ),
    .gpio_int_pol                  (gpio_int_pol              ),
    .gpio_debounce                 (gpio_debounce             ),
    .gpio_int_clr                  (gpio_int_clr              ),
    .gpio_rx_data                  (gpio_in_data              ),
    .gpio_int_level_sync           (gpio_int_level_sync       ),
    .gpio_tx_data                  (gpio_out_data             ),
    .gpio_tx_en                    (gpio_out_en               ),
    .gpio_ext_data                 (gpio_ext_data             ),
    .gpio_int_flag                 (gpio_int_flag             ),
    .gpio_int                      (gpio_int                  ),
    .gpio_int_flag_n               (gpio_int_flag_n           ),
    .gpio_int_n                    (gpio_int_n                ),
    .gpio_int_status               (gpio_int_status           ),
    .gpio_raw_int_status           (gpio_raw_int_status       ),
    .gpio_int_clk_en               (gpio_int_clk_en           )
);
endmodule
module gpio_top 
(
                   gpio_etb_trig      ,
                   pclk               ,
                   pclk_int           ,
                   dbclk              ,
                   dbclk_rstn         ,
                   scan_mode          ,                   
                   presetn            ,
                   penable            ,
                   pwrite             ,
                   pwdata             ,
                   paddr              ,
                   psel               ,
                   gpio_in_data       ,
                   gpio_out_data      ,
                   gpio_out_en        ,
                   gpio_int_flag      ,
                   gpio_int_clk_en    ,
                   prdata              
);

output              [31:0]     gpio_etb_trig        ;                   
input                                     pclk                 ;
input                                     pclk_int             ;
input                                     presetn              ;
input                                     dbclk                ; 
input                                     dbclk_rstn           ;
input                                     scan_mode            ;
input                                     penable              ;
input                                     pwrite               ;
input                          [31:0]     pwdata               ;
input               [6:0]     paddr                ;
input                                     psel                 ;
input               [31:0]     gpio_in_data         ;
output              [31:0]     gpio_out_data        ;
output              [31:0]     gpio_out_en          ;
output                                    gpio_int_flag        ;
output                                    gpio_int_clk_en      ;
output                         [31:0]     prdata               ;
wire                                      dbclk                ;
wire                                      dbclk_rstn           ;
wire                                      scan_mode            ;
wire                                      pclk_int             ;
wire                           [31:0]     prdata               ;
wire                [31:0]     gpio_sw_data         ;
wire                [31:0]     gpio_sw_dir          ;
wire                [31:0]     gpio_int_en          ;
wire                [31:0]     gpio_int_mask        ;
wire                [31:0]     gpio_int_type        ;
wire                [31:0]     gpio_int_pol         ;
wire                [31:0]     gpio_int             ;
wire                [31:0]     gpio_int_n           ;
wire                [31:0]     gpio_raw_int_status  ;
wire                [31:0]     gpio_debounce        ;
wire                                       gpio_int_level_sync  ;
wire                [31:0]     gpio_int_clr         ;
wire                [31:0]     gpio_in_data         ;
wire                [31:0]     gpio_ext_data        ;  
wire                [31:0]     gpio_out_data        ;
wire                [31:0]     gpio_out_en          ;
wire                                       gpio_int_flag        ;
wire                                       gpio_int_flag_n      ;
wire                [31:0]     gpio_int_status      ;
gpio_apbif U_GPIO_APBIF
(
    .pclk                          (pclk                      ),
    .presetn                       (presetn                   ),
    .penable                       (penable                   ),
    .pwrite                        (pwrite                    ),
    .pwdata                        (pwdata                    ),
    .paddr                         (paddr                     ),
    .psel                          (psel                      ),
    .gpio_sw_data                  (gpio_sw_data              ),
    .gpio_sw_dir                   (gpio_sw_dir               ),
    .gpio_int_en                   (gpio_int_en               ),
    .gpio_int_mask                 (gpio_int_mask             ),
    .gpio_int_type                 (gpio_int_type             ),
    .gpio_int_pol                  (gpio_int_pol              ),
    .gpio_int_status               (gpio_int_status           ),
    .gpio_raw_int_status           (gpio_raw_int_status       ),
    .gpio_debounce                 (gpio_debounce             ),
    .gpio_int_clr                  (gpio_int_clr              ),
    .gpio_ext_data                 (gpio_ext_data             ),
    .gpio_int_level_sync           (gpio_int_level_sync       ),
    .prdata                        (prdata                    )
);
gpio_ctrl U_GPIO_CTRL  
(
    .gpio_etb_trig                 (gpio_etb_trig             ),
    .pclk                          (pclk                      ),
    .pclk_int                      (pclk_int                  ),
    .dbclk                         (dbclk                     ),
    .presetn                       (presetn                   ),
    .dbclk_rstn                    (dbclk_rstn                ),
    .scan_mode                     (scan_mode                 ),
    .gpio_sw_data                  (gpio_sw_data              ),
    .gpio_sw_dir                   (gpio_sw_dir               ),
    .gpio_int_en                   (gpio_int_en               ),
    .gpio_int_mask                 (gpio_int_mask             ),
    .gpio_int_type                 (gpio_int_type             ),
    .gpio_int_pol                  (gpio_int_pol              ),
    .gpio_debounce                 (gpio_debounce             ),
    .gpio_int_clr                  (gpio_int_clr              ),
    .gpio_rx_data                  (gpio_in_data              ),
    .gpio_int_level_sync           (gpio_int_level_sync       ),
    .gpio_tx_data                  (gpio_out_data             ),
    .gpio_tx_en                    (gpio_out_en               ),
    .gpio_ext_data                 (gpio_ext_data             ),
    .gpio_int_flag                 (gpio_int_flag             ),
    .gpio_int                      (gpio_int                  ),
    .gpio_int_flag_n               (gpio_int_flag_n           ),
    .gpio_int_n                    (gpio_int_n                ),
    .gpio_int_status               (gpio_int_status           ),
    .gpio_raw_int_status           (gpio_raw_int_status       ),
    .gpio_int_clk_en               (gpio_int_clk_en           )
);
endmodule