|
发表于 2014-11-16 17:03:09
|
显示全部楼层
回复 1# shuijinge
请问一下,大写转小写什么意思我的.v文件是
module test(clk,DIN,Q,QN,RST_N);
input clk,DIN,RST_N;
output Q,QN;
reg Q,QN;
always@(posedge clk or negedge RST_N)
if(!RST_N)
begin
Q<=0;
QN<=0;
end
else
begin
Q<=DIN;
QN<=Q;
end
endmodule
按大家说的方法之后,综合后的.net如下:
module test ( clk, DIN, Q, QN, RST_N );
input clk, DIN, RST_N;
output Q, QN;
HDR_DRNQ_1 Q_reg ( .D(DIN), .CK(clk), .RDN(RST_N), .Q(Q) );
HDR_DRNQ_1 QN_reg ( .D(Q), .CK(clk), .RDN(RST_N), .Q(QN) );
endmodule
还是没有变啊 |
|