- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, can any1 help me how to write a verilog code for some signals like CLK, CKE, RESET.
Actually i have written the code but iam having some conflictions with that. Iam attaching my code here please check this and suggest me wer to modify according to the information which i have attached. Here a stable clock of 500 MHz is using
`timescale 1ns / 1ps
module DDR3_Rst(
clk,
Reset,
cke
);
input clk;
output Reset;
output cke;
reg Reset_i;
reg cke_i;
always@(clk)
begin
if(clk)
begin# 0 Reset_i <= 1'b0;# 44 cke_i <= 1'b1;
end
else
if(!clk)
begin# 200655 Reset_i <= 1'b1;
# 189985 cke_i <= 1'b0;# 310162 cke_i <= 1'b1;
end
end
assign Reset = Reset_i;
assign cke = cke_i;
endmodule
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page