首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 控制模块(en_in,SW1,RST,RED1,RED2,yellow1,黄2,绿色快车,变绿再走)

控制模块(en_in,SW1,RST,RED1,RED2,yellow1,黄2,绿色快车,变绿再走)

  • 资源大小:225.48 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: Applications others

资 源 简 介

module control(EN_in,SW1,RST,Red1,Red2,Yellow1,Yellow2,Green1,Green2) output Red1 output Red2 output Yellow1 output Yellow2 output Green1 output Green2 input [1:0] EN_in input SW1 input RST reg Red1,Red2,Yellow1,Yellow2,Green1,Green2,D_out always @(EN_in,RST,SW1) begin if(SW1==0||RST==0) {Red1,Red2,Yellow1,Yellow2,Green1,Green2}=6 b0 else begin case(EN_in) 2 b00 : {Red1,Red2,Yellow1,Yellow2,Green1,Green2}=6 b010010 2 b01 : {Red1,Red2,Yellow1,Yellow2,Green1,Green2}=6 b011000 2 b10 : {Red1,Red2,Yellow1,Yellow2,Green1,Green2}=6 b100001 2 b11 : {Red1,Red2,Yellow1,Yellow2,Green1,Green2}=6 b100100 default : {Red1,Red2,Yellow1,Yellow2,Green1,Green2}=6 b0 endcase end end endmodule-module control(EN_in,SW1,RST,Red1,Red2,Yellow1,Yellow2,Green1,Green2) output Red1 output Red2 output Yellow1 output Yellow2 output Green1 output Green2 input [1:0]

文 件 列 表

file_id.diz
Install.txt
Keygen.zip
NiTROUS.nfo
VIP VIP
0.181751s