Files
chipyard/tests/hello.c
2024-03-13 14:15:33 -07:00

12 lines
257 B
C

#include <stdio.h>
#include <riscv-pk/encoding.h>
#include "marchid.h"
#include <stdint.h>
int main(void) {
uint64_t marchid = read_csr(marchid);
const char* march = get_march(marchid);
printf("Hello world from core 0, a %s\n", march);
return 0;
}