- 博客(14)
- 资源 (7)
- 收藏
- 关注
原创 怎样搭建用于RISCV的chipyard 环境
chipyard 的RISCV环境的集大成者平台: ubuntu 16.04资源: 代理 (源里有的库托管到了google)步骤:1.git clone https://github.com/ucb-bar/chipyard.git2. 运行scripts/ubuntu-req.sh 保证依赖库完整 这里如果python3.6 无法安装,可以跳过,直接用python3.5也是可以的。3. 设置git 的代理git config --global https.pr...
2020-06-04 20:05:41
4119
3
原创 [RISCV] gnu-mcu-eclipse for riscv 安装与配置
参考文档:https://gnu-mcu-eclipse.github.io/Step 1: java window :https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html linux (ubuntu) : su...
2019-04-16 11:01:55
2292
原创 ubuntu 配置 riscv rocket-chip
1. git clone https://github.com/freechipsproject/rocket-chip.git$ git clone https://github.com/ucb-bar/rocket-chip.git$ cd rocket-chip$ git submodule update --init2. 配置环境变量setenv RISCV "~...
2018-10-25 15:33:42
1199
原创 deeplearning.ai Neural Networks and Deep Learning 笔记
这里写代码片import numpy as npimport matplotlib.pyplot as pltimport h5pyimport scipyfrom PIL import Imagefrom scipy import ndimagefrom lr_utils import load_dataset%matplotlib inline# Loading the data
2017-09-27 14:06:59
307
原创 PYTHON3 SHA256
python3 实现的SHA256 算法算法原型参考: https://en.wikipedia.org/wiki/SHA-2import structdef out_hex(list1): for i in list1: print ("%08x" % i) print ("\n") def rotate_left(a,
2017-09-21 11:28:09
6271
原创 Python3 SM3 encoder
引用块内容 参考原始python 2 版本 http://co63oc.blog.51cto.com/904636/954086修改为python3 版本,主要区别是python2-3中struct.pack的返回值的类型不同,python3的返回为byte类型,python2为str 类型。import struct IV="7380166f 4914b2b9 172442d7 da
2017-09-21 11:16:36
2484
原创 python3 sm3 编码器
import struct IV="7380166f 4914b2b9 172442d7 da8a0600 a96f30bc 163138aa e38dee4d b0fb0e4e" IV = int(IV.replace(" ", ""), 16) a = [] for i in range(0, 8): a.append(0) a[i] = (
2017-09-21 10:58:50
1868
原创 excel 自动group脚本
Sub autogroup()Dim k With ActiveSheet.Outline .AutomaticStyles = False .SummaryRow = xlAbove .SummaryColumn = xlRight End With max_rows = ActiveSheet.Us
2017-07-26 17:34:41
729
转载 中断、异常、trap 的区别
【1】无论是中断,还是异常和陷阱,对应的处理函数,一般都可以称其为中断服务程序ISR, 都只是一个函数 具体函数里面要做什么事情,是由你写程序的人决定的。 【2】 比如中断中处理对应的事情,异常中自己决定如何响应出现的异常,陷阱中决定做什么事情。【3】 中断:是为了设备与CPU之间的通信。典型的有如服务请求,任务完成提醒
2017-05-19 14:39:00
973
转载 7个示例科普CPU Cache line
转载于http://coolshell.cn/articles/10249.htmlCPU cache一直是理解计算机体系架构的重要知识点,也是并发编程设计中的技术难点,而且相关参考资料如同过江之鲫,浩瀚繁星,阅之如临深渊,味同嚼蜡,三言两语难以入门。正好网上有人推荐了微软大牛Igor Ostrovsky一篇博文《漫游处理器缓存效应》,文章不仅仅用7个最简单的源码示例就将C
2017-03-22 16:21:46
498
转载 缓存一致性(Cache Coherency)入门
本文是RAD Game Tools程序员Fabian “ryg” Giesen在其博客上发表的《Cache coherency primer》一文的翻译,经作者许可分享至InfoQ中文站。该系列共有两篇,本文系第一篇。我计划写一些关于多核场景下数据组织的文章。写了第一篇,但我很快意识到有大量的基础知识我首先需要讲一下。在本文中,我就尝试阐述这些知识。缓存(Cache)本文是
2017-03-22 16:17:32
587
RISC-V-Reader-Chinese-v2p1.zip
2019-09-05
Topweaver Anydivider 1.1
2008-10-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人