+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Full Member level 4
    Points: 1,808, Level: 9

    Join Date
    Jul 2014
    Posts
    219
    Helped
    14 / 14
    Points
    1,808
    Level
    9

    Low speed on hps to fpga bridge

    hi ,

    i successfully implemented s system which is working on linux. my qsys system consist of a custom component running at 10khz ( output of a counter passing to hps (32 bit)) and hps (with only light weight bridge enabled) and a onchip memory. this is running on fpga part and from the c code i am printing the value to a serial terminal (putty). now the 32 bit value(which is updating in the fpga @10khz) is printing17 times.

    now i used the same system but instead of light weight bridge , hps to fpga bridge . because this have higher through put. i thought like in serial terminal the value will print more than 17 times, because i am using the higher through put bridge right. but its same !!!!!!!!!!!!!!!!!!!! only 17 times.

    how i changed to hps to bridge was: defined the 3 parameters and then just changed them like below
    while (1) {

    custom_slave_rw = (uint32_t*)(virtual_base + ( (ALT_AXI_FPGASLVS_OFST + RW_SLAVE_OFST) & (HW_FPGA_AXI_MASK)));

    uint32_t read_value = *custom_slave_rw;
    printf("X=%d\n",read_value);
    }
    fpga is connected to the pc using rs232 uart cable ,buit-in in fpga. linux is booting from an sd card.
    why the 2nd time speed on terminal didnt increased ?
    any help is really appreciated
    if i am not doing the proper way please guide me in right direction :)
    thanks and regards

    •   AltAdvertisment

        
       

  2. #2
    Super Moderator
    Points: 250,751, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    43,655
    Helped
    13276 / 13276
    Points
    250,751
    Level
    100

    Re: Low speed on hps to fpga bridge

    The output speed is probably baud rate limited.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  3. #3
    Full Member level 4
    Points: 1,808, Level: 9

    Join Date
    Jul 2014
    Posts
    219
    Helped
    14 / 14
    Points
    1,808
    Level
    9

    Re: Low speed on hps to fpga bridge

    Quote Originally Posted by FvM View Post
    The output speed is probably baud rate limited.
    okkk..may be thats the reason. anyway now i am trying to save the contents in a output.txt file inside the sd card where the linux is running. i checked the directory using ls command in putty. i can see it . is there any way to copy the text file to pc.(is it possible ?). when i tried to copy using scp commend from embedded command shell, its showing permission denied.
    so is it possible to copy it, if yes what is the command ?

    regards



--[[ ]]--