URL
https://opencores.org/ocsvn/or1k_old/or1k_old/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
782 |
lampret |
This is MP3 decoder for OpenRISC configured for the xess board.
|
2 |
|
|
|
3 |
|
|
Make the mp3 player with:
|
4 |
|
|
|
5 |
|
|
./makes2 songs/Beethoven-fuer_elise-16.mp3 songs/Moonlight-16.mp3
|
6 |
|
|
|
7 |
|
|
This should build mp3 decoder for or32 and also put these two
|
8 |
|
|
songs in the memory image.
|
9 |
|
|
|
10 |
|
|
You get three outputs:
|
11 |
|
|
|
12 |
|
|
- minimad : this is executable in COFF binary format that you can use
|
13 |
|
|
on the simulator (type "sim minimad", uncomment the OR1K_SIM define
|
14 |
|
|
in config.h to get PCM output in a file audiosim.pcm, which you can hear
|
15 |
|
|
using command "play -t raw -r 22050 -s w -f s -c 2 audiosim.pcm")
|
16 |
|
|
|
17 |
|
|
- minimad.s2 : this is srecord siutable to be merged with bitstream (*.exo)
|
18 |
|
|
that is burned into flash memory in xess board
|
19 |
|
|
(type "../utils/merge2srec xfpga_top.exo minimad.s2" to get out.exo and then
|
20 |
|
|
load this to xess board)
|
21 |
|
|
|
22 |
|
|
- minimad.mem : this file is used to initialize flash model for the RTL
|
23 |
|
|
simulation (sim/ncsim/run/run_sim is expecting this file so you have to
|
24 |
|
|
build this decoder before you run the simulation).
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.