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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [docs/] [userguide/] [packaging_vivado.adoc] - Blame information for rev 69

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 69 zero_gravi
<<<
2
:sectnums:
3
== Packaging the Processor as IP block for Xilinx Vivado Block Designer
4
 
5
[start=1]
6
. Import all the core files from `rtl/core` (including default internal memory architectures from `rtl/core/mem`)
7
and assign them to a _new_ design library `neorv32`.
8
. Instantiate the `rtl/system_integration/neorv32_top_axi4lite.vhd` module.
9
. Then either directly use that module in a new block-design ("Create Block Design", right-click -> "Add Module",
10
thats easier for a first try) or package it ("Tools", "Create and Package new IP") for the use in other projects.
11
. Connect your AXI-peripheral directly to the core's AXI4-Interface if you only have one, or to an AXI-Interconnect
12
(from the IP-catalog) if you have multiple peripherals.
13
. Connect ALL the `ACLK` and `ARESETN` pins of all peripherals and interconnects to the processor's clock and reset
14
signals to have a _unified_ clock and reset domain (easier for a first setup).
15
. Open the "Address Editor" tab and let Vivado assign the base-addresses for the AXI-peripherals (you can modify them
16
according to your needs).
17
. For all FPGA-external signals (like UART signals) make all the connections you need "external"
18
(right-click on the signal/pin -> "Make External").
19
. Save everything, let VIVADO create a HDL-Wrapper for the block-design and choose this as your _Top Level Design_.
20
. Define your constraints and generate your bitstream.
21
 
22
.True Random Number Generator
23
[IMPORTANT]
24
The NEORV32 TRNG peripheral is enabled by default in the `neorv32_top_axi4lite` AXI wrapper. Otherwise, Vivado
25
cannot insert the wrapper into a block design (see https://github.com/stnolting/neorv32/issues/227.).
26
footnote:[Seems like Vivado has problem evaluating design source files that have more than two in-file sub-entities.]
27
If the TRNG is not needed, you can disable it by double-clicking on the module's block and de-selecting
28
"Io Trng En" after inserting the module.
29
 
30
.TWI Tri-State Drivers
31
[IMPORTANT]
32
Set the synthesis option "global" when generating the block design to maintain the internal TWI tri-state drivers.
33
 
34
[NOTE]
35
Guide provided by GitHub user https://github.com/AWenzel83[`AWenzel83`] (see
36
https://github.com/stnolting/neorv32/discussions/52#discussioncomment-819013). ❤️

powered by: WebSVN 2.1.0

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