LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cores > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: Adam Pierce<adam@d...>
    Date: Thu Feb 28 11:47:59 CET 2008
    Subject: [oc] ZPU
    Top
    I want to know if the ZPU instruction set is documented anywhere. I
    managed to synthesize the core and have compiled a very simple test
    program but I cannot get it to run. If I understood a little more about
    what the opcodes did, I could figure out what I am doing wrong. Maybe
    this is an endian-ness issue but I can't tell.

    Here is my simple example. I am running Cygwin on Windows XP.

    $ cat looptest.c
    // Dead simple test program
    main()
    {
    while(1)
    ;
    }

    $ zpu-elf-gcc -o looptest.elf looptest.c -nostartfiles
    /home/Adam/zpu/bin/../lib/gcc/zpu-elf/3.4.2/../../../../zpu-elf/bin/ld: warning:
    cannot find entry symbol _start; defaulting to 00000000

    $ zpu-elf-objcopy -O binary looptest.elf looptest.bin

    $ hexdump looptest.bin
    0000000 088c 8c02 0b0c 0b0b fb0b 0039
    000000b

    $ java -classpath zpu/simulator/zpusim.jar com.zylin.zpu.simulator.tools.MakeRam looptest.bin
    0 => x"8c08028c",
    1 => x"0c0b0b0b",



    Øyvind Harboe wrote:
    >> Hi everyone, I'm new to this list. I'd like to talk about some
    >> difficulties I'm having with the ZPU core, is this the right place ?
    >>
    >
    > Here or attachment.htm

    ReferenceAuthor
    [oc] ZPUØyvind Harboe

     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.