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

Subversion Repositories potato

[/] [potato/] [trunk/] [example/] [README] - Blame information for rev 23

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 skordal
# Demo design for the Nexys 4 board
2
 
3
This folder contains a design for a simple demo design using the Potato
4
processor. It has been tested using Vivado 2014.4.
5
 
6
## Quick Start
7
 
8
In order to use the design, first import all source files from the folders
9 12 skordal
`src/`, `soc/` and `example/` into your project. Make sure the testbench files
10
(the files starting with "tb_") is added as simulation-only files.
11 7 skordal
 
12
### Clocking
13
 
14 12 skordal
Add a clock generator using the Clocking Wizard. To seamlessly integrate
15 7 skordal
it into the design, name it "clock_generator". Choose the following options:
16
 
17
* Frequency Synthesis
18
* Safe Clock Startup
19
 
20 21 skordal
Set up two output clocks, `clk_out1` with frequency 60 MHz, and `clk_out2` with
21 7 skordal
a frequency of 10 MHz. Rename the corresponding ports to `system_clk` and
22
`timer_clk` respectively. Name the input clock `clk`.
23
 
24
### Instruction memory
25
 
26
Add a block RAM to use as instruction ROM using the Block Memory Generator.
27 8 skordal
Choose "Single Port ROM" as memory type, name it "instruction_rom" and set
28
port A width to 32 bits and port A depth to 2048. Initialize it with your
29
application binary and, optionally, fill the remaining memory locations with
30 12 skordal
0x00000013 (no-operation opcode).
31 7 skordal
 
32
### Test it!
33
 
34
Now you can test it and hopefully it works :-)
35
 

powered by: WebSVN 2.1.0

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