为您找到约 150 条结果,搜索耗时:0.0029秒

停车场系统的Verilog代码

... state  always @(posedge clk or negedge reset_n)  begin  if(~reset_n)  current_state = IDLE;  else  current_state = next_state;  end  // counter_wait  always @(posedge clk or negedge reset_n)  begin  if(~reset_n)  counter_wai...

Linux驱动学习

....h> #include <asm/uaccess.h> #include "ldd.h" #include "globalfifo.h" static int globalfifo_major = GLOBALFIFO_MAJOR; static struct globalfifo_dev *globalfifo_devp; static int globalfifo_open(struct inode *inodep, struct file *filp) {     filp->private_data = conta...

awk sed 大全

...“head”的行为)sed ‘10q’passwdawk 'NR<11' passwdawk '{print;if(NR==10)exit}' passwd 6.显示文件中的第10行 sed -n '10p' passwdawk 'NR==10' passwdawk 'NR==10{print}' passwd7.# 显示部分文本——指定行号范围(从第8至第12行,含8和12行)sed -n '8,12p'...

Verilog中的流水线MIPS处理器(第3部分)

...制单元旨在解决控制危险,当执行跳转指令时,它将丢弃IF和ID阶段的指令。附件文件中包括:转发单元的Verilog代码、多路复用器的Verilog代码、失速控制单元的Verilog代码、冲洗控制单元的Verilog代码、WB_Forward单位的Verilog代码、32...

8位比较器的VHDL代码

... Verilog projects, VHDL projects  process(clock)  begin  if(rising_edge(clock))then    if(AB = x"FF" and IAB = '0') then                  -- check whether A = B and IAB =0 or not  &nb...

卫星导航信号监测接收机仿真代码

... (chnlInst0[i]).TCAR.phs += (chnlInst0[i]).TCAR.fcw;   if ((chnlInst0[i]).TCAR.phs >= NCOTOTAL)    (chnlInst0[i]).TCAR.phs -= NCOTOTAL;   (chnlInst0[i]).TPRN.phs += (chnlInst0[i]).TPRN.fcw;   if ((chnlInst0[i]).TPRN.phs >= N...

AD0832设计的电压表32X16点阵显示

...;     uint dat=0;     uchar ndat=0;     if(channel==0)channel=2;     if(channel==1)channel=3;     ADDI=1;     _nop_();     _nop_();     ADCS=0;//拉低CS端     _nop_();     _nop_(); &nbs...

使用VHDL的矩阵乘法设计

...nbsp;     begin        if(rising_edge(Clock)) then        if(Reset='1') then        iCountEnableAB_d1 <= '0';        iCountEnableAB_d2 <= '0';&nbs...

MLNX ofed驱动安装

... /tmp/MLNX_OFED_LINUX-3.4-2.0.0.0-4.8.7/mlnx_ofed_iso.8834.log Checking if all needed packages are installed... Error: One or more required packages for installing OFED-internal are missing. Please install the missing packages using your Linux distribution Package Management tool. Run: ...

ds18b20

...号   dat>>=1;   DQ = 1; //给脉冲信号   if(DQ)   dat|=0x80;   delay_18B20(10); }   return(dat);   }   void ds1820wr(uchar wdata)/*写数据*/   {unsigned char i=0;     for (i=8; i>0; i--)    { DQ...

微信捐赠

微信扫一扫体验

立即
上传
返回
顶部