求大神指教这个程序的测试程序怎么写,在modelsim里面做仿真
quartus吧
全部回复
仅看楼主
level 1
module SimpleDDS(DAC_clk, DAC_data);
input DAC_clk;
output [9:0] DAC_data;
reg [15:0] cnt;
always@(posedge DAC_clk) cnt <= cnt + 16'h1;
assign DAC_data = cnt[10] ? ~cnt[9:0] : cnt[9:0];
endmodule
2016年05月16日 12点05分 1
1