URL
https://opencores.org/ocsvn/potato/potato/trunk
[/] [potato/] [trunk/] [example/] [README] - Diff between revs 8 and 12
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 8 |
Rev 12 |
Line 4... |
Line 4... |
processor. It has been tested using Vivado 2014.4.
|
processor. It has been tested using Vivado 2014.4.
|
|
|
## Quick Start
|
## Quick Start
|
|
|
In order to use the design, first import all source files from the folders
|
In order to use the design, first import all source files from the folders
|
`src/`, `soc/` and `example/` into your project.
|
`src/`, `soc/` and `example/` into your project. Make sure the testbench files
|
|
(the files starting with "tb_") is added as simulation-only files.
|
|
|
### Clocking
|
### Clocking
|
|
|
Then add a clock generator using the Clocking Wizard. To seamlessly integrate
|
Add a clock generator using the Clocking Wizard. To seamlessly integrate
|
it into the design, name it "clock_generator". Choose the following options:
|
it into the design, name it "clock_generator". Choose the following options:
|
|
|
* Frequency Synthesis
|
* Frequency Synthesis
|
* Safe Clock Startup
|
* Safe Clock Startup
|
|
|
Line 24... |
Line 25... |
|
|
Add a block RAM to use as instruction ROM using the Block Memory Generator.
|
Add a block RAM to use as instruction ROM using the Block Memory Generator.
|
Choose "Single Port ROM" as memory type, name it "instruction_rom" and set
|
Choose "Single Port ROM" as memory type, name it "instruction_rom" and set
|
port A width to 32 bits and port A depth to 2048. Initialize it with your
|
port A width to 32 bits and port A depth to 2048. Initialize it with your
|
application binary and, optionally, fill the remaining memory locations with
|
application binary and, optionally, fill the remaining memory locations with
|
0x00000013.
|
0x00000013 (no-operation opcode).
|
|
|
### Test it!
|
### Test it!
|
|
|
Now you can test it and hopefully it works :-)
|
Now you can test it and hopefully it works :-)
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.