efabless / caravel-gf180mcu

This repository is the GF180MCU port of Caravel. For more information about Caravel, see the original repo at https://github.com/efabless/caravel.
Apache License 2.0
7 stars 8 forks source link

chip_io RTL error #151

Closed M0stafaRady closed 1 year ago

M0stafaRady commented 1 year ago

the following line in chip io triggers the following syntax error

 genvar i;
    generate
        for (i = 0; i < MPRJ_IO_PADS; i = i+1) begin

>              gf180mcu_fd_io__bi_t mprj_pads[i](

                .DVDD(vdd),
                .DVSS(vss),
                .VDD(vdd),

Error-[ZONVS] Zero or negative value for size /home/rady/caravel/caravel_gf/caravel/verilog/rtl/chip_io.v, 349 chip_io, "genblk1[0].i" Zero or negative value for size is not allowed. Value: 0 Please fix the size value as a positive number.

passant5 commented 1 year ago

The rtl utilizes a generate block to connect the io drive selection signals indexes correctly (#124) and the gl is created using yosys (openlane interactive script). The rtl will be updated to directly instantiate the pads