+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Newbie level 4
    Points: 68, Level: 1

    Join Date
    Oct 2017
    Posts
    9
    Helped
    0 / 0
    Points
    68
    Level
    1

    How to Run C application on MC 8051 design using Xilinix isim.

    Hi, I want to run some C applications on my MC 8051 Design. It would take a binary file of a C application as an input, right? How can I get this binary?

    Regards, Qazi

    •   Alt7th November 2017, 15:00

      advertising

        
       

  2. #2
    Super Moderator
    Points: 27,672, Level: 40
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,318
    Helped
    1533 / 1533
    Points
    27,672
    Level
    40

    Re: How to Run C application on MC 8051 design using Xilinix isim.

    1) By using an MC 8051 compiler...
    2) converting the binary to a mif file (for simulation)
    3) create a ROM in the test bench to load the mif file into
    4) run sim


    1 members found this post helpful.

    •   Alt7th November 2017, 16:53

      advertising

        
       

  3. #3
    Newbie level 4
    Points: 68, Level: 1

    Join Date
    Oct 2017
    Posts
    9
    Helped
    0 / 0
    Points
    68
    Level
    1

    Re: How to Run C application on MC 8051 design using Xilinix isim.

    Quote Originally Posted by ads-ee View Post
    1) By using an MC 8051 compiler...
    2) converting the binary to a mif file (for simulation)
    3) create a ROM in the test bench to load the mif file into
    4) run sim
    Thanks, Which compiler do you think best suites MC 8051 for this purpose?



    •   Alt7th November 2017, 17:04

      advertising

        
       

  4. #4
    Super Moderator
    Points: 27,672, Level: 40
    ads-ee's Avatar
    Join Date
    Sep 2013
    Location
    USA
    Posts
    6,318
    Helped
    1533 / 1533
    Points
    27,672
    Level
    40

    Re: How to Run C application on MC 8051 design using Xilinix isim.

    Don't know, never compiled code for an 8051. I'd suggest just picking one randomly (or the first one that shows up in a google search).



--[[ ]]--