摘要: 2026.6.11 1.仿真库是什么? 用modelsim对vivado工程中使用的IP或者原语进行仿真,需要模拟真实的硬件环境,或者IP还会调用其他的一些库,这个时候需要仿真库。 2.仿真库如何生成? [1] 新建vivado工程 [2] 选择Tools,点击编译仿真库 [3] 仿真库设置 fam 阅读全文
posted @ 2026-07-08 17:00 火炎焱大兔汁 阅读(14) 评论(0) 推荐(0)
摘要: 1.https://mp.weixin.qq.com/s/s8nPZ3V3E_oqg8R_RmT0Ww 阅读全文
posted @ 2026-06-10 13:04 火炎焱大兔汁 阅读(9) 评论(0) 推荐(0)
摘要: struct S { int n; int arr[];//柔性数组成员 }; int main() { //柔性数组的使用 struct S * ps =(struct S*)malloc(sizeof(struct S)+40); if (ps == NULL) { return 1; } ps 阅读全文
posted @ 2026-06-02 10:46 火炎焱大兔汁 阅读(12) 评论(0) 推荐(0)
摘要: //用C语言实现一个通讯录 //包括:test.c,contact.c,contact.h test.c #define _CRT_SECURE_NO_WARNINGS #include "contact.h" //1.静态版本 enum Option { EXIT, ADD, DEL, REARC 阅读全文
posted @ 2026-05-13 11:58 火炎焱大兔汁 阅读(13) 评论(0) 推荐(0)
摘要: //strtok //切割字符串 int main() { const char* sep = "@."; char email[] = "bilibili@bitjiuyeke.com.cn"; char cp[40] = { 0 }; strcpy(cp,email); char* ret = 阅读全文
posted @ 2026-05-10 15:24 火炎焱大兔汁 阅读(9) 评论(0) 推荐(0)
摘要: //字符串追加 int main() { char arr1[20] = "hello "; strcat(arr1,"world"); printf("%s\n",arr1); return 0; } //模拟字符串追加 #include<assert.h> char* my_strcat(cha 阅读全文
posted @ 2026-05-09 13:29 火炎焱大兔汁 阅读(9) 评论(0) 推荐(0)
摘要: 模拟实现 strcpy //模拟实现 strcpy #include<assert.h> char * my_strcpy(char *dest,const char *src) { assert(dest && src); char* ret = dest; while (*src != '\0' 阅读全文
posted @ 2026-05-09 12:01 火炎焱大兔汁 阅读(11) 评论(0) 推荐(0)
摘要: 项目介绍:爬取网易云音乐歌曲数据 平台:python+pycharm URL = 'https://v2-zj-sccm.kwaicdn.com/bs2/photo-video-mz/5215168559178136891_2fc27dfcc087ab13_4842_hd15.mp4?tag=1-1 阅读全文
posted @ 2026-05-08 15:46 火炎焱大兔汁 阅读(23) 评论(0) 推荐(0)
摘要: python基础语法 变量与数据类型 运算符 条件语句(If/else) 循环(for/while) 函数定义 列表/字典等基本数据结构 学习资料: python3 廖雪峰 https://liaoxuefeng.com/index.html?src=redirect 2026-05-07 16:0 阅读全文
posted @ 2026-05-07 16:07 火炎焱大兔汁 阅读(7) 评论(0) 推荐(0)
摘要: 1.打印 格式:print('') 如果要让Python打印出指定的文字,可以用print()函数,然后把希望打印的文字用单引号或者双引号括起来,但不能混用单引号和双引号: print('hello, world') hello, world 阅读全文
posted @ 2026-05-07 10:33 火炎焱大兔汁 阅读(7) 评论(0) 推荐(0)