Contributed by < kk908676 >
Continued from @cychen hugo0406 :
Linux 核心專題: Running Linux 6.10 on stm32f429
STM32F429i-Discovery
STM32F429 MCU (ARM Cortex-M4 up to 180MHz, 2MB internal flash, 256KB internal RAM)
8MB SDRAM
USB OTG Full-Speed
2.4" LCD
contributed by kk908676
Data encryption using CLZ
In order to ensure the security of data, data encryption is indispensable. This method uses CLZ as the basis of encryption and uses the XOR method.
C code
#include <stdio.h>
#include <stdint.h>
/* Counting leading zeros function */
Quiz4 of Computer Architecture (2023 Fall)
Solutions
Problem A
Take a look at the circuit diagram provided below, along with the associated delays of its components:
component
delays
$t_{AND}$
contributed by kk908676
Environment
1. Install sbt
Follow the instructions from here
2. Install Java (If you have not downloaded before)
$sudo apt install default-jdk
3. Install the dependent packages
$ sudo apt install build-essential verilator gtkwave
contributed by kk908676
Question Selection
I refer to the Find First String of 1-bits of a Given Length by CLZ from 林柏全
The following is the source code:
#include <stdint.h>
#include <stdio.h>
Jim Huang changed 2 years agoView mode Like Bookmark