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

Subversion Repositories simple_customized_counter

[/] [simple_customized_counter/] [trunk/] [TestCounterOprEventAPI/] [CppCode/] [TestProject/] [TestProject.cpp] - Diff between revs 37 and 66

Show entire file | Details | Blame | View Log

Rev 37 Rev 66
Line 30... Line 30...
    // Infinite loop, until quit 
    // Infinite loop, until quit 
    while(true)
    while(true)
    {
    {
        // Print options
        // Print options
        system("cls");
        system("cls");
        cout << "1 - (R)eset\n";
        cout << "1 - Reset\n";
        cout << "2 - (U)p\n";
        cout << "2 - Up\n";
        cout << "3 - (D)own\n";
        cout << "3 - Down\n";
        cout << "4 - (L)oad\n";
        cout << "4 - Load\n";
        cout << "    Load Value: " << iLoadValue << endl << endl;
        cout << "    Load Value: " << iLoadValue << endl << endl;
        cout << "q - (Q)uit\n\n";
        cout << "q - Quit\n\n";
        cout << "Counter value " << Value << endl << endl;
        cout << "Counter value " << Value << endl << endl;
        cout << "Select operation: ";
        cout << "Select operation: ";
 
 
        cin >> chKey;
        cin >> chKey;
 
 

powered by: WebSVN 2.1.0

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