Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
Re: Everything need a reset?
- 07-02-2003

Re: Everything need a reset?

I change the code to
reg clkout;
wire GSR;
always@(posedge clkin)
begin
if(GSR == 1)
clkout <= 0;
else
clkout <= ~clkout;
end
thus in testbench I can give the clkout a initial value.
the simulation can work now.
but I still a little confuse about what you say:
the .GSR can "initializing all the register primitives to the power-on values."
how can it achieve this?
Do I miss someting important?
Site Timeline
- » Discrepancy in CLB Usage Report
- — Next thread in » Field-Programmable Gate Arrays
-
- » Re: defparam LUT_4
- — Previous thread in » Field-Programmable Gate Arrays
-
- » Division Algorithms
- — Newest thread in » Field-Programmable Gate Arrays
-
- » Telefon na wiele kilometrow.
- — The site's Newest Thread. Posted in » Electronics (Polish)
-