MarkDown语法测试

厉害了我的哥

兴趣部落markdown语法测试

感觉还可以,插入一些代码试试

`module	Doby_test(
						input			wire			clk,
						input			wire			rst,
						
						output		wire[3:0]	led,
						output		wire			da_clk,
						output		wire[13:0]	da_data
						);
						


						reg[31:0]	cnt;
						always@(posedge	clk	or	negedge	rst)
							if(!rst)
								cnt<=32'd0;
							else	if(cnt==32'd49_999_99)
								cnt<=32'd0;
							else
								cnt<=cnt+1'b1;
								
						reg[3:0]	led_r;
						always@(posedge	clk	or	negedge	rst)
							if(!rst)
								led_r<=4'b0111;
							else	if(cnt==32'd49_999_99)
								led_r<={led_r[0],led_r[3:1]};
								
						wire	clk_10M;		
						pll	pll_inst (
							.inclk0 ( clk),
							.c0 ( clk_10M ),
							.c1(da_clk)
							);

						assign	led=led_r;
						wire[7:0]	addr;
						jishu	jishu_inst (
									.clock ( clk_10M),
									.q ( addr )
									);
						
						sin	sin_inst(
									.clock(clk_10M),
									.address(addr),
									.q(da_data)
									);

hahah

posted @ 2017-03-09 15:26  Yuxuan-Du  阅读(116)  评论(0编辑  收藏  举报