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

Subversion Repositories aor3000

[/] [aor3000/] [trunk/] [sim/] [tester/] [test_other.cpp] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 alfik
/*
2
 * This file is subject to the terms and conditions of the BSD License. See
3
 * the file "LICENSE" in the main directory of this archive for more details.
4
 *
5
 * Copyright (C) 2014 Aleksander Osman
6
 */
7
 
8
#include <cstdio>
9
#include <cstdlib>
10
 
11
#include "tests.h"
12
 
13
//------------------------------------------------------------------------------
14
 
15
uint32 rand_uint32() {
16
    return ((rand() & 0xFFFF) << 16) | (rand() & 0xFFFF);
17
}
18
 
19
//------------------------------------------------------------------------------
20
 
21
//------------------------------------------------------------------------------
22
 
23
//------------------------------------------------------------------------------

powered by: WebSVN 2.1.0

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