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

Subversion Repositories wbuart32

[/] [wbuart32/] [trunk/] [bench/] [cpp/] [linetest.cpp] - Diff between revs 5 and 15

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 5 Rev 15
Line 61... Line 61...
        Verilated::commandArgs(argc, argv);
        Verilated::commandArgs(argc, argv);
        Vlinetest       tb;
        Vlinetest       tb;
        UARTSIM         *uart;
        UARTSIM         *uart;
        bool            run_interactively = false;
        bool            run_interactively = false;
        int             port = 0;
        int             port = 0;
        unsigned        setup = 25;
        unsigned        setup = 868;
        char string[] = "This is a UART testing string\r\n";
        char string[] = "This is a UART testing string\r\n";
 
 
        for(int argn=1; argn<argc; argn++) {
        for(int argn=1; argn<argc; argn++) {
                if (argv[argn][0] == '-') for(int j=1; (j<1000)&&(argv[argn][j]); j++)
                if (argv[argn][0] == '-') for(int j=1; (j<1000)&&(argv[argn][j]); j++)
                switch(argv[argn][j]) {
                switch(argv[argn][j]) {

powered by: WebSVN 2.1.0

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