MDIO post-read increment doesn't trigger interrupt

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaPe_2943731
Level 1
Level 1
First solution authored First like received First reply posted

I am using the advanced configuration of MDIO interface component and a number of registers configured to trigger an interrupt on read.  This functionality works perfectly when a read (mdio frame opcode 3)  is performed .

However when I perform a post-read address increment read (mdio frame opcode 2) the component does not generate a read interrupt.

Any ideas?

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

Hi Dan,

I think there is an easy fix. In the vMDIO_Interface_v1_20.v file, change the logic that drives the "read" logic to:

always @(posedge op_clock)

        begin

            read <= (op_read | op_pos_read) & reg_cfg[MDIO_REG_INT_ON_READ] & addr_is_valid & is_page_en;

        end

View solution in original post

0 Likes
3 Replies