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

Subversion Repositories minsoc

[/] [minsoc/] [branches/] [rc-1.0/] [backend/] [std/] [minsoc_bench_defines.v] - Blame information for rev 58

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

Line No. Rev Author Line
1 2 rfajardo
 
2
`timescale 1ns/100ps
3
 
4
//set RTL for simulation, override FPGA specific definitions (JTAG TAP, MEMORY and CLOCK DIVIDER)
5
`define GENERIC_FPGA
6 28 rfajardo
`define NO_CLOCK_DIVISION   //if commented out, generic clock division is implemented (odd divisors are rounded down)
7 58 rfajardo
`undef NEGATIVE_RESET
8 7 rfajardo
`define POSITIVE_RESET
9 2 rfajardo
//~set RTL for simulation, override FPGA specific definitions (JTAG TAP, MEMORY and CLOCK DIVIDER)
10
 
11 28 rfajardo
`define FREQ_NUM_FOR_NS 1000000000
12
 
13 2 rfajardo
`define FREQ 25000000
14 28 rfajardo
`define CLK_PERIOD (`FREQ_NUM_FOR_NS/`FREQ)
15 2 rfajardo
 
16 17 rfajardo
`define ETH_PHY_FREQ  25000000
17 28 rfajardo
`define ETH_PHY_PERIOD  (`FREQ_NUM_FOR_NS/`ETH_PHY_FREQ)    //40ns
18 2 rfajardo
 
19
`define UART_BAUDRATE 115200
20
 
21 17 rfajardo
`define VPI_DEBUG
22
 
23 2 rfajardo
//`define VCD_OUTPUT
24
 
25
//`define START_UP                                              //pass firmware over spi to or1k_startup
26
 
27
`define INITIALIZE_MEMORY_MODEL                 //instantaneously initialize memory model with firmware
28
                                                                                //only use with the memory model (it is safe to 
29
                                                                                //comment this and include the original memory instead)

powered by: WebSVN 2.1.0

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