OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable/] [mp3/] [sw/] [mad-xess/] [README] - Diff between revs 392 and 1765

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 392 Rev 1765
This is MP3 decoder for OpenRISC configured for the xess board.
This is MP3 decoder for OpenRISC configured for the xess board.
Make the mp3 player with:
Make the mp3 player with:
    ./makes2 songs/Beethoven-fuer_elise-16.mp3 songs/Moonlight-16.mp3
    ./makes2 songs/Beethoven-fuer_elise-16.mp3 songs/Moonlight-16.mp3
This should build mp3 decoder for or32 and also put these two
This should build mp3 decoder for or32 and also put these two
songs in the memory image.
songs in the memory image.
You get three outputs:
You get three outputs:
- minimad : this is executable in COFF binary format that you can use
- minimad : this is executable in COFF binary format that you can use
on the simulator (type "sim  minimad", uncomment the OR1K_SIM define
on the simulator (type "sim  minimad", uncomment the OR1K_SIM define
in config.h to get PCM output in a file audiosim.pcm, which you can hear
in config.h to get PCM output in a file audiosim.pcm, which you can hear
using command "play -t raw -r 22050 -s w -f s -c 2 audiosim.pcm")
using command "play -t raw -r 22050 -s w -f s -c 2 audiosim.pcm")
- minimad.s2 : this is srecord siutable to be merged with bitstream (*.exo)
- minimad.s2 : this is srecord siutable to be merged with bitstream (*.exo)
that is burned into flash memory in xess board
that is burned into flash memory in xess board
(type "../utils/merge2srec xfpga_top.exo minimad.s2" to get out.exo and then
(type "../utils/merge2srec xfpga_top.exo minimad.s2" to get out.exo and then
load this to xess board)
load this to xess board)
- minimad.mem : this file is used to initialize flash model for the RTL
- minimad.mem : this file is used to initialize flash model for the RTL
simulation (sim/ncsim/run/run_sim is expecting this file so you have to
simulation (sim/ncsim/run/run_sim is expecting this file so you have to
build this decoder before you run the simulation).
build this decoder before you run the simulation).
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.