shaiko
Advanced Member level 5
Hello,
Consider the following design:
FPGA #1 is connected to FPGA #2 via a synchronous (SPI like) bus. FPGA #1 is the master - therefore it's the SCLK and MOSI generator, and FPGA #2 is the MISO generator.
MOSI and MISO data is propagated on the rising edge of the SCLK and sampled on the falling.
The master's system clock (FPGA #1) is 240MHz and it's used to generate a 40MHz SCLK by means of counter division.
FPGA #2 also has a 240MHz system clock. which is used to sample the incoming 40MHz SCLK.
The falling edge of the SCLK is detected, and used to sample the incoming MOSI data.
Similarly, the master samples the MISO.
My thoughts: MOSI and SCLK are asynchronous to FGPA #2 while MISO is asynchronous to FPGA #1.
Questions:
What SDC constraints will you write for FPGA #1 ?
What SDC constraints will you write for FPGA #2 ?
Consider the following design:
FPGA #1 is connected to FPGA #2 via a synchronous (SPI like) bus. FPGA #1 is the master - therefore it's the SCLK and MOSI generator, and FPGA #2 is the MISO generator.
MOSI and MISO data is propagated on the rising edge of the SCLK and sampled on the falling.
The master's system clock (FPGA #1) is 240MHz and it's used to generate a 40MHz SCLK by means of counter division.
FPGA #2 also has a 240MHz system clock. which is used to sample the incoming 40MHz SCLK.
The falling edge of the SCLK is detected, and used to sample the incoming MOSI data.
Similarly, the master samples the MISO.
My thoughts: MOSI and SCLK are asynchronous to FGPA #2 while MISO is asynchronous to FPGA #1.
Questions:
What SDC constraints will you write for FPGA #1 ?
What SDC constraints will you write for FPGA #2 ?