Projects/2BIT/winter-semester/INP1/log.txt
2026-04-14 19:28:46 +02:00

106 lines
11 KiB
Text

/usr/local/share/ghdl/bin/ghdl -i --ieee=synopsys -fexplicit --workdir=build --work=work ../src/cpu.vhd
/usr/local/share/ghdl/bin/ghdl -m --ieee=synopsys -fexplicit --workdir=build -Pbuild --work=work cpu
/usr/local/share/ghdl/bin/ghdl -r --ieee=synopsys -fexplicit --workdir=build -Pbuild --work=work cpu --vpi=/homes/eva/xn/xnecasr00/inp24-projekt1/env/lib/python3.8/site-packages/cocotb/libs/libcocotbvpi_ghdl.so --wave=build/wave.ghw
-.--ns INFO gpi ..mbed/gpi_embed.cpp:109 in set_program_name_in_venv Using Python virtual environment interpreter at /homes/eva/xn/xnecasr00/inp24-projekt1/env/bin/python
-.--ns INFO gpi ../gpi/GpiCommon.cpp:101 in gpi_print_registered_impl VPI registered
0.00ns INFO cocotb Running on GHDL version 2.0.0 (tarball) [Dunoon edition]
0.00ns INFO cocotb Running tests with cocotb v1.7.1 from /homes/eva/xn/xnecasr00/inp24-projekt1/env/lib/python3.8/site-packages/cocotb
0.00ns INFO cocotb Seeding Python random module with 1729847958
0.00ns INFO cocotb.hexdigest lib: 47382bf4ccf309a0c56cb33a5e15d78e
0.00ns INFO cocotb.regression Found test cpu.test_reset
0.00ns INFO cocotb.regression Found test cpu.test_init
0.00ns INFO cocotb.regression Found test cpu.test_increment
0.00ns INFO cocotb.regression Found test cpu.test_decrement
0.00ns INFO cocotb.regression Found test cpu.test_move
0.00ns INFO cocotb.regression Found test cpu.test_print
0.00ns INFO cocotb.regression Found test cpu.test_input
0.00ns INFO cocotb.regression Found test cpu.test_while_loop
0.00ns INFO cocotb.regression Found test cpu.test_tmp
0.00ns INFO cocotb.regression Found test cpu.test_login_xnecasr00
0.00ns INFO cocotb.regression Found test cpu.test_printf
0.00ns INFO cocotb.regression running test_reset (1/11)
0.00ns INFO cocotb.hexdigest test: d7d420db3f09a47d86315431cb616d10
51.00ns INFO cocotb.regression test_reset passed
51.00ns INFO cocotb.regression running test_init (2/11)
Procesor initialization test
51.00ns INFO cocotb.hexdigest test: 7ddc67b5815aca97487ddb63b8cdc16f
52.00ns INFO cocotb.hexdigest code: 420cd9f16e90b08dbdf5195fdd9d0f62 len: 1
171.00ns INFO cocotb.hexdigest result: 420cd9f16e90b08dbdf5195fdd9d0f62
171.00ns INFO cocotb.regression test_init passed
171.00ns INFO cocotb.regression running test_increment (3/11)
Increment value of the first memory cell, i.e. *ptr++
171.00ns INFO cocotb.hexdigest test: 60dfe4add2b9271d898d25ac5ee14bbf
172.00ns INFO cocotb.hexdigest code: 83fdb8859bf9b7036a839b918e308b60 len: 4
501.00ns INFO cocotb.hexdigest result: 08a9e9c47976e0116dfa992853b8e023
501.00ns INFO cocotb.regression test_increment passed
501.00ns INFO cocotb.regression running test_decrement (4/11)
Decrement value of the first memory cell, i.e. *ptr--
501.00ns INFO cocotb.hexdigest test: 53a89f9741d6b8d1e5add41795ddb5c4
502.00ns INFO cocotb.hexdigest code: 0772f54a199d95c25fff832f480c9d84 len: 4
831.00ns INFO cocotb.hexdigest result: cd6b8633aedcb944cec479ecee67bfa8
831.00ns INFO cocotb.regression test_decrement passed
831.00ns INFO cocotb.regression running test_move (5/11)
Move the pointer to the next cell and increment its value
831.00ns INFO cocotb.hexdigest test: fb6cba85ed89649a4d9f60657e04c871
832.00ns INFO cocotb.hexdigest code: 7c1cd3f96fc2c2ff2e089c27cfda24b6 len: 3
1071.00ns INFO cocotb.hexdigest result: 7efbf0ee85c154b96298cc5edbbd2370
1071.00ns INFO cocotb.regression test_move passed
1071.00ns INFO cocotb.regression running test_print (6/11)
Print data to the output, i.e. putchar(*ptr)
1071.00ns INFO cocotb.hexdigest test: 7e4f654ca78b6a82f8e9d0ae2b58e54d
1072.00ns INFO cocotb.hexdigest code: b265746fe722436c7a1a1d8de199b058 len: 4
2331.00ns INFO cocotb.hexdigest result: b265746fe722436c7a1a1d8de199b058
2331.00ns INFO cocotb.regression test_print passed
2331.00ns INFO cocotb.regression running test_input (7/11)
Load data from the input, i.e. *ptr=getchar()
2331.00ns INFO cocotb.hexdigest test: 029d6a5fe7100a0f3c588ee18b3a1e54
2332.00ns INFO cocotb.hexdigest code: d3fac245532f03964cd19007b2032729 len: 4
3591.00ns INFO cocotb.hexdigest result: 2ed967e2be16e52843468f1408cb360b
3592.00ns INFO cocotb.hexdigest code: d3fac245532f03964cd19007b2032729 len: 4
4851.00ns INFO cocotb.hexdigest result: e816e9d618b24eaf2f916252df61b844
4851.00ns INFO cocotb.regression test_input passed
4851.00ns INFO cocotb.regression running test_while_loop (8/11)
Simple while loop test
4851.00ns INFO cocotb.hexdigest test: b6bcfa49e2ccdf738e216d68dd13d1f7
4852.00ns INFO cocotb.hexdigest code: dc8bee53ab9c57eaa957fd0fe2002e38 len: 5
6281.00ns INFO cocotb.hexdigest result: c5c20856db594032a8e2bc7a51242fe0
6281.00ns INFO cocotb.regression test_while_loop passed
6281.00ns INFO cocotb.regression running test_tmp (9/11)
Simple temp register test
6281.00ns INFO cocotb.hexdigest test: c9565eea230ea05b373334fc80ff2bf7
6282.00ns INFO cocotb.hexdigest code: 77503a20e66588894e22aab0fb92677f len: 6
6711.00ns INFO cocotb.hexdigest result: 77503a20e66588894e22aab0fb92677f
6711.00ns INFO cocotb.regression test_tmp passed
6711.00ns INFO cocotb.regression running test_login_xnecasr00 (10/11)
Executes program in login.b file
6711.00ns INFO cocotb.hexdigest test: 8a793e69d5861a222f94a0d67683a17e
6712.00ns INFO cocotb.hexdigest code: 1a14ec0ba5305eff4ca0efe7efbf87d0 len: 124
48431.00ns INFO cocotb.hexdigest result: 7085d40a64a63374233afbba3505a4e9
48431.00ns INFO cocotb.regression test_login_xnecasr00 passed
48431.00ns INFO cocotb.regression running test_printf (11/11)
Program which emulates printing of %d
48431.00ns INFO cocotb.hexdigest test: c8c0607159ce86bd73eefc16718ea879
48432.00ns INFO cocotb.hexdigest code: 9fc8c0e3deed36e0cb53e5933e2d28ef len: 179
525401.00ns DEBUG cocotb.lcd Characters written to LCD: '1'
532061.00ns DEBUG cocotb.lcd Characters written to LCD: '12'
538851.00ns DEBUG cocotb.lcd Characters written to LCD: '123'
545641.00ns INFO cocotb.hexdigest result: 600c85f9643af4a10981f2423c499034
545641.00ns INFO cocotb.regression test_printf passed
545641.00ns INFO cocotb.regression ****************************************************************************************
** TEST STATUS SIM TIME (ns) REAL TIME (s) RATIO (ns/s) **
****************************************************************************************
** cpu.test_reset PASS 51.00 0.00 17075.88 **
** cpu.test_init PASS 120.00 0.01 14236.88 **
** cpu.test_increment PASS 330.00 0.02 19868.80 **
** cpu.test_decrement PASS 330.00 0.02 19853.70 **
** cpu.test_move PASS 240.00 0.01 18900.36 **
** cpu.test_print PASS 1260.00 0.05 27257.37 **
** cpu.test_input PASS 2520.00 0.10 24979.61 **
** cpu.test_while_loop PASS 1430.00 0.05 26298.65 **
** cpu.test_tmp PASS 430.00 0.02 20821.41 **
** cpu.test_login_xnecasr00 PASS 41720.00 1.46 28488.86 **
** cpu.test_printf PASS 497210.00 16.28 30549.51 **
****************************************************************************************
** TESTS=11 PASS=11 FAIL=0 SKIP=0 545641.00 18.27 29857.46 **
****************************************************************************************