自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 关于结构体内结构体成员的结构体指针初始化问题

结构体指针指的是指向某一被声明的结构体类型数据的指针,正如下文,首先定义了一个CircleLinkNode作为循环链表的节点,然后定义了一个结构体CircleLinkList作为循环链表。可以看到结构体CircleLinkNode本身实现了结构体嵌套,而结构体CircleLinkList实现了对结构体CircleLinkNode的引用,此处的引用是本次的聚焦点。在学习循环链表的时候,对结构体嵌套和函数体引用遇到了相关问题,那么对于定义的结构体内包含的结构体指针应该如何巧妙解决。

2023-04-03 23:01:28 380

原创 数据结构——单向链表的实现(C语言)

单向链表的实现(C语言)

2023-03-21 21:29:12 169

原创 HDLBits——Gates4

Resume:Build a combinational circuit with four inputs,in[3:0].There are 3 outputs:out_and: output of a 4-input AND gate. out_or: output of a 4-input OR gate. out_xor: output of a 4-input XOR gate.To review the AND, OR, and XOR operators, seeand...

2022-01-04 16:41:25 521

原创 HDLBits——Vector100r

Description:Given a 100-bit input vector [99:0], reverse its bit ordering.module top_module( input [99:0] in, output [99:0] out); genvar i; generate for(i=0; i<=99; i++) begin: looper assign out[i]

2022-01-04 15:53:08 366

原创 HDLBits——Vectorgates

Resume: Build a circuit that has two 3-bit inputs that computes the bitwise-OR of the two vectors, the logical-OR of the two vectors, and the inverse (NOT) of both vectors. Place the inverse of b in the upper half of out_not (i.e., bits [5:3]), and the inv

2022-01-02 22:32:44 318

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除