20-Sim ANSI-C code on a 8051 target

J. Geerlings

    Research output: Book/ReportReportOther research output

    18 Downloads (Pure)

    Abstract

    In the forth-coming version of 20-sim the option code-generation for targets will be available. After selection of a template, it’s filled in with model specific information. Then this adapted template can be compiled and linked such that it can be run on the target. Theo Lammerink designed around the often-used 8051 microcontroller a target with 64-Kb data and code memory. The goal of this project was to implement a template for this target such that 20-sim code can run on it. The implementation of simulation elements within 20-sim of the target functions is completed successfully. This is shown by several simulation tests. Also the realisation of the template is accomplished. Although the correct working of the template could not yet been shown, it is very likely that it will work. However some strong comments have to be made considering the speed on which the code will run and the restricted complexity of the controller that can be designed. Also this project was a practical evaluation of the code-generation option of 20-sim. And some recommendations to improve it have been made: - Code generation not only with floats but also with integers. - Better replacement of simulation code with target c-code concerning target elements (like ADC, DAC, etc). - Point out which functions are used so that only the necessary functions are compiled.
    Original languageUndefined
    Place of PublicationEnschede, the Netherlands
    PublisherUniversity of Twente, Department of Electrical Engineering
    Number of pages63
    Publication statusPublished - 2001

    Publication series

    NameReport / Control Laboratory Electrical Engineering Department
    PublisherUniversity of Twente, Department of Electrical Engineering
    No.007R2001

    Keywords

    • IR-56892

    Cite this

    Geerlings, J. (2001). 20-Sim ANSI-C code on a 8051 target. (Report / Control Laboratory Electrical Engineering Department; No. 007R2001). Enschede, the Netherlands: University of Twente, Department of Electrical Engineering.
    Geerlings, J. / 20-Sim ANSI-C code on a 8051 target. Enschede, the Netherlands : University of Twente, Department of Electrical Engineering, 2001. 63 p. (Report / Control Laboratory Electrical Engineering Department; 007R2001).
    @book{34833f8abf474fb599f24c386ac31031,
    title = "20-Sim ANSI-C code on a 8051 target",
    abstract = "In the forth-coming version of 20-sim the option code-generation for targets will be available. After selection of a template, it’s filled in with model specific information. Then this adapted template can be compiled and linked such that it can be run on the target. Theo Lammerink designed around the often-used 8051 microcontroller a target with 64-Kb data and code memory. The goal of this project was to implement a template for this target such that 20-sim code can run on it. The implementation of simulation elements within 20-sim of the target functions is completed successfully. This is shown by several simulation tests. Also the realisation of the template is accomplished. Although the correct working of the template could not yet been shown, it is very likely that it will work. However some strong comments have to be made considering the speed on which the code will run and the restricted complexity of the controller that can be designed. Also this project was a practical evaluation of the code-generation option of 20-sim. And some recommendations to improve it have been made: - Code generation not only with floats but also with integers. - Better replacement of simulation code with target c-code concerning target elements (like ADC, DAC, etc). - Point out which functions are used so that only the necessary functions are compiled.",
    keywords = "IR-56892",
    author = "J. Geerlings",
    year = "2001",
    language = "Undefined",
    series = "Report / Control Laboratory Electrical Engineering Department",
    publisher = "University of Twente, Department of Electrical Engineering",
    number = "007R2001",

    }

    Geerlings, J 2001, 20-Sim ANSI-C code on a 8051 target. Report / Control Laboratory Electrical Engineering Department, no. 007R2001, University of Twente, Department of Electrical Engineering, Enschede, the Netherlands.

    20-Sim ANSI-C code on a 8051 target. / Geerlings, J.

    Enschede, the Netherlands : University of Twente, Department of Electrical Engineering, 2001. 63 p. (Report / Control Laboratory Electrical Engineering Department; No. 007R2001).

    Research output: Book/ReportReportOther research output

    TY - BOOK

    T1 - 20-Sim ANSI-C code on a 8051 target

    AU - Geerlings, J.

    PY - 2001

    Y1 - 2001

    N2 - In the forth-coming version of 20-sim the option code-generation for targets will be available. After selection of a template, it’s filled in with model specific information. Then this adapted template can be compiled and linked such that it can be run on the target. Theo Lammerink designed around the often-used 8051 microcontroller a target with 64-Kb data and code memory. The goal of this project was to implement a template for this target such that 20-sim code can run on it. The implementation of simulation elements within 20-sim of the target functions is completed successfully. This is shown by several simulation tests. Also the realisation of the template is accomplished. Although the correct working of the template could not yet been shown, it is very likely that it will work. However some strong comments have to be made considering the speed on which the code will run and the restricted complexity of the controller that can be designed. Also this project was a practical evaluation of the code-generation option of 20-sim. And some recommendations to improve it have been made: - Code generation not only with floats but also with integers. - Better replacement of simulation code with target c-code concerning target elements (like ADC, DAC, etc). - Point out which functions are used so that only the necessary functions are compiled.

    AB - In the forth-coming version of 20-sim the option code-generation for targets will be available. After selection of a template, it’s filled in with model specific information. Then this adapted template can be compiled and linked such that it can be run on the target. Theo Lammerink designed around the often-used 8051 microcontroller a target with 64-Kb data and code memory. The goal of this project was to implement a template for this target such that 20-sim code can run on it. The implementation of simulation elements within 20-sim of the target functions is completed successfully. This is shown by several simulation tests. Also the realisation of the template is accomplished. Although the correct working of the template could not yet been shown, it is very likely that it will work. However some strong comments have to be made considering the speed on which the code will run and the restricted complexity of the controller that can be designed. Also this project was a practical evaluation of the code-generation option of 20-sim. And some recommendations to improve it have been made: - Code generation not only with floats but also with integers. - Better replacement of simulation code with target c-code concerning target elements (like ADC, DAC, etc). - Point out which functions are used so that only the necessary functions are compiled.

    KW - IR-56892

    M3 - Report

    T3 - Report / Control Laboratory Electrical Engineering Department

    BT - 20-Sim ANSI-C code on a 8051 target

    PB - University of Twente, Department of Electrical Engineering

    CY - Enschede, the Netherlands

    ER -

    Geerlings J. 20-Sim ANSI-C code on a 8051 target. Enschede, the Netherlands: University of Twente, Department of Electrical Engineering, 2001. 63 p. (Report / Control Laboratory Electrical Engineering Department; 007R2001).