Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by Roronoa137

  1. R

    MMCM Clocking Wizard

    I'm using the clocking wizard IP to generate three different clocks starting from an input clock. These are the setting for the IP: INPUT CLOCK: Input Frequency: 12MHz Input Jitter: 0.010 Source: Single ended clock capable pin OUTPUT CLOCK: clk_out1: 100 MHz clk_out2: 300 MHz clk_out3: 10 MHz...
  2. R

    SPI communication in SDK

    I don't want to use the flash, I just want to store them in the fifo inside the AXI Quad SPI block and actually if you go through the xspi.h library on GitHub it says that the function Spi_Transfer can be used for read and write, only read and only write. It's just that they don't provide...
  3. R

    SPI communication in SDK

    Thanks for your replay. I just wanted to check if all the data were transmitted, and actually the SDK example provides it. So this is fine, but I'm still checking for the write and read separate functions.
  4. R

    SPI communication in SDK

    I'm using vivado 2018.3. I took a look to the example spi_v4.4, which is the interrupt example, but as I wrote above, it's using XSpi_Transfer(SpiInstancePtr, WriteBuffer, ReadBuffer, BUFFER_SIZE); but what I wanted to do is to implement two different functions, one for the read and the other...
  5. R

    SPI communication in SDK

    @luoyanghero thanks for your replay, but I have already took a look to the SDK examples, but the only formt in which they use the Spi_Transfer function is: XSpi_Transfer(SpiInstancePtr, WriteBuffer, ReadBuffer, BUFFER_SIZE), but from what I have seen there are no examples related to the other...
  6. R

    SPI communication in SDK

    Hi, I'm trying to write the code for SPI communication in SDK. So I was following these steps: a) Initialize the SPI driver b) Perform a self-test c) Set the SPI device options d) Select the device on the SPI bus (SPI slave) e) Start the SPI driver f) Write data g) Read the data I reached step...
  7. R

    Transferring data from PS to PL

    I already went through these links, but thanks!
  8. R

    Transferring data from PS to PL

    Thank you for your replay! I'm sorry but I'm new with SDK. I know I should write some code to write something in the PL. Since I just need to store a value from the PS to the PL, I was reading I can use "Xil_io" library. Do you think is this a right way to proceed?
  9. R

    Transferring data from PS to PL

    I'm sorry, I have edited the post.
  10. R

    Transferring data from PS to PL

    Hello, I have created my own IP in Vivado which takes some data from a sensor using I2C protocol and stores them in the memory mapped registers in the processing system (PS) through SPI protocol. What I would like to do now is to send the data from the PS to the FPGA (PL, programmable logic)...
  11. R

    [SOLVED] How to write in the log file

    Thank you, I will try to use it and let you know if it works!
  12. R

    [SOLVED] How to write in the log file

    Hello, I'm creating a file in the test bench and writing something in it using commands $fopen, $fdisplay and $fclose. What I would like to know is if there is a way to write directly in the log file or to create a file that is updated during the simulation and doesn't required to be closed...
  13. R

    How to give input to a task

    Thanks, the solution you provided are very useful, I will try to implement them!
  14. R

    How to give input to a task

    Thanks for your help. I'm sorry but probably I delated the clock from the module m, actually I have it in my original code, so the problem should be something else, but at the moment I don't have any idea, for sure if I will find the error I will update this post. Then, can you kidly explain me...
  15. R

    How to give input to a task

    I don't think this is the problem: I tried to remove dut.r.f from thetask input and to print its value inside the task (recalling it with the same syntax: dut.r.f) and it seems to work correctly. I think it is more a problem of syntax for which it is not possible to pass a hierarchical variable...

Part and Inventory Search

Back
Top