Yannick

Members
  • Content Count

    20
  • Joined

  • Last visited


Reputation Activity

  1. Like
    Yannick reacted to D@n in How to easily implement a basic low-pass filter using FIR Compiler (on Nexys 4 DDR)   
    @Yannick,
    Ok, now that I understand what you wish to do, try this:
    Tie ACLKEN on the DDS to 1.  This will generate a signal at your system clock rate.  It'll also look nice and pretty in the simulator as it comes out of the DDS. Tie ACLKEN on the FIR compiler so that it is 1 for one system clock 2.7M times per second.  The result won't look so pretty going into the filter any more, but it will be at your desired sample rate. Tie m_axis_tdata_ready going into the DDS to 1.  This will allow the DDS to free run, even though you are only looking at samples 2.7M times a second. Tie m_axis_tdata_ready going into your FIR to 1 as well.  We won't use that. Now, on the output of the FIR compiler, you'll want to sample the data once every time ACLKEN is valid.  This will then capture the sampling effects, and allow you to visualize how the sample rate is affecting things. You should see some fascinating things happen as you set the DDS to just less than 1/2 your sample rate through just greater than 1/2 your sample rate.  Likewise, you may find setting the DDS to somewhere between just less than 2.7MHz and just greater than 2.7MHz should also be quite fascinating for you.
    Dan