opentitan icon indicating copy to clipboard operation
opentitan copied to clipboard

Check definition of uart status register

Open mdhayter opened this issue 7 years ago • 3 comments

Verilator gives a warning: %Warning-UNUSED: ../src/lowrisc_ip_uart_0.1/rtl/uart_core.sv:12: Bits of signal are not used: reg2hw[99:88]

This corresponds to the q and re bits for the status register. Should the register be declared hwo and not have hwre set? (I think at one point there were some read side-effects)

mdhayter avatar May 21 '19 13:05 mdhayter

@eunchan do you mind taking a look? Just wondering if this falls under the things we should clean up for uart hero.

@weicaiyang FYI

tjaychen avatar Sep 23 '19 20:09 tjaychen

This looks like waived in the lint and it is OK as it is now. A few of the fields in the register are used in the design

eunchan avatar Sep 23 '19 23:09 eunchan

lets clsoe it! :)

On Mon, Sep 23, 2019 at 4:09 PM Eunchan Kim [email protected] wrote:

This looks like waived in the lint and it is OK as it is now. A few of the fields in the register are used in the design

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lowRISC/opentitan/issues/59?email_source=notifications&email_token=AAH2RSSJBC63SD6XFI6M2XLQLFED5A5CNFSM4ISTJWP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7MREIA#issuecomment-534319648, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH2RSS7ET3ZV7RCVIXDXCTQLFED5ANCNFSM4ISTJWPQ .

tjaychen avatar Sep 23 '19 23:09 tjaychen