Commits on Source (47)
-
Pavel Pisa authored
seminaries/qtmips/qtmips/uart-calc-add: task to receive two decimal numbers from UART and send sum in decimal to the UART. Implement receive, add and print functions and place C language source file on path work/uart-calc-add/uart-calc-add.c To run the code in qtmips_cli, the serial port to file redirection is required. Commit qtmips_cli: add option to connect serial port input and output to file. https://github.com/cvut/QtMips/commit/597c9271608c3d30ce193b96be3fe82966e4cc1d qtmips_gui implement required functionality for lonag time already. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
e8cc5155 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
f013d0b7 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
b9f79ba1 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
ad1af058 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
e9f366b9 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
a04eb064 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
31956cfc -
Pavel Pisa authored
seminaries/mzapo/lcd/mzapo_lcdip: fix initial IP address value to indicate when no address is offered. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
017a75cf -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
0a181b66 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
0c81312d -
Pavel Pisa authored
The Computer Architectures course pages https://cw.fel.cvut.cz/wiki/courses/b35apo/start RISC-V CPU simulator for education purposes https://github.com/cvut/qtrvsim Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
a2198652 -
Pavel Pisa authored
The actual riscv64-unknown-elf toolchain setup on the k13135 diskless does provide stdint.h header file so the uint32_t is hardcodded. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
39958c61 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
d5b40c3a -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
7f84aecd -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
eb5a7477 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
da59f358 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
b3619316 -
Pavel Pisa authored
The libgcc provides helper functions as __mulsi3 which are necessary for limited rv32i instruction set to allow complete C operators and floats use. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
f9d19f04 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
8cff9743 -
Pavel Pisa authored
The directory contain seminaries/qtrvsim/buble-sort/bubble-sort-template.S file. The whole directory or only only this file should appear in the directory work/bubble-sort/bubble-sort.S and changes should be sent to your repository. We are working on automation process for the testing. Expect more instructions. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
eab53360 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
323a6cf7 -
Pavel Pisa authored
The forth B35APO tutorial focused on the cache operation https://cw.fel.cvut.cz/wiki/courses/b35apo/en/tutorials/04/start Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
4b5c825f -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
693c32da -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
828177ed -
Dupák, Jakub authored5d6ba983
-
Pavel Pisa authored
lw-hazards.S: fix register notation in lw See merge request b35apo/stud-support!2
0b627b83 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
c3121488 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
91de9931 -
Pavel Pisa authored
seminaries/qtrvsim/fibo-hazards: remove warning notice, set no hazard unit is already possible in CLI. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
eca5c0f1 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
78b054c1 -
Pavel Pisa authored
seminaries/qtrvsim/uart-calc-add: task to receive two decimal numbers from UART and send sum in decimal to the UART. Implement receive, add and print functions and place C language source file on path work/uart-calc-add/uart-calc-add.c To run the code in qtrvsim_cli, the serial port to file redirection can be used, see the Makefile. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
a2e24d91 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
f6124d88 -
Pavel Pisa authored
Functional in with user QEMU for 32 or even 64-bit build on GNU{Linux system. printf() works on qtrvsim_gui but actual malloc/sbrk code does not. qtrvsim_cli missing system-calls support at all. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
13933f9f -
Pavel Pisa authored
This allows to compile and run on Linux kernel even binaries even binaries linked even with C library build for embedded targets (bare metal riscv32-unknown-elf or riscv64-unknown-elf NewLib is usable then). Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
d5ad39f4 -
Pavel Pisa authored
The build supports native run as well as static builds for multiple architectures supported by GNU/Linux system which can be run on corresponding target system and or by user-space QEMU emulation under GNU/Linux. riscv and mips targest use special local minimal low level system mapping library for NewLib libc which allows to run these minimal binaries not only on apropriate GNU/Linux systems but even under QtRvSim and QtMips emulators https://comparch.edu.cvut.cz/ Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
11051dd4 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
0f123b38 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
2318893d -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
8d49fc09 -
Pavel Pisa authored
lec10-05-call-10args.S Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
92d521c1 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
087c80be -
Pavel Pisa authored
The IRQ example work with irq-support branch of QtRvSim now. Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
ba7bcaad -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
d4430035 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
aea5b42f -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
17c5e934 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
acb7b0a7 -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
a6abe77e -
Pavel Pisa authored
Signed-off-by:
Pavel Pisa <pisa@cmp.felk.cvut.cz>
53c684c0
Showing
- seminaries/binrep/qtrvsim_binrep/.gitignore 3 additions, 0 deletionsseminaries/binrep/qtrvsim_binrep/.gitignore
- seminaries/binrep/qtrvsim_binrep/Makefile 80 additions, 0 deletionsseminaries/binrep/qtrvsim_binrep/Makefile
- seminaries/binrep/qtrvsim_binrep/crt0local.S 35 additions, 0 deletionsseminaries/binrep/qtrvsim_binrep/crt0local.S
- seminaries/binrep/qtrvsim_binrep/qtrvsim_binrep.c 183 additions, 0 deletionsseminaries/binrep/qtrvsim_binrep/qtrvsim_binrep.c
- seminaries/hello-apo/.gitignore 9 additions, 0 deletionsseminaries/hello-apo/.gitignore
- seminaries/hello-apo/Makefile 109 additions, 0 deletionsseminaries/hello-apo/Makefile
- seminaries/hello-apo/hello-apo.c 25 additions, 0 deletionsseminaries/hello-apo/hello-apo.c
- seminaries/hello-apo/sys-qtmips/crt0local.S 47 additions, 0 deletionsseminaries/hello-apo/sys-qtmips/crt0local.S
- seminaries/hello-apo/sys-qtmips/qtmips_sys_stub.c 436 additions, 0 deletionsseminaries/hello-apo/sys-qtmips/qtmips_sys_stub.c
- seminaries/hello-apo/sys-qtmips/qtmips_unistd.h 29 additions, 0 deletionsseminaries/hello-apo/sys-qtmips/qtmips_unistd.h
- seminaries/hello-apo/sys-qtrvsim/crt0local.S 37 additions, 0 deletionsseminaries/hello-apo/sys-qtrvsim/crt0local.S
- seminaries/hello-apo/sys-qtrvsim/qtrvsim_sys_stub.c 502 additions, 0 deletionsseminaries/hello-apo/sys-qtrvsim/qtrvsim_sys_stub.c
- seminaries/hello-apo/sys-qtrvsim/qtrvsim_unistd.h 29 additions, 0 deletionsseminaries/hello-apo/sys-qtrvsim/qtrvsim_unistd.h
- seminaries/mzapo/lcd/mzapo_lcdip/mzapo_lcdip.c 95 additions, 3 deletionsseminaries/mzapo/lcd/mzapo_lcdip/mzapo_lcdip.c
- seminaries/qtmips/bubble-sort/.gitignore 0 additions, 0 deletionsseminaries/qtmips/bubble-sort/.gitignore
- seminaries/qtmips/bubble-sort/Makefile 0 additions, 0 deletionsseminaries/qtmips/bubble-sort/Makefile
- seminaries/qtmips/bubble-sort/array_data.in 0 additions, 0 deletionsseminaries/qtmips/bubble-sort/array_data.in
- seminaries/qtmips/bubble-sort/bubble-sort-template.S 0 additions, 0 deletionsseminaries/qtmips/bubble-sort/bubble-sort-template.S
- seminaries/qtmips/call-syscall/lec10-01-call4-clobber.S 39 additions, 0 deletionsseminaries/qtmips/call-syscall/lec10-01-call4-clobber.S
- seminaries/qtmips/call-syscall/lec10-02-call4-save.S 43 additions, 0 deletionsseminaries/qtmips/call-syscall/lec10-02-call4-save.S
seminaries/binrep/qtrvsim_binrep/.gitignore
0 → 100644
seminaries/binrep/qtrvsim_binrep/Makefile
0 → 100644
seminaries/binrep/qtrvsim_binrep/crt0local.S
0 → 100644
seminaries/hello-apo/.gitignore
0 → 100644
seminaries/hello-apo/Makefile
0 → 100644
seminaries/hello-apo/hello-apo.c
0 → 100644
seminaries/hello-apo/sys-qtmips/crt0local.S
0 → 100644
seminaries/hello-apo/sys-qtrvsim/crt0local.S
0 → 100644
File moved