This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

programming ip core 8051 spartan 3e

Hello, anyone has experience with spartan 3e board kit board?
I do not get results with any program that contains: DJNZ, JMP ... results alone with programs in which I interact, if I let a program with a simple increase with subsequent visualization with LEDs, do not get any result, only the first LED lighting.
Alguin can help-me?

Health and thanks

Parents
  • Hello, I am a student final project is to implement a career 8051 ip core in 3e Spanta. L'experience I have with the FPGA is two subjects.
    The problem I have is that once implemented the IP core is not operating with a loop without user interaction, example:

    Org 0
    Inici:   mov p3,#01h
                     Mov r0,#0ffh
            Mov  r1,#0ffh
    Temp1:  Djnz  r1, temp1
    Temp2:      djnz r0,temp2
                    Mov p3,#02h
                    Mov r2,#0ffh
                    Mov r3,#0ffh
    Temp3 : djnz r2, temp3
    Temp4 : djnz r3, temp4
                    Jmp inici
    end
    

    The P3 is the output of LEDs that have the plate, the response of the plate is a 1 in the leds i mas.No be nothing if not accept a DJNZ, JMP ...
    But if I do a program

    mov p3, p1
    P1 is the input buttons, if I get a loop in which I can go play.

    Health i thank you for the help

Reply
  • Hello, I am a student final project is to implement a career 8051 ip core in 3e Spanta. L'experience I have with the FPGA is two subjects.
    The problem I have is that once implemented the IP core is not operating with a loop without user interaction, example:

    Org 0
    Inici:   mov p3,#01h
                     Mov r0,#0ffh
            Mov  r1,#0ffh
    Temp1:  Djnz  r1, temp1
    Temp2:      djnz r0,temp2
                    Mov p3,#02h
                    Mov r2,#0ffh
                    Mov r3,#0ffh
    Temp3 : djnz r2, temp3
    Temp4 : djnz r3, temp4
                    Jmp inici
    end
    

    The P3 is the output of LEDs that have the plate, the response of the plate is a 1 in the leds i mas.No be nothing if not accept a DJNZ, JMP ...
    But if I do a program

    mov p3, p1
    P1 is the input buttons, if I get a loop in which I can go play.

    Health i thank you for the help

Children
No data