Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16875 Discussions

Constraining MII Interface (Input/Output Delay)

skyjuice88
Beginner
2,126 Views

While I know how to constraint regular I/O delays (set_input_delay min/max and set_output_delay min/max), when it comes to MII-related timing I am a bit confused.

The datasheet of the PHYs have the following timing specs.

RXDV, RXD, RXCLK and TXCLK are inputs to the design, while TXEN and TXD are outputs of the designs.

How exactly should I constrain the timing constraints correctly?

 

 

 

Labels (1)
0 Kudos
8 Replies
Nurina
Employee
2,098 Views

Hello,


Thank you for using Intel Communities. Please allow some time while I investigate your problem.


Regards,

Nurina


0 Kudos
Nurina
Employee
2,096 Views

Hello,


May I know which device you are targeting?


Regards,

Nurina


0 Kudos
Nurina
Employee
2,091 Views

Also, which PHY are you using?


0 Kudos
skyjuice88
Beginner
2,089 Views

I am using Microchip LAN8710 (Timing diagram on page 73 https://ww1.microchip.com/downloads/en/DeviceDoc/8710a.pdf) to interface on my Arria 10 devices.

0 Kudos
Nurina
Employee
2,067 Views

Thanks, and which Quartus version are you using?


Regards,

Nurina


0 Kudos
skyjuice88
Beginner
2,066 Views

I am using Quartus Pro 22.4

0 Kudos
Nurina
Employee
1,967 Views

Hello,


Sorry for the late response.


Clocks:

Add create_clock for both RX and TX clocks to input port.


RX signals:

set_input_delay -clock MII_RXCLK -max 28.0 [get_ports {RXDV RXD*}] -add_delay

set_input_delay -clock MII_RXCLK -min 12.0 [get_ports {RXDV RXD*}] -add_delay


TX signals.

set_output_delay -clock MII_TXCLK -max 12.0 [get_ports {TXEN TXD*}] -add_delay

set_output_delay -clock MII_TXCLK -min 0 [get_ports {TXEN TXD*}] -add_delay



Regards,

Nurina


p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Nurina
Employee
1,939 Views

Hi,


May I know if above solution helped?


Regards,

Nurina


p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.


0 Kudos
Reply