所需E币: 3
时间: 2019-12-24 16:31
大小: 62.22KB
动态数码管显示/*----------------------------------------------------------Engineer:zhrscut--CreateDate:--ModuleName:--ToolVersions:Quartus_II9.1--欢迎加入EEPW,FPGA开发板DIY活动--------------------------------------------------------*/moduledyn_segled(clk,data,sel);inputclk;output[7:0]data;output[7:0]sel;reg[7:0]data;reg[7:0]sel;reg[22:0]cnt;reg[2:0]dyn_led;always@(posedgeclk)begincntdyn_ledend//-------------------------------------------------------------------------------/*;0,1,2,3,4,5,6,7,dbc0h,f9h,a4h,b0h,99h,92h,82h,f8h*/Parameterseg0=7'hc0,we0=8'b1111_1110,seg1=7'hf9,we1=8'b1111_1101,……