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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [backend/] [std/] [minsoc_bench_defines.v] - Blame information for rev 82

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

Line No. Rev Author Line
1 2 rfajardo
//set RTL for simulation, override FPGA specific definitions (JTAG TAP, MEMORY and CLOCK DIVIDER)
2
`define GENERIC_FPGA
3 60 rfajardo
`define MEMORY_MODEL        //simulation uses a memory model enabling INITIALIZE_MEMORY_MODEL. If you comment this, START_UP might be interesting.
4 28 rfajardo
`define NO_CLOCK_DIVISION   //if commented out, generic clock division is implemented (odd divisors are rounded down)
5 2 rfajardo
//~set RTL for simulation, override FPGA specific definitions (JTAG TAP, MEMORY and CLOCK DIVIDER)
6
 
7 28 rfajardo
`define FREQ_NUM_FOR_NS 1000000000
8
 
9 2 rfajardo
`define FREQ 25000000
10 28 rfajardo
`define CLK_PERIOD (`FREQ_NUM_FOR_NS/`FREQ)
11 2 rfajardo
 
12 17 rfajardo
`define ETH_PHY_FREQ  25000000
13 28 rfajardo
`define ETH_PHY_PERIOD  (`FREQ_NUM_FOR_NS/`ETH_PHY_FREQ)    //40ns
14 2 rfajardo
 
15 69 rfajardo
`define UART_BAUDRATE 115200
16 2 rfajardo
 
17 17 rfajardo
`define VPI_DEBUG
18
 
19 2 rfajardo
//`define VCD_OUTPUT
20
 
21
//`define START_UP                                              //pass firmware over spi to or1k_startup
22
 
23
`define INITIALIZE_MEMORY_MODEL                 //instantaneously initialize memory model with firmware
24 64 rfajardo
                                                                                //only use with the memory model. 
25
                                        //If you use the original memory (`define MEMORY_MODEL 
26
                                        //commented out), comment this too.

powered by: WebSVN 2.1.0

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