si-riscv / hbird-e-sdk Goto Github PK
View Code? Open in Web Editor NEWDeprecated, please go to https://github.com/riscv-mcu/hbird-sdk/
Home Page: https://github.com/riscv-mcu/hbird-sdk/
License: Other
Deprecated, please go to https://github.com/riscv-mcu/hbird-sdk/
Home Page: https://github.com/riscv-mcu/hbird-sdk/
License: Other
详细情况请见risc-v社区 ,最初发现者为卢吉凯。
硬件平台为arty a7,我们给E203添加了一个以太网外设,按照顺序把中断源设置为53号,可是发现外设的确产生了中断信号(边沿),可是plic模块的plic_ext_irq并没有被拉高。
担心是由于添加中断的时候plic模块的修改有问题,我们直接把52号中断(IIC),接到了以太网外设的中断信号上,发现plic模块的plic_ext_irq还是没有被拉高。
我们在对应的c程序中读了一下发现,虽然我们调用了中断使能函数,可是读回来的plic对应中断源的中断使能寄存器还是0。
在卢吉凯的帮助下,发现这里的使能和plic_man.v中的硬件设计不匹配。plic_man中的中断源地址是32位对齐的,而这里的设置却采用8位对齐。
void PLIC_enable_interrupt (plic_instance_t * this_plic, plic_source source){
unsigned long hart_id = read_csr(mhartid);
volatile uint8_t * current_ptr = (volatile uint8_t *)(this_plic->base_addr +
PLIC_ENABLE_OFFSET +
(hart_id << PLIC_ENABLE_SHIFT_PER_TARGET) +
(source >> 3));
uint8_t current = *current_ptr;
current = current | ( 1 << (source & 0x7));
*current_ptr = current;
}
请问prebuilt_tools https://pan.baidu.com/s/1eUbBlVc 已经不能连结了, 是否有更新连结的地址呢?
「hbird-e-sdk/prebuilt_tools/README.md」提供的網路路徑「https://pan.baidu.com/s/1eUbBlVc」,無法連上,請問可否更新。
亲爱的开发者:
您好!
首先,我为在这里写这封信而感到抱歉,但是我们实在不知道要怎么联系你们,写给胡老师邮箱的信也一直没有收到回复。
我是**科学技术大学嵌入式实验室的研究生。目前我们实验室对RISC-V处理器比较感兴趣,因此组成了一个小组(四人)来研究学习一下。我们选定了国内的开源e200_opensource来作为研究对象,并且希望能在其中加入协处理器模块。我们每人都买了您所著的《手把手教你设计CPU---RISC_V处理器》,并且已经对照上边进行了大约四个周的学习。然而我们发现e200_opensource里,协处理器以及它的通信模块EAI都是缺省的,这使得我们难以开展下一步学习计划。
由于我们都是研一的新生,之前也没有接触过这方面的内容,水平有限,因此我们诚挚地希望您能提供协处理器EAI的相关代码。如果方便的话,也希望能提供协处理器的源码,这将对我们有巨大的指导作用。
十分感谢您能阅读这封信,我保证以上信息都是真实有效的,我们希望能得到您的帮助!以下是我的联系方式:[email protected],十分希望能收到您的回信!
祝好。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.